17 #ifndef _DYNAMICRENDERABLE_HH_
18 #define _DYNAMICRENDERABLE_HH_
62 public:
virtual Ogre::Real getBoundingRadius()
const;
68 public:
virtual Ogre::Real getSquaredViewDepth(
69 const Ogre::Camera *_cam)
const;
73 public: std::string GetMovableType()
const;
78 protected:
virtual void CreateVertexDeclaration() = 0;
93 protected:
void PrepareHardwareBuffers(
size_t _vertexCount,
102 protected:
virtual void FillHardwareBuffers() = 0;
size_t vertexBufferCapacity
Maximum capacity of the currently allocated vertex buffer.
Definition: DynamicRenderable.hh:105
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:206
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
size_t indexBufferCapacity
Maximum capacity of the currently allocated index buffer.
Definition: DynamicRenderable.hh:108