22 #ifndef DYNAMICLINES_HH 23 #define DYNAMICLINES_HH 54 public:
static std::string GetMovableType();
58 public:
virtual const Ogre::String &getMovableType()
const;
71 public:
void AddPoint(
const ignition::math::Vector3d &_pt,
79 public:
void AddPoint(
double _x,
double _y,
double _z,
86 public:
void SetPoint(
unsigned int _index,
const math::Vector3 &_value)
92 public:
void SetPoint(
const unsigned int _index,
93 const ignition::math::Vector3d &_value);
98 public:
void SetColor(
unsigned int _index,
const common::Color &_color);
115 public: ignition::math::Vector3d Point(
const unsigned int _index)
const;
119 public:
unsigned int GetPointCount()
const;
122 public:
void Clear();
125 public:
void Update();
129 private:
virtual void CreateVertexDeclaration();
133 private:
virtual void FillHardwareBuffers();
136 private: std::vector<ignition::math::Vector3d> points;
142 private: std::vector<common::Color> colors;
Class for drawing lines that can change.
Definition: DynamicLines.hh:43
static const Color White
(1, 1, 1)
Definition: Color.hh:39
Forward declarations for the common classes.
Definition: Animation.hh:33
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:48
Abstract base class providing mechanisms for dynamically growing hardware buffers.
Definition: DynamicRenderable.hh:35
RenderOpType
Type of render operation for a drawable.
Definition: RenderTypes.hh:206
A strip of connected lines, 1 vertex per line plus 1 start vertex.
Definition: RenderTypes.hh:216
Defines a color.
Definition: Color.hh:36