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;