Go to the documentation of this file.
35 #include <OgreSceneNode.h>
36 #include <OgreMaterial.h>
37 #include <OgreSharedPtr.h>
56 Line(Ogre::SceneManager* manager, Ogre::SceneNode* parent_node =
nullptr);
73 void setPosition(
const Ogre::Vector3& position)
override;
85 void setScale(
const Ogre::Vector3& scale)
override;
93 void setColor(
float r,
float g,
float b,
float a)
override;
100 virtual void setColor(
const Ogre::ColourValue& c);
void setPoints(Ogre::Vector3 start, Ogre::Vector3 end)
Set the start and end point of the line.
void setUserData(const Ogre::Any &data) override
Set the user data on this object.
Line(Ogre::SceneManager *manager, Ogre::SceneNode *parent_node=nullptr)
Constructor.
void setVisible(bool visible)
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 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::Quaternion & getOrientation() override
Get the local orientation of this object.
Ogre::ManualObject * manual_object_
Ogre::MaterialPtr manual_object_material_
const Ogre::Vector3 & getPosition() override
Get the local 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.
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 Dec 13 2024 03:31:02