MercuryODEObjectLoadable Class Reference

Loadable ODE Object, this is loaded from a world INI file. More...

#include <MercuryODE.h>

Inheritance diagram for MercuryODEObjectLoadable:

Inheritance graph
[legend]
Collaboration diagram for MercuryODEObjectLoadable:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MercuryODEObjectLoadable ()
 MercuryODEObjectLoadable (const MString &sName)
virtual ~MercuryODEObjectLoadable ()
virtual void Update (const float dTime)
 [internal] Update (call this update last when abstracting because Update can destroy the object)
virtual void RemoveODE ()
virtual bool Collide (MercuryODEObject *pHit, dContact &pContact, MercuryODEWorld *pCollide)
 Collide into another object (if you want to, return true).
virtual bool LoadFromINI (MercuryINI &pINI, const MString &sShapeName, const dWorldID &oWorld)
 Load this object from the INI file.
 CLASS_RTTI (MercuryODEObjectLoadable, MercuryODEObject)

Public Attributes

bool m_bBodied
 Is this object associated with a body, or is it fixed?
MercuryPoint m_pPrePosition
MercuryPoint m_pPreRotation
MVector< dGeomID > m_vAllGeoms
MVector< dGeomID > m_vAllTransforms
dSpaceID m_oWorldSpace
MVector< MercuryObject * > m_vMercuryShapes

Protected Attributes

dWorldID m_oParentWorld

Private Attributes

MVector< InternalTrimesh * > m_vTrimeshes
 Vector containing pointers to all.

Classes

struct  InternalTrimesh
 Internal trimesh information. More...

Detailed Description

Loadable ODE Object, this is loaded from a world INI file.

Definition at line 44 of file MercuryODE.h.


Constructor & Destructor Documentation

MercuryODEObjectLoadable::MercuryODEObjectLoadable (  )  [inline]

Definition at line 47 of file MercuryODE.h.

MercuryODEObjectLoadable::MercuryODEObjectLoadable ( const MString sName  )  [inline]

Definition at line 50 of file MercuryODE.h.

MercuryODEObjectLoadable::~MercuryODEObjectLoadable (  )  [virtual]

Definition at line 38 of file MercuryODE.cpp.


Member Function Documentation

void MercuryODEObjectLoadable::Update ( const float  dTime  )  [virtual]

[internal] Update (call this update last when abstracting because Update can destroy the object)

Reimplemented from MercuryObject.

Reimplemented in BetaBetaMari, ExplodingCokeCan, ODEFluid, and Projectile.

Definition at line 389 of file MercuryODE.cpp.

void MercuryODEObjectLoadable::RemoveODE (  )  [virtual]

Reimplemented from MercuryODEObject.

Definition at line 408 of file MercuryODE.cpp.

virtual bool MercuryODEObjectLoadable::Collide ( MercuryODEObject pHit,
dContact &  pContact,
MercuryODEWorld pWorld 
) [inline, virtual]

Collide into another object (if you want to, return true).

Implements MercuryODEObject.

Reimplemented in BetaBetaMari, ExplodingCokeCan, ODEFluid, Projectile, and RaceCar.

Definition at line 60 of file MercuryODE.h.

bool MercuryODEObjectLoadable::LoadFromINI ( MercuryINI pINI,
const MString sShapeName,
const dWorldID &  oWorld 
) [virtual]

Load this object from the INI file.

See how many pieces this object has.

Reimplemented in ODEFluid, and RaceCar.

Definition at line 48 of file MercuryODE.cpp.

MercuryODEObjectLoadable::CLASS_RTTI ( MercuryODEObjectLoadable  ,
MercuryODEObject   
)


Member Data Documentation

bool MercuryODEObjectLoadable::m_bBodied

Is this object associated with a body, or is it fixed?

Definition at line 66 of file MercuryODE.h.

MercuryPoint MercuryODEObjectLoadable::m_pPrePosition

Definition at line 68 of file MercuryODE.h.

MercuryPoint MercuryODEObjectLoadable::m_pPreRotation

Definition at line 69 of file MercuryODE.h.

MVector< dGeomID > MercuryODEObjectLoadable::m_vAllGeoms

Definition at line 71 of file MercuryODE.h.

MVector< dGeomID > MercuryODEObjectLoadable::m_vAllTransforms

Definition at line 72 of file MercuryODE.h.

dSpaceID MercuryODEObjectLoadable::m_oWorldSpace

Definition at line 74 of file MercuryODE.h.

MVector< MercuryObject * > MercuryODEObjectLoadable::m_vMercuryShapes

Definition at line 77 of file MercuryODE.h.

dWorldID MercuryODEObjectLoadable::m_oParentWorld [protected]

Definition at line 80 of file MercuryODE.h.

MVector< InternalTrimesh * > MercuryODEObjectLoadable::m_vTrimeshes [private]

Vector containing pointers to all.

Definition at line 108 of file MercuryODE.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo