ODEFluid Class Reference

#include <ODEFluid.h>

Inheritance diagram for ODEFluid:

Inheritance graph
[legend]
Collaboration diagram for ODEFluid:

Collaboration graph
[legend]
List of all members.

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, HitObjectm_pHitObjects

Classes

struct  HitObject

Detailed Description

Definition at line 6 of file ODEFluid.h.


Constructor & Destructor Documentation

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 (  ) 


Member Function Documentation

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   
)


Member Data Documentation

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.


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