30 #ifndef RVIZ_AXES_DISPLAY_H 31 #define RVIZ_AXES_DISPLAY_H 40 class TfFrameProperty;
57 void set(
float length,
float radius );
60 virtual void update(
float dt,
float ros_dt);
void onInitialize()
Override this function to do subclass-specific initialization.
virtual void onEnable()
Derived classes override this to do the actual work of enabling themselves.
Property specialized to enforce floating point max/min.
virtual void onDisable()
Derived classes override this to do the actual work of disabling themselves.
void updateShape()
Update the length and radius of the axes object from property values.
virtual void update(float dt, float ros_dt)
Called periodically by the visualization manager.
FloatProperty * length_property_
TfFrameProperty * frame_property_
FloatProperty * radius_property_
An object that displays a set of X/Y/Z axes, with X=Red, Y=Green, Z=Blue.
Axes * axes_
Handles actually drawing the axes.
TFSIMD_FORCE_INLINE tfScalar length(const Quaternion &q)
Displays a set of XYZ axes at the origin of a chosen frame.