CrystalSpace

Public API Reference

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

csMeshFactory Class Reference

This is the abstract implementation of iMeshObjectFactory. More...

#include <meshobjtmpl.h>

Inheritance diagram for csMeshFactory:

iMeshObjectFactory iBase List of all members.

Public Methods

 csMeshFactory (iEngine *engine, iObjectRegistry *object_reg)
 Constructor. More...

virtual ~csMeshFactory ()
 destructor. More...

virtual csPtr< iMeshObject > NewInstance ()=0
 See imesh/object.h for sepcification. More...

virtual void HardTransform (const csReversibleTransform &t)
 See imesh/object.h for sepcification. More...

virtual bool SupportsHardTransform () const
 See imesh/object.h for sepcification. More...

virtual void SetLogicalParent (iBase *logparent)
 See imesh/object.h for sepcification. More...

virtual iBase * GetLogicalParent () const
 See imesh/object.h for sepcification. More...

virtual iObjectModel * GetObjectModel ()
 See imesh/object.h for specification. More...


Protected Attributes

iBase * LogParent
 Logical parent (usually the wrapper object from the engine). More...

iEngine * Engine
 Pointer to the engine if available (@ temporary). More...

iObjectRegistry * object_reg
 Object registry. More...


Detailed Description

This is the abstract implementation of iMeshObjectFactory.

Like csMeshObject, it stores a pointer to the "logical parent".

Definition at line 244 of file meshobjtmpl.h.


Constructor & Destructor Documentation

csMeshFactory::csMeshFactory (  iEngine *    engine,
iObjectRegistry *    object_reg
) 
 

Constructor.

virtual csMeshFactory::~csMeshFactory (    )  [virtual]
 

destructor.


Member Function Documentation

virtual iBase* csMeshFactory::GetLogicalParent (    )  const [virtual]
 

See imesh/object.h for sepcification.

This function is handled completely in csMeshObject.

Implements iMeshObjectFactory.

virtual iObjectModel* csMeshFactory::GetObjectModel (    )  [inline, virtual]
 

See imesh/object.h for specification.

Implements iMeshObjectFactory.

Definition at line 298 of file meshobjtmpl.h.

virtual void csMeshFactory::HardTransform (  const csReversibleTransform &    t )  [virtual]
 

See imesh/object.h for sepcification.

The default implementation does nothing.

Implements iMeshObjectFactory.

virtual csPtr<iMeshObject> csMeshFactory::NewInstance (    )  [pure virtual]
 

See imesh/object.h for sepcification.

There is no default implementation for this method.

Implements iMeshObjectFactory.

virtual void csMeshFactory::SetLogicalParent (  iBase *    logparent )  [virtual]
 

See imesh/object.h for sepcification.

This function is handled completely in csMeshObject.

Implements iMeshObjectFactory.

virtual bool csMeshFactory::SupportsHardTransform (    )  const [virtual]
 

See imesh/object.h for sepcification.

The default implementation returns false.

Implements iMeshObjectFactory.


Member Data Documentation

iEngine* csMeshFactory::Engine [protected]
 

Pointer to the engine if available (@ temporary).

@

Definition at line 251 of file meshobjtmpl.h.

iBase* csMeshFactory::LogParent [protected]
 

Logical parent (usually the wrapper object from the engine).

Definition at line 248 of file meshobjtmpl.h.

iObjectRegistry* csMeshFactory::object_reg [protected]
 

Object registry.

Definition at line 254 of file meshobjtmpl.h.


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