🛰️航天仿真算法库 SpaceAST 0.3.1
载入中...
搜索中...
未找到
FrameProxy.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "Frame.hpp"
25
26AST_NAMESPACE_BEGIN
27
35class AST_CORE_API FrameProxy final: public Frame
36{
37public:
38 FrameProxy() = default;
39 FrameProxy(Frame* frame):impl_(frame){}
40 ~FrameProxy() override = default;
41
42public:
43 void setImpl(Frame* impl){impl_ = impl;}
44 Frame* impl() const {return impl_.get();}
45public:
46 std::string getRepresentation() const override;
47 Frame* getParent() const override;
48 errc_t getTransform(const TimePoint& tp, Transform& transform) const override;
49 errc_t getTransform(const TimePoint& tp, KinematicTransform& transform) const override;
50 errc_t getTransform(const TimePoint& tp, AccelerationTransform& transform) const override;
51 Axes* getAxes() const override;
52 Point* getOrigin() const override;
53private:
54 WeakPtr<Frame> impl_{};
55};
56
57
58
59
62AST_NAMESPACE_END
加速度(二阶运动学)坐标系变换
定义 AccelerationTransform.hpp:55
轴系抽象基类
定义 Axes.hpp:86
坐标系代理类
定义 FrameProxy.hpp:36
坐标系抽象基类
定义 Frame.hpp:74
virtual errc_t getTransform(const TimePoint &tp, Transform &transform) const
获取当前坐标系相对于父坐标系的变换
定义 Frame.cpp:81
std::string getRepresentation() const override
获取当前坐标系的路径表示
定义 Frame.cpp:33
virtual Frame * getParent() const
获取当前坐标系的父坐标系
定义 Frame.cpp:74
virtual Point * getOrigin() const =0
获取当前坐标系的原点
virtual Axes * getAxes() const =0
获取当前坐标系的轴系
运动学变换
定义 KinematicTransform.hpp:49
点抽象基类
定义 Point.hpp:42
绝对时间点
定义 TimePoint.hpp:108
坐标系转换类
定义 Transform.hpp:40
弱引用指针
定义 WeakPtr.hpp:35