Newton Dynamics  4.00
ndConstraint Class Referenceabstract
Inheritance diagram for ndConstraint:
ndContainersFreeListAlloc< ndConstraint > ndFreeListAlloc ndContact ndJointBilateralConstraint ndIk6DofEffector ndIkSwivelPositionEffector ndJointCylinder ndJointDoubleHinge ndJointDryRollingFriction ndJointFix6dof ndJointFixDistance ndJointFollowPath ndJointGear ndJointHinge ndJointKinematicController ndJointPlane ndJointPulley ndJointRoller ndJointSlider ndJointSpherical ndJointUpVector ndJointWheel ndMultiBodyVehicleDifferential ndMultiBodyVehicleDifferentialAxle ndMultiBodyVehicleMotor ndMultiBodyVehicleTorsionBar

Public Member Functions

 D_CLASS_REFLECTION (ndConstraint)
 
virtual ndContactGetAsContact ()
 
virtual ndJointBilateralConstraintGetAsBilateral ()
 
bool IsActive () const
 
void SetActive (bool state)
 
virtual bool IsBilateral () const
 
virtual ndUnsigned32 GetRowsCount () const =0
 
virtual ndBodyKinematicGetBody0 () const
 
virtual ndBodyKinematicGetBody1 () const
 
virtual void JacobianDerivative (ndConstraintDescritor &desc)=0
 
virtual void JointAccelerations (ndJointAccelerationDecriptor *const desc)=0
 
virtual void DebugJoint (ndConstraintDebugCallback &) const
 
void InitPointParam (ndPointParam &param, const ndVector &p0Global, const ndVector &p1Global) const
 
- Public Member Functions inherited from ndFreeListAlloc
D_CORE_API void * operator new (size_t size)
 
D_CORE_API void operator delete (void *ptr)
 

Public Attributes

ndInt32 m_rowCount
 
ndInt32 m_rowStart
 
ndUnsigned8 m_active
 
ndUnsigned8 m_fence0
 
ndUnsigned8 m_fence1
 
ndUnsigned8 m_resting
 
ndUnsigned8 m_isInSkeletonLoop
 

Additional Inherited Members

- Static Public Member Functions inherited from ndContainersFreeListAlloc< ndConstraint >
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)