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"
29 #pragma warning(push, 0)
31 #include <OgreHlmsPso.h>
45 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
48 class Ogre2DynamicRenderablePrivate;
66 public:
void SetOperationType(
MarkerType _opType);
73 public:
void Update();
76 public: Ogre::MovableObject *
OgreObject()
const;
81 public:
void AddPoint(
const gz::math::Vector3d &_pt,
82 const gz::math::Color &_color = gz::math::Color::White);
89 public:
void AddPoint(
const double _x,
const double _y,
const double _z,
90 const gz::math::Color &_color = gz::math::Color::White);
95 public:
void SetPoint(
unsigned int _index,
96 const gz::math::Vector3d &_value);
101 public:
void SetColor(
unsigned int _index,
102 const gz::math::Color &_color);
110 public: gz::math::Vector3d Point(
unsigned int _index)
const;
114 public:
unsigned int PointCount()
const;
117 public:
void Clear();
120 public:
void Destroy();
125 public:
void SetMaterial(
MaterialPtr _material,
bool _unique =
true);
128 private:
void CreateDynamicMesh();
131 private:
void UpdateBuffer();
137 private:
void GenerateNormals(Ogre::OperationType _opType,
141 private:
void DestroyBuffer();
Definition: gz/rendering/ogre/OgreCamera.hh:27
Dynamic renderable class that manages hardware buffers for a dynamic geometry.
Definition: gz/rendering/ogre2/Ogre2DynamicRenderable.hh:55
Definition: gz/rendering/ogre/OgreObject.hh:32
MarkerType
Enum for marker types.
Definition: gz/rendering/Marker.hh:35