24#include "AstCore/Object.hpp"
34class KinematicRotation;
71 ~Axes()
override =
default;
96 Axes* getAncestor(
int depth)
const;
146 return getTransform(tp, rotation);
155 return getTransform(tp, rotation);
160using HAxes = SharedPtr<Axes>;
A_ALWAYS_INLINE errc_t getTransformFromParent(const TimePoint &tp, KinematicRotation &rotation) const
获取当前轴系相对于父轴系的运动学旋转信息。
定义 Axes.hpp:153
virtual errc_t getTransform(const TimePoint &tp, KinematicRotation &rotation) const =0
获取当前轴系相对于父轴系的运动学旋转信息
virtual Axes * getParent() const =0
获取当前轴系的父轴系
A_ALWAYS_INLINE errc_t getTransformFrom(Axes *source, const TimePoint &tp, Rotation &rotation) const
获取源轴系到当前轴系的旋转变换。
定义 Axes.hpp:125
A_ALWAYS_INLINE errc_t getTransformFrom(Axes *source, const TimePoint &tp, KinematicRotation &rotation) const
获取源轴系到当前轴系的运动学旋转变换。
定义 Axes.hpp:135
A_ALWAYS_INLINE errc_t getTransformFromParent(const TimePoint &tp, Rotation &rotation) const
获取当前轴系相对于父轴系的旋转信息。
定义 Axes.hpp:144
A_ALWAYS_INLINE errc_t getTransformTo(Axes *target, const TimePoint &tp, KinematicRotation &rotation) const
获取当前轴系到目标轴系的运动学旋转变换。
定义 Axes.hpp:115
virtual errc_t getTransform(const TimePoint &tp, Rotation &rotation) const =0
获取当前轴系相对于父轴系的旋转信息
A_ALWAYS_INLINE errc_t getTransformTo(Axes *target, const TimePoint &tp, Rotation &rotation) const
获取当前轴系到目标轴系的旋转变换
定义 Axes.hpp:105
运动学坐标系旋转
定义 KinematicRotation.hpp:32
对象基类,继承自该类的对象可以使用运行时类型信息相关功能,实现强弱引用计数、运行时元信息(属性访问、序列化等)等基础功能
定义 Object.hpp:81
绝对时间点
定义 TimePoint.hpp:106
errc_t aAxesTransform(Axes *source, Axes *target, const TimePoint &tp, Rotation &rotation)
计算轴系之间的旋转变换。
定义 Axes.cpp:185