Go to the documentation of this file.
30 #ifndef OGRE_TOOLS_BILLBOARD_LINE_H
31 #define OGRE_TOOLS_BILLBOARD_LINE_H
39 #include <OgreColourValue.h>
40 #include <OgreMaterial.h>
41 #include <OgreSharedPtr.h>
67 BillboardLine(Ogre::SceneManager* manager, Ogre::SceneNode* parent_node =
nullptr);
72 void addPoint(
const Ogre::Vector3& point);
73 void addPoint(
const Ogre::Vector3& point,
const Ogre::ColourValue& color);
82 void setPosition(
const Ogre::Vector3& position)
override;
83 void setScale(
const Ogre::Vector3& scale)
override;
84 void setColor(
float r,
float g,
float b,
float a)
override;
115 typedef std::vector<Ogre::BillboardChain*>
V_Chain;
Ogre::SceneNode * getSceneNode()
Get the scene node associated with this object.
An object that displays a multi-segment line strip rendered as billboards.
void setScale(const Ogre::Vector3 &scale) override
Set the scale of the object. Always relative to the identity orientation of the object.
void setLineWidth(float width)
std::vector< uint32_t > V_uint32
void setPosition(const Ogre::Vector3 &position) override
Set the position of this object.
uint32_t elements_in_current_chain_
void setOrientation(const Ogre::Quaternion &orientation) override
Set the orientation of the object.
Ogre::SceneNode * scene_node_
void setMaxPointsPerLine(uint32_t max)
const Ogre::Vector3 & getPosition() override
Get the local position of this object.
BillboardLine(Ogre::SceneManager *manager, Ogre::SceneNode *parent_node=nullptr)
Constructor.
uint32_t max_points_per_line_
Ogre::MaterialPtr getMaterial()
uint32_t lines_per_chain_
void setUserData(const Ogre::Any &) override
We have no objects that we can set user data on.
Ogre::MaterialPtr material_
Ogre::BillboardChain * createChain()
void setNumLines(uint32_t num)
const Ogre::Quaternion & getOrientation() override
Get the local orientation of this object.
std::vector< Ogre::BillboardChain * > V_Chain
Base class for visible objects, providing a minimal generic interface.
~BillboardLine() override
void setColor(float r, float g, float b, float a) override
Set the color of the object. Values are in the range [0, 1].
void addPoint(const Ogre::Vector3 &point)
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Aug 2 2024 08:43:09