CrystalSpace

Public API Reference

csMeshFactory Class Reference

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

#include <cstool/meshobjtmpl.h>

Inherits scfImplementation1< csMeshFactory, iMeshObjectFactory >.

List of all members.

Public Member Functions

 csMeshFactory (iEngine *engine, iObjectRegistry *object_reg, iMeshObjectType *parent)
 Constructor.
virtual csFlagsGetFlags ()
 See imesh/object.h for specification.
virtual iMeshFactoryWrapperGetMeshFactoryWrapper () const
 See imesh/object.h for specification.
virtual iMeshObjectTypeGetMeshObjectType () const
 Get the ObjectType for this mesh factory.
virtual iObjectModelGetObjectModel ()
 See imesh/object.h for specification.
iObjectRegistryGetObjectRegistry ()
 Get the object registry.
virtual void HardTransform (const csReversibleTransform &t)
 See imesh/object.h for specification.
virtual csPtr< iMeshObjectNewInstance ()=0
 See imesh/object.h for specification.
virtual void SetMeshFactoryWrapper (iMeshFactoryWrapper *logparent)
 See imesh/object.h for specification.
virtual bool SupportsHardTransform () const
 See imesh/object.h for specification.
virtual ~csMeshFactory ()
 destructor

Protected Attributes

iEngineEngine
 Pointer to the engine if available.
csFlags flags
 Flags.
iMeshFactoryWrapperLogParent
 Logical parent (usually the wrapper object from the engine).
iMeshObjectTypemesh_type
 Pointer to the MeshObjectType.
iObjectRegistryobject_reg
 Object registry.

Detailed Description

This is the abstract implementation of iMeshObjectFactory.

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

Definition at line 281 of file meshobjtmpl.h.


Constructor & Destructor Documentation

csMeshFactory::csMeshFactory ( iEngine engine,
iObjectRegistry object_reg,
iMeshObjectType parent 
)

Constructor.

virtual csMeshFactory::~csMeshFactory (  )  [virtual]

destructor


Member Function Documentation

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

See imesh/object.h for specification.

Definition at line 315 of file meshobjtmpl.h.

virtual iMeshFactoryWrapper* csMeshFactory::GetMeshFactoryWrapper (  )  const [virtual]

See imesh/object.h for specification.

This function is handled completely in csMeshObject.

virtual iMeshObjectType* csMeshFactory::GetMeshObjectType (  )  const [virtual]

Get the ObjectType for this mesh factory.

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

See imesh/object.h for specification.

Definition at line 355 of file meshobjtmpl.h.

iObjectRegistry* csMeshFactory::GetObjectRegistry (  )  [inline]

Get the object registry.

Definition at line 307 of file meshobjtmpl.h.

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

See imesh/object.h for specification.

The default implementation does nothing.

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

See imesh/object.h for specification.

There is no default implementation for this method.

virtual void csMeshFactory::SetMeshFactoryWrapper ( iMeshFactoryWrapper logparent  )  [virtual]

See imesh/object.h for specification.

This function is handled completely in csMeshObject.

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

See imesh/object.h for specification.

The default implementation returns false.


Member Data Documentation

Pointer to the engine if available.

Definition at line 292 of file meshobjtmpl.h.

Flags.

Definition at line 298 of file meshobjtmpl.h.

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

Definition at line 286 of file meshobjtmpl.h.

Pointer to the MeshObjectType.

Definition at line 289 of file meshobjtmpl.h.

Object registry.

Definition at line 295 of file meshobjtmpl.h.


The documentation for this class was generated from the following file:

Generated for Crystal Space 1.4.1 by doxygen 1.7.1