Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE2_OGRE2DYNAMICRENDERABLE_HH_
18 #define GZ_RENDERING_OGRE2_OGRE2DYNAMICRENDERABLE_HH_
24 #include "gz/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;
69 public:
void AddPoint(
const gz::math::Vector3d &_pt,
70 const gz::math::Color &_color = gz::math::Color::White);
77 public:
void AddPoint(
const double _x,
const double _y,
const double _z,
78 const gz::math::Color &_color = gz::math::Color::White);
83 public:
void SetPoint(
unsigned int _index,
84 const gz::math::Vector3d &_value);
89 public:
void SetColor(
unsigned int _index,
90 const gz::math::Color &_color);
98 public: gz::math::Vector3d Point(
unsigned int _index)
const;
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: gz/rendering/ogre2/Ogre2DynamicRenderable.hh:43
Definition: gz/rendering/ogre/OgreObject.hh:32
MarkerType
Enum for marker types.
Definition: gz/rendering/Marker.hh:35