CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csMeshFactoryWrapper Class Reference

The holder class for all implementations of iMeshObjectFactory. More...

#include <meshobj.h>

Inheritance diagram for csMeshFactoryWrapper:

csObject iObject iBase List of all members.

Public Methods

 csMeshFactoryWrapper (iMeshObjectFactory *meshFact)
 Constructor. More...

 csMeshFactoryWrapper ()
 Constructor. More...

void SetMeshObjectFactory (iMeshObjectFactory *meshFact)
 Set the mesh object factory. More...

iMeshObjectFactoryGetMeshObjectFactory () const
 Get the mesh object factory. More...

iMeshWrapperNewMeshObject ()
 Create a new mesh object for this template. More...

void HardTransform (const csReversibleTransform &t)
 Do a hard transform of this factory. More...

void PrepareChild (iMeshFactoryWrapper *child)
 This function is called for every child that is added. More...

void UnprepareChild (iMeshFactoryWrapper *child)
 This function is called for every child that is removed. More...

csReversibleTransformGetTransform ()
 Get optional relative transform (relative to parent). More...

void SetTransform (const csReversibleTransform &tr)
 Set optional relative transform (relative to parent). More...


Detailed Description

The holder class for all implementations of iMeshObjectFactory.

Definition at line 810 of file meshobj.h.


Constructor & Destructor Documentation

csMeshFactoryWrapper::csMeshFactoryWrapper iMeshObjectFactory   meshFact
 

Constructor.

csMeshFactoryWrapper::csMeshFactoryWrapper  
 

Constructor.


Member Function Documentation

iMeshObjectFactory* csMeshFactoryWrapper::GetMeshObjectFactory   const [inline]
 

Get the mesh object factory.

Definition at line 845 of file meshobj.h.

csReversibleTransform& csMeshFactoryWrapper::GetTransform   [inline]
 

Get optional relative transform (relative to parent).

Definition at line 874 of file meshobj.h.

void csMeshFactoryWrapper::HardTransform const csReversibleTransform   t
 

Do a hard transform of this factory.

This transformation and the original coordinates are not remembered but the object space coordinates are directly computed (world space coordinates are set to the object space coordinates by this routine). Note that some implementations of mesh objects will not change the orientation of the object but only the position.

iMeshWrapper* csMeshFactoryWrapper::NewMeshObject  
 

Create a new mesh object for this template.

void csMeshFactoryWrapper::PrepareChild iMeshFactoryWrapper   child
 

This function is called for every child that is added.

void csMeshFactoryWrapper::SetMeshObjectFactory iMeshObjectFactory   meshFact
 

Set the mesh object factory.

void csMeshFactoryWrapper::SetTransform const csReversibleTransform   tr [inline]
 

Set optional relative transform (relative to parent).

Definition at line 879 of file meshobj.h.

void csMeshFactoryWrapper::UnprepareChild iMeshFactoryWrapper   child
 

This function is called for every child that is removed.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14