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(
double _x,
double _y,
double _z,
77 public:
void SetPoint(
unsigned int _index,
const math::Vector3 &_value);
82 public:
void SetColor(
unsigned int _index,
const common::Color &_color);
87 public:
const math::Vector3& GetPoint(
unsigned int _index)
const;
91 public:
unsigned int GetPointCount()
const;
97 public:
void Update();
101 private:
virtual void CreateVertexDeclaration();
105 private:
virtual void FillHardwareBuffers();
108 private: std::vector<math::Vector3> points;
114 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:42
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
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:172
A strip of connected lines, 1 vertex per line plus 1 start vertex.
Definition: RenderTypes.hh:182
Defines a color.
Definition: Color.hh:39
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48