Go to the documentation of this file.
33 #include <OgreSceneManager.h>
34 #include <OgreSceneNode.h>
36 #include <OgreQuaternion.h>
43 Ogre::SceneNode* parent_node,
48 , default_x_color_(1, 0, 0, alpha)
49 , default_y_color_(0, 1, 0, alpha)
50 , default_z_color_(0, 0, 1, alpha)
76 void Axes::set(
float length,
float radius,
float alpha)
const Ogre::ColourValue & getDefaultYColor()
const Ogre::ColourValue & getDefaultZColor()
void setColor(float r, float g, float b, float a) override
Set the color of the object. Values are in the range [0, 1].
Shape * y_axis_
Cylinder for the Y-axis.
void setScale(const Ogre::Vector3 &scale) override
Set the scale of the object. Always relative to the identity orientation of the object.
const Ogre::Quaternion & getOrientation() override
Get the local orientation of this object.
void setUserData(const Ogre::Any &data) override
Sets user data on all ogre objects we own.
void setXColor(const Ogre::ColourValue &col)
Ogre::SceneManager * scene_manager_
Ogre scene manager this object is part of.
Shape * x_axis_
Cylinder for the X-axis.
Axes(Ogre::SceneManager *manager, Ogre::SceneNode *parent_node=nullptr, float length=1.0f, float radius=0.1f, float alpha=1.0f)
Constructor.
void setZColor(const Ogre::ColourValue &col)
void updateAlpha(float alpha)
const Ogre::ColourValue & getDefaultXColor()
Shape * z_axis_
Cylinder for the Z-axis.
void setYColor(const Ogre::ColourValue &col)
Ogre::ColourValue default_z_color_
Ogre::ColourValue default_y_color_
Ogre::ColourValue default_x_color_
void setUserData(const Ogre::Any &data) override
Sets user data on all ogre objects we own.
void setToDefaultColors()
TFSIMD_FORCE_INLINE tfScalar length(const Quaternion &q)
void setColor(float r, float g, float b, float a) override
Set the color of the object. Values are in the range [0, 1].
const Ogre::Vector3 & getPosition() override
Get the local position of this object.
void set(float length, float radius, float alpha=1.0f)
Set the parameters on this object.
Base class for visible objects, providing a minimal generic interface.
void setPosition(const Ogre::Vector3 &position) override
Set the position of this object.
void setScale(const Ogre::Vector3 &scale) override
Set the scale of the object. Always relative to the identity orientation of the object.
void setOrientation(const Ogre::Quaternion &orientation) override
Set the orientation of the object.
void setPosition(const Ogre::Vector3 &position) override
Set the position of this object.
void setOrientation(const Ogre::Quaternion &orientation) override
Set the orientation of the object.
Ogre::SceneNode * scene_node_
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:02