#include <GeometryBlock.h>
 | 
|   | GeometryBlock (VClouds *vc, const float &Height, const Ogre::Radian &Alpha, const Ogre::Radian &Beta, const float &Radius, const Ogre::Radian &Phi, const int &Na, const int &Nb, const int &Nc, const int &A, const int &B, const int &C, const int &Position) | 
|   | Constructor.  More...
  | 
|   | 
|   | ~GeometryBlock () | 
|   | Destructor.  More...
  | 
|   | 
| void  | create () | 
|   | Create.  More...
  | 
|   | 
| Ogre::Entity *  | getEntity () | 
|   | Get entity.  More...
  | 
|   | 
| Ogre::HardwareIndexBufferSharedPtr &  | getHardwareIndexBuffer () | 
|   | Get hardware index buffer reference.  More...
  | 
|   | 
| Ogre::HardwareVertexBufferSharedPtr &  | getHardwareVertexBuffer () | 
|   | Get hardware vertex buffer reference.  More...
  | 
|   | 
| Ogre::MeshPtr  | getMesh () | 
|   | Get mesh.  More...
  | 
|   | 
| Ogre::SubMesh *  | getSubMesh () | 
|   | Get sub mesh.  More...
  | 
|   | 
| const bool &  | isCreated () const  | 
|   | Has been create() already called?  More...
  | 
|   | 
| bool  | isInFrustum (Ogre::Camera *c) const  | 
|   | Is the geometry block inside the camera frustum?  More...
  | 
|   | 
| void  | remove () | 
|   | Remove.  More...
  | 
|   | 
| void  | setWorldOffset (const Ogre::Vector2 &WorldOffset) | 
|   | Set world offset.  More...
  | 
|   | 
| void  | updateGeometry (Ogre::Camera *c, const Ogre::Vector3 &displacement) | 
|   | Update geometry.  More...
  | 
|   | 
      
        
          | SkyX::VClouds::GeometryBlock::GeometryBlock  | 
          ( | 
          VClouds *  | 
          vc,  | 
        
        
           | 
           | 
          const float &  | 
          Height,  | 
        
        
           | 
           | 
          const Ogre::Radian &  | 
          Alpha,  | 
        
        
           | 
           | 
          const Ogre::Radian &  | 
          Beta,  | 
        
        
           | 
           | 
          const float &  | 
          Radius,  | 
        
        
           | 
           | 
          const Ogre::Radian &  | 
          Phi,  | 
        
        
           | 
           | 
          const int &  | 
          Na,  | 
        
        
           | 
           | 
          const int &  | 
          Nb,  | 
        
        
           | 
           | 
          const int &  | 
          Nc,  | 
        
        
           | 
           | 
          const int &  | 
          A,  | 
        
        
           | 
           | 
          const int &  | 
          B,  | 
        
        
           | 
           | 
          const int &  | 
          C,  | 
        
        
           | 
           | 
          const int &  | 
          Position  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | vc | VClouds pointer  | 
    | Height | Field height (in woorld coordinates)  | 
    | Alpha | Alpha angle  | 
    | Beta | Beta angle  | 
    | Radius | Total radius  | 
    | Phi | Actimutal angle  | 
    | Na | Number of slices in A zone  | 
    | Nb | Number of slices in B zone  | 
    | Nc | Number of slices in C zone  | 
    | A | A radius  | 
    | B | B radius  | 
    | C | C radius  | 
  
   
 
 
      
        
          | SkyX::VClouds::GeometryBlock::~GeometryBlock  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void SkyX::VClouds::GeometryBlock::create  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | Ogre::Entity* SkyX::VClouds::GeometryBlock::getEntity  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get entity. 
- Returns
 - Entity 
 
 
 
  
  
      
        
          | Ogre::HardwareIndexBufferSharedPtr& SkyX::VClouds::GeometryBlock::getHardwareIndexBuffer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get hardware index buffer reference. 
- Returns
 - Ogre::HardwareIndexBufferSharedPtr reference 
 
 
 
  
  
      
        
          | Ogre::HardwareVertexBufferSharedPtr& SkyX::VClouds::GeometryBlock::getHardwareVertexBuffer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get hardware vertex buffer reference. 
- Returns
 - Ogre::HardwareVertexBufferSharedPtr reference 
 
 
 
  
  
      
        
          | Ogre::MeshPtr SkyX::VClouds::GeometryBlock::getMesh  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | Ogre::SubMesh* SkyX::VClouds::GeometryBlock::getSubMesh  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get sub mesh. 
- Returns
 - Sub mesh 
 
 
 
  
  
      
        
          | const bool& SkyX::VClouds::GeometryBlock::isCreated  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Has been create() already called? 
- Returns
 - true if created() have been already called, false if not 
 
References SkyX::mCreated.
 
 
      
        
          | bool SkyX::VClouds::GeometryBlock::isInFrustum  | 
          ( | 
          Ogre::Camera *  | 
          c | ) | 
           const | 
        
      
 
Is the geometry block inside the camera frustum? 
- Parameters
 - 
  
  
 
- Returns
 - true if yes, false if not 
 
 
 
      
        
          | void SkyX::VClouds::GeometryBlock::remove  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | void SkyX::VClouds::GeometryBlock::setWorldOffset  | 
          ( | 
          const Ogre::Vector2 &  | 
          WorldOffset | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set world offset. 
- Parameters
 - 
  
  
 
 
 
      
        
          | void SkyX::VClouds::GeometryBlock::updateGeometry  | 
          ( | 
          Ogre::Camera *  | 
          c,  | 
        
        
           | 
           | 
          const Ogre::Vector3 &  | 
          displacement  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Update geometry. 
- Parameters
 - 
  
    | c | Camera  | 
    | displacement | Current offset in world units per zone  | 
  
   
 
 
The documentation for this class was generated from the following file: