Go to the documentation of this file.
30 #ifndef OGRE_TOOLS_AXES_H
31 #define OGRE_TOOLS_AXES_H
34 #include <rviz/rviz_export.h>
41 #include <OgrePrerequisites.h>
42 #include <OgreColourValue.h>
69 Axes(Ogre::SceneManager* manager,
70 Ogre::SceneNode* parent_node =
nullptr,
83 void set(
float length,
float radius,
float alpha = 1.0
f);
85 void setOrientation(
const Ogre::Quaternion& orientation)
override;
86 void setPosition(
const Ogre::Vector3& position)
override;
87 void setScale(
const Ogre::Vector3& scale)
override;
88 void setColor(
float r,
float g,
float b,
float a)
override;
89 const Ogre::Vector3& getPosition()
override;
90 const Ogre::Quaternion& getOrientation()
override;
104 void setUserData(
const Ogre::Any& data)
override;
119 void setXColor(
const Ogre::ColourValue& col);
120 void setYColor(
const Ogre::ColourValue& col);
121 void setZColor(
const Ogre::ColourValue& col);
122 void updateAlpha(
float alpha);
123 void setToDefaultColors();
124 const Ogre::ColourValue& getDefaultXColor();
125 const Ogre::ColourValue& getDefaultYColor();
126 const Ogre::ColourValue& getDefaultZColor();
132 Axes& operator=(
const Axes&) =
delete;
Ogre::SceneNode * getSceneNode()
Get the scene node associated with this object.
Shape * y_axis_
Cylinder for the Y-axis.
Shape * x_axis_
Cylinder for the X-axis.
Shape * z_axis_
Cylinder for the Z-axis.
Ogre::ColourValue default_z_color_
Ogre::ColourValue default_y_color_
An object that displays a set of X/Y/Z axes, with X=Red, Y=Green, Z=Blue.
Ogre::ColourValue default_x_color_
ROSCPP_DECL void set(const std::string &key, bool b)
TFSIMD_FORCE_INLINE tfScalar length(const Quaternion &q)
Base class for visible objects, providing a minimal generic interface.
Ogre::SceneNode * scene_node_
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Aug 2 2024 08:43:09