All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
SkyX::VClouds::GeometryManager Class Reference

#include <GeometryManager.h>

Public Member Functions

 GeometryManager (VClouds *vc)
 Constructor. More...
 
 ~GeometryManager ()
 Destructor. More...
 
void _setMaterialName (const Ogre::String &mn)
 Set material name. More...
 
void _updateRenderQueueGroup (const Ogre::uint8 &rqg)
 Update render queue group. More...
 
void create (const Ogre::Vector2 &Height, const float &Radius, const Ogre::Radian &Alpha, const Ogre::Radian &Beta, const int &NumberOfBlocks, const int &Na, const int &Nb, const int &Nc)
 Create. More...
 
Ogre::SceneNode * getSceneNode ()
 Get scene node. More...
 
const bool & isCreated () const
 Has been create() already called? More...
 
void remove ()
 Remove. More...
 
void update (const Ogre::Real &timeSinceLastFrame)
 Update, to be invoked per frame. More...
 
void updateGeometry (Ogre::Camera *c, const Ogre::Real &timeSinceLastCameraFrame)
 Update geoemtry. More...
 

Constructor & Destructor Documentation

SkyX::VClouds::GeometryManager::GeometryManager ( VClouds vc)

Constructor.

Parameters
vcVClouds pointer
SkyX::VClouds::GeometryManager::~GeometryManager ( )

Destructor.

Member Function Documentation

void SkyX::VClouds::GeometryManager::_setMaterialName ( const Ogre::String &  mn)

Set material name.

Parameters
mnMaterial name
Remarks
Only for internal use
void SkyX::VClouds::GeometryManager::_updateRenderQueueGroup ( const Ogre::uint8 &  rqg)

Update render queue group.

Parameters
rqgRender queue group
Remarks
Only for internal use. Use VClouds::setRenderQueueGroups(...) instead.
void SkyX::VClouds::GeometryManager::create ( const Ogre::Vector2 &  Height,
const float &  Radius,
const Ogre::Radian &  Alpha,
const Ogre::Radian &  Beta,
const int &  NumberOfBlocks,
const int &  Na,
const int &  Nb,
const int &  Nc 
)

Create.

Parameters
Heightx = Field altitude, y: Field height (both in world coordinates)
RadiusRadius
AlphaAlpha angle
BetaBeta angle
NumberOfBlocksNumber of geometry blocks
NaNumber of slices in A zone
NbNumber of slices in B zone
NcNumber of slices in C zone
Ogre::SceneNode* SkyX::VClouds::GeometryManager::getSceneNode ( )
inline

Get scene node.

Returns
Scene node
const bool& SkyX::VClouds::GeometryManager::isCreated ( ) const
inline

Has been create() already called?

Returns
true if created() have been already called, false if not

References SkyX::mCreated.

void SkyX::VClouds::GeometryManager::remove ( )

Remove.

void SkyX::VClouds::GeometryManager::update ( const Ogre::Real &  timeSinceLastFrame)

Update, to be invoked per frame.

Parameters
timeSinceLastFrameTime since last frame
void SkyX::VClouds::GeometryManager::updateGeometry ( Ogre::Camera *  c,
const Ogre::Real &  timeSinceLastCameraFrame 
)

Update geoemtry.

Parameters
cCamera
timeSinceLastCameraFrameTime since last CAMERA frame

The documentation for this class was generated from the following file: