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