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.

iObjectRegistryGetObjectRegistry ()
 Get the object registry.

virtual ~csMeshFactory ()
 destructor

virtual csFlagsGetFlags ()
 See imesh/object.h for specification.

virtual csPtr< iMeshObjectNewInstance ()=0
 See imesh/object.h for specification.

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

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

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

virtual iBaseGetLogicalParent () const
 See imesh/object.h for specification.

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


Protected Attributes

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

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

iObjectRegistryobject_reg
 Object registry.

csFlags flags
 Flags.


Detailed Description

This is the abstract implementation of iMeshObjectFactory.

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

Definition at line 265 of file meshobjtmpl.h.


Constructor & Destructor Documentation

csMeshFactory::csMeshFactory iEngine   engine,
iObjectRegistry   object_reg
 

Constructor.

virtual csMeshFactory::~csMeshFactory   [virtual]
 

destructor


Member Function Documentation

virtual csFlags& csMeshFactory::GetFlags   [inline, virtual]
 

See imesh/object.h for specification.

Implements iMeshObjectFactory.

Definition at line 295 of file meshobjtmpl.h.

virtual iBase* csMeshFactory::GetLogicalParent   [virtual]
 

See imesh/object.h for specification.

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 330 of file meshobjtmpl.h.

iObjectRegistry* csMeshFactory::GetObjectRegistry   [inline]
 

Get the object registry.

Definition at line 287 of file meshobjtmpl.h.

virtual void csMeshFactory::HardTransform const csReversibleTransform   t [virtual]
 

See imesh/object.h for specification.

The default implementation does nothing.

Implements iMeshObjectFactory.

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

See imesh/object.h for specification.

There is no default implementation for this method.

Implements iMeshObjectFactory.

virtual void csMeshFactory::SetLogicalParent iBase   logparent [virtual]
 

See imesh/object.h for specification.

This function is handled completely in csMeshObject.

Implements iMeshObjectFactory.

virtual bool csMeshFactory::SupportsHardTransform   [virtual]
 

See imesh/object.h for specification.

The default implementation returns false.

Implements iMeshObjectFactory.


Member Data Documentation

iEngine* csMeshFactory::Engine [protected]
 

Pointer to the engine if available (@ temporary).

@

Definition at line 272 of file meshobjtmpl.h.

csFlags csMeshFactory::flags [protected]
 

Flags.

Definition at line 278 of file meshobjtmpl.h.

iBase* csMeshFactory::LogParent [protected]
 

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

Definition at line 269 of file meshobjtmpl.h.

iObjectRegistry* csMeshFactory::object_reg [protected]
 

Object registry.

Definition at line 275 of file meshobjtmpl.h.


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