|
|
D_NEWTON_API | ndBodySphFluid (const ndLoadSaveBase::ndLoadDescriptor &desc) |
| |
|
ndFloat32 | GetViscosity () const |
| |
|
void | SetViscosity (ndFloat32 viscosity) |
| |
|
ndFloat32 | GetParticleMass () const |
| |
|
void | SetParticleMass (ndFloat32 mass) |
| |
|
ndFloat32 | GetRestDensity () const |
| |
|
void | SetRestDensity (ndFloat32 resDensity) |
| |
|
ndFloat32 | GetGasConstant () const |
| |
|
void | SetGasConstant (ndFloat32 gasConst) |
| |
|
ndFloat32 | GetSphGridSize () const |
| |
|
virtual ndBodySphFluid * | GetAsBodySphFluid () |
| |
|
virtual D_NEWTON_API void | Save (const ndLoadSaveBase::ndSaveDescriptor &desc) const |
| |
|
D_NEWTON_API void | Execute (ndThreadPool *const threadPool) |
| |
Public Member Functions inherited from ndBodyParticleSet |
|
D_NEWTON_API | ndBodyParticleSet (const ndLoadSaveBase::ndLoadDescriptor &desc) |
| |
|
const ndVector | GetGravity () const |
| |
|
void | SetGravity (const ndVector &gravity) |
| |
|
ndArray< ndVector > & | GetVelocity () |
| |
|
ndArray< ndVector > & | GetPositions () |
| |
|
const ndArray< ndVector > & | GetVelocity () const |
| |
|
const ndArray< ndVector > & | GetPositions () const |
| |
|
virtual ndBodyParticleSet * | GetAsBodyParticleSet () |
| |
|
bool | GetAsynUpdate () const |
| |
|
void | SetAsynUpdate (bool update) |
| |
|
ndFloat32 | GetParticleRadius () const |
| |
|
void | SetParticleRadius (ndFloat32 radius) |
| |
Public Member Functions inherited from ndBody |
|
| D_CLASS_REFLECTION (ndBody) |
| |
|
D_COLLISION_API | ndBody (const ndLoadSaveBase::ndLoadDescriptor &desc) |
| |
|
virtual ndBody * | GetAsBody () |
| |
|
virtual ndBodyDynamic * | GetAsBodyDynamic () |
| |
|
virtual ndBodySentinel * | GetAsBodySentinel () |
| |
|
virtual ndBodyKinematic * | GetAsBodyKinematic () |
| |
|
virtual ndBodyPlayerCapsule * | GetAsBodyPlayerCapsule () |
| |
|
virtual ndBodyTriggerVolume * | GetAsBodyTriggerVolume () |
| |
|
virtual ndBodyKinematicBase * | GetAsBodyKinematicSpecial () |
| |
|
ndUnsigned32 | GetId () const |
| |
|
void | GetAABB (ndVector &p0, ndVector &p1) const |
| |
|
virtual ndFloat32 | GetInvMass () const |
| |
|
const ndVector & | GetCentreOfMass () const |
| |
|
virtual D_COLLISION_API void | SetCentreOfMass (const ndVector &com) |
| |
|
ndBodyNotify * | GetNotifyCallback () const |
| |
|
ndVector | GetOmega () const |
| |
|
ndMatrix | GetMatrix () const |
| |
|
ndVector | GetVelocity () const |
| |
|
ndVector | GetPosition () const |
| |
|
ndQuaternion | GetRotation () const |
| |
|
ndVector | GetGlobalGetCentreOfMass () const |
| |
|
virtual D_COLLISION_API void | SetNotifyCallback (ndBodyNotify *const notify) |
| |
|
virtual D_COLLISION_API void | SetOmega (const ndVector &veloc) |
| |
|
virtual D_COLLISION_API void | SetVelocity (const ndVector &veloc) |
| |
|
virtual D_COLLISION_API void | SetMatrix (const ndMatrix &matrix) |
| |
|
D_COLLISION_API ndVector | GetVelocityAtPoint (const ndVector &point) const |
| |
|
D_COLLISION_API void | SetOmegaNoSleep (const ndVector &veloc) |
| |
|
D_COLLISION_API void | SetVelocityNoSleep (const ndVector &veloc) |
| |
|
D_COLLISION_API void | SetMatrixNoSleep (const ndMatrix &matrix) |
| |
|
D_COLLISION_API void | SetMatrixAndCentreOfMass (const ndQuaternion &rotation, const ndVector &globalcom) |
| |
|
D_CORE_API void * | operator new (size_t size) |
| |
|
D_CORE_API void | operator delete (void *ptr) |
| |
|
ndTaskState | taskState () const |
| |
|
D_CORE_API void | Sync () const |
| |
|
| enum | ndTaskState { m_taskInProccess,
m_taskCompleted
} |
| |
|
static void | FlushFreeList (ndInt32 size) |
| |
|
static D_CORE_API void | Flush () |
| |
|
static D_CORE_API void | Flush (ndInt32 size) |
| |
Static Protected Member Functions inherited from ndBody |
|
static D_COLLISION_API const nd::TiXmlNode * | FindNode (const nd::TiXmlNode *const rootNode, const char *const name) |
| |
Protected Attributes inherited from ndBodyParticleSet |
|
ndVector | m_box0 |
| |
|
ndVector | m_box1 |
| |
|
ndVector | m_gravity |
| |
|
ndArray< ndVector > | m_posit |
| |
|
ndArray< ndVector > | m_veloc |
| |
|
ndBodyList::ndNode * | m_listNode |
| |
|
ndFloat32 | m_radius |
| |
|
bool | m_updateInBackground |
| |
Protected Attributes inherited from ndBody |
|
ndMatrix | m_matrix |
| |
|
ndVector | m_veloc |
| |
|
ndVector | m_omega |
| |
|
ndVector | m_localCentreOfMass |
| |
|
ndVector | m_globalCentreOfMass |
| |
|
ndVector | m_minAabb |
| |
|
ndVector | m_maxAabb |
| |
|
ndQuaternion | m_rotation |
| |
|
ndBodyNotify * | m_notifyCallback |
| |
|
ndUnsigned32 | m_uniqueId |
| |
|
union { |
|
ndUnsigned32 m_flags |
| |
|
struct { |
|
ndUnsigned32 m_isDynamics: 1 |
| |
|
ndUnsigned32 m_skeletonMark: 1 |
| |
|
ndUnsigned32 m_skeletonMark0: 1 |
| |
|
ndUnsigned32 m_skeletonMark1: 1 |
| |
|
ndUnsigned32 m_contactTestOnly: 1 |
| |
|
ndUnsigned32 m_transformIsDirty: 1 |
| |
|
ndUnsigned32 m_equilibriumOverride: 1 |
| |
| } | |
| |
| }; | |
| |
|
ndUnsigned8 | m_isStatic |
| |
|
ndUnsigned8 | m_autoSleep |
| |
|
ndUnsigned8 | m_equilibrium |
| |
|
ndUnsigned8 | m_equilibrium0 |
| |
|
ndUnsigned8 | m_isJointFence0 |
| |
|
ndUnsigned8 | m_isJointFence1 |
| |
|
ndUnsigned8 | m_isConstrained |
| |
|
ndUnsigned8 | m_sceneForceUpdate |
| |
|
ndUnsigned8 | m_sceneEquilibrium |
| |
|
ndUnsigned8 | m_markedForRemoved |
| |
Static Protected Attributes inherited from ndBody |
|
static D_COLLISION_API ndUnsigned32 | m_uniqueIdCount = 0 |
| |