Newton Dynamics  4.00
ndCharacter Class Reference
Inheritance diagram for ndCharacter:
ndModel ndContainersFreeListAlloc< ndModel > ndFreeListAlloc

Classes

class  ndEffetorInfo
 

Public Member Functions

 D_CLASS_REFLECTION (ndCharacter)
 
D_NEWTON_API ndCharacter (const ndLoadSaveBase::ndLoadDescriptor &desc)
 
D_NEWTON_API ndCharacterRootNodeCreateRoot (ndBodyDynamic *const body)
 
D_NEWTON_API ndCharacterForwardDynamicNodeCreateForwardDynamicLimb (const ndMatrix &matrixInGlobalSpace, ndBodyDynamic *const body, ndCharacterNode *const parent)
 
D_NEWTON_API ndCharacterInverseDynamicNodeCreateInverseDynamicLimb (const ndMatrix &matrixInGlobalSpace, ndBodyDynamic *const body, ndCharacterNode *const parent)
 
ndCharacterGetAsCharacter ()
 
ndCharacterRootNodeGetRootNode () const
 
D_NEWTON_API void AddAttachment (ndJointBilateralConstraint *const joint)
 
D_NEWTON_API void RemoveAttachment (ndJointBilateralConstraint *const joint)
 
D_NEWTON_API void CreateKinematicChain (const ndMatrix &globalOrientation, const ndCharacterNode *const node)
 
D_NEWTON_API void SetPose ()
 
- Public Member Functions inherited from ndModel
 D_CLASS_REFLECTION (ndModel)
 
D_NEWTON_API ndModel (const ndLoadSaveBase::ndLoadDescriptor &desc)
 
virtual ndModelGetAsModel ()
 
virtual ndMultiBodyVehicleGetAsMultiBodyVehicle ()
 
- Public Member Functions inherited from ndFreeListAlloc
D_CORE_API void * operator new (size_t size)
 
D_CORE_API void operator delete (void *ptr)
 

Protected Member Functions

virtual D_NEWTON_API void Debug (ndConstraintDebugCallback &context) const
 
virtual D_NEWTON_API void Update (ndWorld *const world, ndFloat32 timestep)
 
virtual D_NEWTON_API void PostUpdate (ndWorld *const world, ndFloat32 timestep)
 
virtual D_NEWTON_API void Save (const ndLoadSaveBase::ndSaveDescriptor &desc) const
 
- Protected Member Functions inherited from ndModel
virtual void AddToWorld (ndWorld *const world)
 
virtual void RemoveFromToWorld ()
 
virtual void PostTransformUpdate (ndWorld *const world, ndFloat32 timestep)
 

Protected Attributes

ndCharacterRootNodem_rootNode
 
ndList< ndEffetorInfom_effectors
 
ndList< ndJointBilateralConstraint * > m_extraJointAttachments
 
- Protected Attributes inherited from ndModel
ndWorldm_world
 

Additional Inherited Members

- Static Public Member Functions inherited from ndContainersFreeListAlloc< ndModel >
static void FlushFreeList (ndInt32 size)
 
- Static Public Member Functions inherited from ndFreeListAlloc
static D_CORE_API void Flush ()
 
static D_CORE_API void Flush (ndInt32 size)