30 #ifndef OGRE_TOOLS_AXES_H 31 #define OGRE_TOOLS_AXES_H 34 #include "rviz/rviz_export.h" 70 Axes(Ogre::SceneManager* manager,
71 Ogre::SceneNode* parent_node =
nullptr,
82 void set(
float length,
float radius);
84 void setOrientation(
const Ogre::Quaternion& orientation)
override;
85 void setPosition(
const Ogre::Vector3& position)
override;
86 void setScale(
const Ogre::Vector3& scale)
override;
87 void setColor(
float r,
float g,
float b,
float a)
override;
88 const Ogre::Vector3& getPosition()
override;
89 const Ogre::Quaternion& getOrientation()
override;
103 void setUserData(
const Ogre::Any& data)
override;
118 void setXColor(
const Ogre::ColourValue& col);
119 void setYColor(
const Ogre::ColourValue& col);
120 void setZColor(
const Ogre::ColourValue& col);
121 void setToDefaultColors();
122 static const Ogre::ColourValue& getDefaultXColor();
123 static const Ogre::ColourValue& getDefaultYColor();
124 static const Ogre::ColourValue& getDefaultZColor();
129 Axes& operator=(
const Axes&) =
delete;
Ogre::SceneNode * scene_node_
Shape * y_axis_
Cylinder for the Y-axis.
Base class for visible objects, providing a minimal generic interface.
Shape * x_axis_
Cylinder for the X-axis.
An object that displays a set of X/Y/Z axes, with X=Red, Y=Green, Z=Blue.
static const Ogre::ColourValue default_z_color_
Shape * z_axis_
Cylinder for the Z-axis.
TFSIMD_FORCE_INLINE tfScalar length(const Quaternion &q)
Ogre::SceneNode * getSceneNode()
Get the scene node associated with this object.
static const Ogre::ColourValue default_y_color_
static const Ogre::ColourValue default_x_color_