🛰️航天仿真算法库 SpaceAST
0.3.1
载入中...
搜索中...
未找到
Sensor.hpp
浏览该文件的文档.
1
19
20
#pragma once
21
22
#include "AstGlobal.h"
23
#include "AstUtil/Object.hpp"
24
#include "AstUtil/StringView.hpp"
25
#include "AstCore/Point.hpp"
26
#include "AstCore/FieldOfView.hpp"
27
#include "AstSim/Platform.hpp"
28
#include <memory>
29
30
AST_NAMESPACE_BEGIN
31
38
class
AST_SIM_API
Sensor
:
public
Platform
39
{
40
public
:
41
AST_OBJECT(
Sensor
)
42
Sensor
();
43
~Sensor
()
override
=
default
;
44
public
:
47
void
setFieldOfView(
FieldOfView
* fov);
48
51
FieldOfView
*
getFieldOfView
()
const
{
return
fov_; }
52
FieldOfView
* fieldOfView()
const
{
return
fov_; }
53
54
private
:
55
SharedPtr<FieldOfView> fov_{};
56
};
57
60
AST_NAMESPACE_END
ast::FieldOfView
视场基类
定义
FieldOfView.hpp:43
ast::Platform
通用平台类,用于表示空间中的平台对象,例如卫星、飞机、地面站等,具有位置、姿态两个属性
定义
Platform.hpp:40
ast::Sensor
传感器对象
定义
Sensor.hpp:39
ast::Sensor::getFieldOfView
FieldOfView * getFieldOfView() const
获取传感器视场
定义
Sensor.hpp:51
src
AstSim
Object
Entity
Sensor.hpp
制作者
1.12.0