30 #ifndef OGRE_TOOLS_AXES_H 31 #define OGRE_TOOLS_AXES_H 68 Axes( Ogre::SceneManager* manager, Ogre::SceneNode* parent_node =
NULL,
float length = 1.0
f,
float radius = 0.1
f );
77 void set(
float length,
float radius );
79 virtual void setOrientation(
const Ogre::Quaternion& orientation );
80 virtual void setPosition(
const Ogre::Vector3& position );
81 virtual void setScale(
const Ogre::Vector3& scale );
82 virtual void setColor(
float r,
float g,
float b,
float a );
83 virtual const Ogre::Vector3& getPosition();
84 virtual const Ogre::Quaternion& getOrientation();
95 void setUserData(
const Ogre::Any& data );
101 void setXColor(
const Ogre::ColourValue& col);
102 void setYColor(
const Ogre::ColourValue& col);
103 void setZColor(
const Ogre::ColourValue& col);
104 void setToDefaultColors();
105 static const Ogre::ColourValue& getDefaultXColor();
106 static const Ogre::ColourValue& getDefaultYColor();
107 static const Ogre::ColourValue& getDefaultZColor();
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.
TFSIMD_FORCE_INLINE Vector3()
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_
Axes & operator=(const Axes &other)
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_