PagedGeometry  1.2.0
Forests::WindBatchedGeometry Class Reference

A variation of BatchedGeometry designed for WindBatchPage. More...

#include <WindBatchedGeometry.h>

Inheritance diagram for Forests::WindBatchedGeometry:

Classes

class  WindSubBatch
 Wind chunck of Renderable geometry. More...
 

Public Member Functions

 WindBatchedGeometry (Ogre::SceneManager *mgr, Ogre::SceneNode *rootSceneNode, const PagedGeometry *pagedGeom)
 
void addEntity (Ogre::Entity *ent, const Ogre::Vector3 &position, const Ogre::Quaternion &orientation=Ogre::Quaternion::IDENTITY, const Ogre::Vector3 &scale=Ogre::Vector3::UNIT_SCALE, const Ogre::ColourValue &color=Ogre::ColourValue::White)
 
void setGeom (const PagedGeometry *geom)
 
- Public Member Functions inherited from Forests::BatchedGeometry
 BatchedGeometry (Ogre::SceneManager *mgr, Ogre::SceneNode *rootSceneNode)
 Constructor.
 
TConstSubBatchIterator getSubBatchIterator () const
 
TSubBatchIterator getSubBatchIterator ()
 
void build ()
 
void clear ()
 
Ogre::Vector3 _convertToLocal (const Ogre::Vector3 &globalVec) const
 
const Ogre::AxisAlignedBoxgetBoundingBox (void) const
 
Ogre::Real getBoundingRadius (void) const
 
- Public Member Functions inherited from Ogre::MovableObject
 MovableObject (const String &name)
 
MovableObjectFactory_getCreator (void) const
 
LightList_getLightList ()
 
SceneManager_getManager (void) const
 
virtual const Matrix4_getParentNodeFullTransform (void) const
 
virtual void _notifyAttached (Node *parent, bool isTagPoint=false)
 
virtual void _notifyCreator (MovableObjectFactory *fact)
 
virtual void _notifyManager (SceneManager *man)
 
virtual void _notifyMoved (void)
 
virtual void _releaseManualHardwareResources ()
 
virtual void _restoreManualHardwareResources ()
 
void addQueryFlags (uint32 flags)
 
void addVisibilityFlags (uint32 flags)
 
virtual AnimableValuePtr createAnimableValue (const String &valueName)
 
void detachFromParent (void)
 
const StringVectorgetAnimableValueNames (void) const
 
bool getCastShadows (void) const
 
const AxisAlignedBoxgetDarkCapBounds (const Light &light, Real dirLightExtrusionDist) const
 
EdgeDatagetEdgeList (void)
 
const AxisAlignedBoxgetLightCapBounds (void) const
 
uint32 getLightMask () const
 
ListenergetListener (void) const
 
const StringgetName (void) const
 
NodegetParentNode (void) const
 
SceneNodegetParentSceneNode (void) const
 
Real getPointExtrusionDistance (const Light *l) const
 
uint32 getQueryFlags (void) const
 
bool getReceivesShadows ()
 
Real getRenderingDistance (void) const
 
Real getRenderingMinPixelSize () const
 
uint8 getRenderQueueGroup (void) const
 
ShadowRenderableListIterator getShadowVolumeRenderableIterator (ShadowTechnique shadowTechnique, const Light *light, HardwareIndexBufferSharedPtr *indexBuffer, size_t *indexBufferUsedSize, bool extrudeVertices, Real extrusionDist, unsigned long flags=0)
 
virtual uint32 getTypeFlags (void) const
 
const AnygetUserAny (void) const
 
UserObjectBindingsgetUserObjectBindings ()
 
const UserObjectBindingsgetUserObjectBindings () const
 
uint32 getVisibilityFlags (void) const
 
bool getVisible (void) const
 
virtual const AxisAlignedBoxgetWorldBoundingBox (bool derive=false) const
 
virtual const SpheregetWorldBoundingSphere (bool derive=false) const
 
bool hasEdgeList (void)
 
bool isAttached (void) const
 
bool isDebugDisplayEnabled (void) const
 
virtual bool isInScene (void) const
 
bool isParentTagPoint () const
 
const LightListqueryLights (void) const
 
void removeQueryFlags (uint32 flags)
 
void removeVisibilityFlags (uint32 flags)
 
void setCastShadows (bool enabled)
 
void setDebugDisplayEnabled (bool enabled)
 
void setLightMask (uint32 lightMask)
 
void setListener (Listener *listener)
 
void setQueryFlags (uint32 flags)
 
void setRenderingDistance (Real dist)
 
void setRenderingMinPixelSize (Real pixelSize)
 
virtual void setRenderQueueGroup (uint8 queueID)
 
virtual void setRenderQueueGroupAndPriority (uint8 queueID, ushort priority)
 
void setUserAny (const Any &anything)
 
void setVisibilityFlags (uint32 flags)
 
void setVisible (bool visible)
 
- Public Member Functions inherited from Ogre::AnimableObject
const StringVectorgetAnimableValueNames (void) const
 

Additional Inherited Members

- Public Types inherited from Forests::BatchedGeometry
typedef std::map< Ogre::String, SubBatch * > TSubBatchMap
 Stores a list of GeomBatch'es, using a format string (generated with getGeometryFormatString()) as the key value.
 
typedef Ogre::MapIterator< TSubBatchMapTSubBatchIterator
 
typedef Ogre::ConstMapIterator< TSubBatchMapTConstSubBatchIterator
 
- Public Types inherited from Ogre::MovableObject
typedef vector< ShadowRenderable * >::type ShadowRenderableList
 
typedef VectorIterator< ShadowRenderableListShadowRenderableListIterator
 
- Public Types inherited from Ogre::ShadowCaster
typedef vector< ShadowRenderable * >::type ShadowRenderableList
 
typedef VectorIterator< ShadowRenderableListShadowRenderableListIterator
 
- Static Public Member Functions inherited from Ogre::MovableObject
static void clearShadowRenderableList (ShadowRenderableList &shadowRenderables)
 
static void extrudeVertices (const HardwareVertexBufferSharedPtr &vertexBuffer, size_t originalVertexCount, const Vector4 &lightPos, Real extrudeDist)
 
static uint32 getDefaultQueryFlags ()
 
static uint32 getDefaultVisibilityFlags ()
 
static void setDefaultQueryFlags (uint32 flags)
 
static void setDefaultVisibilityFlags (uint32 flags)
 
- Static Public Member Functions inherited from Ogre::ShadowCaster
static void clearShadowRenderableList (ShadowRenderableList &shadowRenderables)
 
static void extrudeVertices (const HardwareVertexBufferSharedPtr &vertexBuffer, size_t originalVertexCount, const Vector4 &lightPos, Real extrudeDist)
 
- Static Protected Member Functions inherited from Forests::BatchedGeometry
static Ogre::String getFormatString (Ogre::SubEntity *ent)
 
static void extractVertexDataFromShared (const Ogre::MeshPtr &mesh)
 
- Protected Attributes inherited from Forests::BatchedGeometry
bool m_Built
 
bool m_BoundsUndefined
 
Ogre::Vector3 m_vecCenter
 
Ogre::AxisAlignedBox m_boundsAAB
 
TSubBatchMap m_mapSubBatch
 
- Static Protected Attributes inherited from Forests::BatchedGeometry
static const size_t s_vertexType2Size [Ogre::VET_COLOUR_ABGR+1]
 Internal matrix for remap vertex type to vertex size instead call VertexElement::getTypeSize. More...
 

Detailed Description

A variation of BatchedGeometry designed for WindBatchPage.