Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

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.

 csMeshFactoryWrapper ()
 Constructor.

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

iMeshObjectFactoryGetMeshObjectFactory () const
 Get the mesh object factory.

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

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.

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

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

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

 SCF_DECLARE_IBASE_EXT (csObject)

Public Attributes

csMeshFactoryWrapper::MeshFactoryWrapper  scfiMeshFactoryWrapper

Friends

class  MeshFactoryWrapper

Detailed Description

The holder class for all implementations of iMeshObjectFactory.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000