24#include "AstCore/Object.hpp"
25#include "AstUtil/ObjectNamed.hpp"
35class KinematicRotation;
75 ~Axes()
override =
default;
101 Axes* getAncestor(
int depth)
const;
151 return getTransform(tp, rotation);
160 return getTransform(tp, rotation);
165using HAxes = SharedPtr<Axes>;
A_ALWAYS_INLINE errc_t getTransformFromParent(const TimePoint &tp, KinematicRotation &rotation) const
获取当前轴系相对于父轴系的运动学旋转变换
定义 Axes.hpp:158
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:130
A_ALWAYS_INLINE errc_t getTransformFrom(Axes *source, const TimePoint &tp, KinematicRotation &rotation) const
获取源轴系到当前轴系的运动学旋转变换
定义 Axes.hpp:140
A_ALWAYS_INLINE errc_t getTransformFromParent(const TimePoint &tp, Rotation &rotation) const
获取当前轴系相对于父轴系的旋转变换
定义 Axes.hpp:149
A_ALWAYS_INLINE errc_t getTransformTo(Axes *target, const TimePoint &tp, KinematicRotation &rotation) const
获取当前轴系到目标轴系的运动学旋转变换
定义 Axes.hpp:120
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:110
运动学坐标系旋转
定义 KinematicRotation.hpp:32
命名对象
定义 ObjectNamed.hpp:36
绝对时间点
定义 TimePoint.hpp:108
errc_t aAxesTransform(Axes *source, Axes *target, const TimePoint &tp, Rotation &rotation)
计算轴系之间的旋转变换。
定义 Axes.cpp:185