Go to the documentation of this file.
17 #ifndef IGNITION_RENDERING_OGRE2_OGRE2DYNAMICRENDERABLE_HH_
18 #define IGNITION_RENDERING_OGRE2_OGRE2DYNAMICRENDERABLE_HH_
24 #include "ignition/rendering/ogre2/Export.hh"
33 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
36 class Ogre2DynamicRenderablePrivate;
54 public:
void SetOperationType(
MarkerType _opType);
61 public:
void Update();
64 public: Ogre::MovableObject *
OgreObject()
const;
77 public:
void AddPoint(
const double _x,
const double _y,
const double _z,
83 public:
void SetPoint(
unsigned int _index,
89 public:
void SetColor(
unsigned int _index,
102 public:
unsigned int PointCount()
const;
105 public:
void Clear();
108 public:
void Destroy();
113 public:
void SetMaterial(
MaterialPtr _material,
bool _unique =
true);
116 private:
void CreateDynamicMesh();
119 private:
void UpdateBuffer();
125 private:
void GenerateNormals(Ogre::OperationType _opType,
129 private:
void DestroyBuffer();
Dynamic renderable class that manages hardware buffers for a dynamic geometry.
Definition: Ogre2DynamicRenderable.hh:43
Definition: OgreObject.hh:32
MarkerType
Enum for marker types.
Definition: Marker.hh:35