CrystalSpace

Public API Reference

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

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< iMeshObjectNewInstance ()=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 iBaseGetLogicalParent () const
 See imesh/object.h for sepcification. More...

virtual iObjectModelGetObjectModel ()
 See imesh/object.h for specification. More...


Protected Attributes

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

iEngineEngine
 Pointer to the engine if available (@ temporary). More...

iObjectRegistryobject_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 257 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 311 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 264 of file meshobjtmpl.h.

iBase* csMeshFactory::LogParent [protected]
 

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

Definition at line 261 of file meshobjtmpl.h.

iObjectRegistry* csMeshFactory::object_reg [protected]
 

Object registry.

Definition at line 267 of file meshobjtmpl.h.


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