gz/rendering/ogre2/Ogre2DynamicRenderable.hh
Go to the documentation of this file.
Dynamic renderable class that manages hardware buffers for a dynamic geometry.
Definition: gz/rendering/ogre2/Ogre2DynamicRenderable.hh:56
virtual ~Ogre2DynamicRenderable()
Virtual destructor.
void AddPoint(const double _x, const double _y, const double _z, const gz::math::Color &_color=gz::math::Color::White)
Add a point to the point list.
MarkerType OperationType() const
Get the render operation type.
gz::math::Vector3d Point(unsigned int _index) const
Return the position of an existing point in the point list.
void Clear()
Remove all points from the point list.
Ogre2DynamicRenderable(ScenePtr _scene)
Constructor.
void SetColor(unsigned int _index, const gz::math::Color &_color)
Change the color of an existing point in the point list.
void SetOperationType(MarkerType _opType)
Set the render operation type.
Ogre::MovableObject * OgreObject() const
Get the ogre object associated with this dynamic renderable.
unsigned int PointCount() const
Return the total number of points in the point list.
void AddPoint(const gz::math::Vector3d &_pt, const gz::math::Color &_color=gz::math::Color::White)
Add a point to the point list.
void SetPoint(unsigned int _index, const gz::math::Vector3d &_value)
Change the location of an existing point in the point list.
void SetMaterial(MaterialPtr _material, bool _unique=true)
Set the material for this dynamic renderable.
Definition: gz/rendering/ogre/OgreCamera.hh:28
MarkerType
Enum for marker types.
Definition: gz/rendering/Marker.hh:36