#include <ODEFluid.h>
Inheritance diagram for ODEFluid:
Public Member Functions | |
ODEFluid () | |
ODEFluid (const MString &sName) | |
~ODEFluid () | |
virtual bool | LoadFromINI (MercuryINI &pINI, const MString &sShapeName, const dWorldID &oWorld) |
Load this object from the INI file. | |
virtual void | Update (const float dTime) |
[internal] Update (call this update last when abstracting because Update can destroy the object) | |
virtual void | PreCycleUpdate (const float dTime) |
Pre-cycle update, this occurs before the ODE world step, and includes how long the step time will be. | |
virtual bool | Collide (MercuryODEObject *pHit, dContact &pContact, MercuryODEWorld *pWorld) |
Collide into another object (if you want to, return true). | |
CLASS_RTTI (ODEFluid, MercuryODEObjectLoadable) | |
Private Attributes | |
float | m_fViscosity |
MercuryPoint | m_pDirection |
MercuryPoint | m_pForce |
std::map< dBodyID, HitObject > | m_pHitObjects |
Classes | |
struct | HitObject |
Definition at line 6 of file ODEFluid.h.
ODEFluid::ODEFluid | ( | ) | [inline] |
Definition at line 9 of file ODEFluid.h.
ODEFluid::ODEFluid | ( | const MString & | sName | ) | [inline] |
Definition at line 10 of file ODEFluid.h.
ODEFluid::~ODEFluid | ( | ) |
bool ODEFluid::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 from MercuryODEObjectLoadable.
Definition at line 11 of file ODEFluid.cpp.
void ODEFluid::Update | ( | const float | dTime | ) | [virtual] |
[internal] Update (call this update last when abstracting because Update can destroy the object)
Reimplemented from MercuryODEObjectLoadable.
Definition at line 31 of file ODEFluid.cpp.
void ODEFluid::PreCycleUpdate | ( | const float | dTime | ) | [virtual] |
Pre-cycle update, this occurs before the ODE world step, and includes how long the step time will be.
Reimplemented from MercuryODEObject.
Definition at line 36 of file ODEFluid.cpp.
bool ODEFluid::Collide | ( | MercuryODEObject * | pHit, | |
dContact & | pContact, | |||
MercuryODEWorld * | pWorld | |||
) | [virtual] |
Collide into another object (if you want to, return true).
Reimplemented from MercuryODEObjectLoadable.
Definition at line 70 of file ODEFluid.cpp.
ODEFluid::CLASS_RTTI | ( | ODEFluid | , | |
MercuryODEObjectLoadable | ||||
) |
float ODEFluid::m_fViscosity [private] |
Definition at line 19 of file ODEFluid.h.
MercuryPoint ODEFluid::m_pDirection [private] |
Definition at line 20 of file ODEFluid.h.
MercuryPoint ODEFluid::m_pForce [private] |
Definition at line 21 of file ODEFluid.h.
std::map< dBodyID, HitObject > ODEFluid::m_pHitObjects [private] |
Definition at line 33 of file ODEFluid.h.