Abstract base class providing mechanisms for dynamically growing hardware buffers.  
 More...
#include <rendering/rendering.hh>
Inherits SimpleRenderable.
Inherited by DynamicLines.
Abstract base class providing mechanisms for dynamically growing hardware buffers. 
 
§ DynamicRenderable()
§ ~DynamicRenderable()
§ CreateVertexDeclaration()
  
  
      
        
          | virtual void CreateVertexDeclaration  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
Creates the vertex declaration. 
 
 
§ FillHardwareBuffers()
  
  
      
        
          | virtual void FillHardwareBuffers  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
Fills the hardware vertex and index buffers with data. 
 
 
§ getBoundingRadius()
  
  
      
        
          | virtual Ogre::Real getBoundingRadius  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Implementation of Ogre::SimpleRenderable. 
- Returns
 - The bounding radius 
 
 
 
§ GetMovableType()
      
        
          | std::string GetMovableType  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get type of movable. 
- Returns
 - This returns "gazebo::DynamicRenderable" 
 
 
 
§ GetOperationType()
Get the render operation type. 
- Returns
 - The render operation type. 
 
 
 
§ getSquaredViewDepth()
  
  
      
        
          | virtual Ogre::Real getSquaredViewDepth  | 
          ( | 
          const Ogre::Camera *  | 
          _cam | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Implementation of Ogre::SimpleRenderable. 
- Parameters
 - 
  
    | [in] | _cam | Pointer to the Ogre camera that views the renderable.  | 
  
   
- Returns
 - The squared depth in the Camera's view 
 
 
 
§ Init()
      
        
          | void Init  | 
          ( | 
          RenderOpType  | 
          _opType,  | 
        
        
           | 
           | 
          bool  | 
          _useIndices = false  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Initializes the dynamic renderable. 
- Parameters
 - 
  
    | [in] | _opType | The type of render operation to perform.  | 
    | [in] | _useIndices | Specifies whether to use indices to determine the vertices to use as input.  | 
  
   
 
 
§ PrepareHardwareBuffers()
  
  
      
        
          | void PrepareHardwareBuffers  | 
          ( | 
          size_t  | 
          _vertexCount,  | 
         
        
           | 
           | 
          size_t  | 
          _indexCount  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
Prepares the hardware buffers for the requested vertex and index counts. 
- The vertex and index count in the render operation are set to
 - the values of vertexCount and indexCount respectively. 
 
- Parameters
 - 
  
    | [in] | _vertexCount | The number of vertices the buffer must hold.  | 
    | [in] | _indexCount | The number of indices the buffer must hold. This parameter is ignored if not using indices.  | 
  
   
 
 
§ SetOperationType()
Set the render operation type. 
- Parameters
 - 
  
    | [in] | _opType | The type of render operation to perform.  | 
  
   
 
 
§ indexBufferCapacity
  
  
      
        
          | size_t indexBufferCapacity | 
         
       
   | 
  
protected   | 
  
 
Maximum capacity of the currently allocated index buffer. 
 
 
§ vertexBufferCapacity
  
  
      
        
          | size_t vertexBufferCapacity | 
         
       
   | 
  
protected   | 
  
 
Maximum capacity of the currently allocated vertex buffer. 
 
 
The documentation for this class was generated from the following file: