CrystalSpace

Public API Reference

csObjectModel Class Reference
[Geometry utilities]

Helper class to make it easier to implement iObjectModel in mesh objects. More...

#include <cstool/objmodel.h>

Inherits scfImplementation1< csObjectModel, iObjectModel >.

Inherited by scfImplementationExt1< csMeshObject, csObjectModel, iMeshObject >, scfImplementationExt1< csMeshObject, csObjectModel, iMeshObject >, scfImplementationExt2< csParticleSystem, csObjectModel, iMeshObject, iParticleState >, and scfImplementationExt2< csParticleSystem, csObjectModel, iMeshObject, iParticleState >.

List of all members.

Public Member Functions

 csObjectModel (iBase *parent=0)
 Construct a new csObjectModel.
void FireListeners ()
 Fire all listeners.
csStringID GetBaseID (iObjectRegistry *object_reg)
 Conveniance method to fetch the base string ID given the object registry.
csRef< iStringSetGetStandardStringSet (iObjectRegistry *object_reg)
 Conveniance method to fetch the standard string registry from the object registry.
void SetShapeNumber (long n)
 Set the shape number manually (should not be needed in most cases).
void ShapeChanged ()
 Increase the shape number and also fire all listeners.

Detailed Description

Helper class to make it easier to implement iObjectModel in mesh objects.

This class does not implement the bounding box and radius functions.

Definition at line 50 of file objmodel.h.


Constructor & Destructor Documentation

csObjectModel::csObjectModel ( iBase parent = 0  )  [inline]

Construct a new csObjectModel.

Don't forget to call SetPolygonMesh<xxx>()!

Definition at line 66 of file objmodel.h.


Member Function Documentation

void csObjectModel::FireListeners (  )  [inline]

Fire all listeners.

Definition at line 113 of file objmodel.h.

csStringID csObjectModel::GetBaseID ( iObjectRegistry object_reg  )  [inline]

Conveniance method to fetch the base string ID given the object registry.

Definition at line 87 of file objmodel.h.

csRef<iStringSet> csObjectModel::GetStandardStringSet ( iObjectRegistry object_reg  )  [inline]

Conveniance method to fetch the standard string registry from the object registry.

Definition at line 77 of file objmodel.h.

void csObjectModel::SetShapeNumber ( long  n  )  [inline]

Set the shape number manually (should not be needed in most cases).

Definition at line 105 of file objmodel.h.

void csObjectModel::ShapeChanged (  )  [inline]

Increase the shape number and also fire all listeners.

Definition at line 96 of file objmodel.h.


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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1