OctTreeComponent Class Reference

Component wrapper of Irrlicht's SceneManager function addOctTreeSceneNode(...). More...

Inheritance diagram for OctTreeComponent:

Inheritance graph
[legend]
Collaboration diagram for OctTreeComponent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 OctTreeComponent (Entity *parent, const std::string &fileName, s32 minPolysPerNode=256)
 Constructor.
 OctTreeComponent (Entity *parent, IMesh *mesh, s32 minPolysPerNode=256)
 Constructor.
 OctTreeComponent (Entity *parent, IAnimatedMesh *mesh, s32 minPolysPerNode=512)
 Constructor.
 ~OctTreeComponent ()
 Deconstructor.

Static Public Member Functions

static OctTreeComponentrefFactory (Entity *parent, const std::string &fileName, s32 minPolysPerNode)
 Will be used to instanciate objects of this class.


Detailed Description

Component wrapper of Irrlicht's SceneManager function addOctTreeSceneNode(...).

Definition at line 26 of file OctTreeComponent.h.


Constructor & Destructor Documentation

OctTreeComponent::OctTreeComponent ( Entity parent,
const std::string &  fileName,
s32  minPolysPerNode = 256 
)

Constructor.

Parameters:
parent The parent entity to which the component should be added.
fileName Filename of the mesh to load.
minPolysPerNode Specifies the minimal polygons contained a octree node. If a node gets less polys than this value it will not be split into smaller nodes.

Definition at line 24 of file OctTreeComponent.cpp.

OctTreeComponent::OctTreeComponent ( Entity parent,
IMesh *  mesh,
s32  minPolysPerNode = 256 
)

Constructor.

Parameters:
parent The parent entity to which the component should be added.
mesh Pointer to the loaded animated mesh to be displayed.
minPolysPerNode Specifies the minimal polygons contained a octree node. If a node gets less polys than this value it will not be split into smaller nodes.
Note:
Not available in AngelScript.

Definition at line 41 of file OctTreeComponent.cpp.

OctTreeComponent::OctTreeComponent ( Entity parent,
IAnimatedMesh *  mesh,
s32  minPolysPerNode = 512 
)

Constructor.

Parameters:
parent The parent entity to which the component should be added.
mesh Pointer to the loaded animated mesh to be displayed.
minPolysPerNode Specifies the minimal polygons contained a octree node. If a node gets less polys than this value it will not be split into smaller nodes.
Note:
Not available in AngelScript.

Definition at line 57 of file OctTreeComponent.cpp.

OctTreeComponent::~OctTreeComponent (  ) 

Deconstructor.

Definition at line 73 of file OctTreeComponent.cpp.


Member Function Documentation

OctTreeComponent * OctTreeComponent::refFactory ( Entity parent,
const std::string &  fileName,
s32  minPolysPerNode 
) [static]

Will be used to instanciate objects of this class.

Note:
For internal use only!

Definition at line 78 of file OctTreeComponent.cpp.


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

Generated on Wed Jun 10 22:26:26 2009 for Sirrf - Simple Irrlicht Framework by  doxygen 1.5.8