Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE_OGREDYNAMICLINES_HH_
18 #define GZ_RENDERING_OGRE_OGREDYNAMICLINES_HH_
23 #include <gz/math/Color.hh>
25 #include "gz/rendering/ogre/Export.hh"
33 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
35 class OgreDynamicLinesPrivate;
55 public:
void AddPoint(
const gz::math::Vector3d &_pt,
56 const gz::math::Color &_color = gz::math::Color::White);
63 public:
void AddPoint(
const double _x,
const double _y,
const double _z,
64 const gz::math::Color &_color = gz::math::Color::White);
69 public:
void SetPoint(
unsigned int _index,
70 const gz::math::Vector3d &_value);
76 public:
void SetColor(
unsigned int _index,
77 const gz::math::Color &_color);
85 public: gz::math::Vector3d Point(
unsigned int _index)
const;
89 public:
unsigned int PointCount()
const;
95 public:
void Update();
99 private:
virtual void CreateVertexDeclaration();
103 private:
virtual void FillHardwareBuffers();
@ MT_LINE_STRIP
Line strip primitive.
Definition: gz/rendering/Marker.hh:47
Class for drawing lines that can change.
Definition: gz/rendering/ogre/OgreDynamicLines.hh:41
Abstract base class providing mechanisms for dynamically growing hardware buffers.
Definition: gz/rendering/ogre/OgreDynamicRenderable.hh:36
MarkerType
Enum for marker types.
Definition: gz/rendering/Marker.hh:35