RavEngine
Loading...
Searching...
No Matches
physx::Sc::ConstraintGroupNode Struct Reference
Inheritance diagram for physx::Sc::ConstraintGroupNode:
[legend]
Collaboration diagram for physx::Sc::ConstraintGroupNode:
[legend]

Public Types

enum  StateFlags {
  eDISCOVERED = 1 << 0 , eIN_PROJECTION_PASS_LIST = 1 << 1 , ePENDING_TREE_UPDATE = 1 << 2 , eNEXT_FREE_SHIFT = 3 ,
  eNEXT_FREE = 1 << eNEXT_FREE_SHIFT
}
 
enum  ProjectionCountHintFlags {
  e1_TO_4 = eNEXT_FREE , e5_TO_16 = eNEXT_FREE << 1 , e17_TO_64 = eNEXT_FREE << 2 , e65_TO_INF = eNEXT_FREE << 3 ,
  eCLEAR_MASK = ~(0xffffffff << eNEXT_FREE_SHIFT)
}
 

Public Member Functions

 ConstraintGroupNode (BodySim &b)
 
PX_FORCE_INLINE void raiseFlag (StateFlags f)
 
PX_FORCE_INLINE void clearFlag (StateFlags f)
 
PX_FORCE_INLINE bool readFlag (StateFlags f) const
 
PX_FORCE_INLINE PxU32 getProjectionCountHint () const
 
PX_FORCE_INLINE void setProjectionCountHint (PxU32 constraintsToProjectCount)
 
ConstraintGroupNode & getRoot ()
 
PX_FORCE_INLINE void buildProjectionTrees ()
 
void markForProjectionTreeRebuild (ConstraintProjectionManager &)
 
PX_FORCE_INLINE void purgeProjectionTrees ()
 
PX_FORCE_INLINE bool hasProjectionTreeRoot ()
 
PX_FORCE_INLINE void setProjectionTreeRoot (ConstraintGroupNode *root)
 
void initProjectionData (ConstraintGroupNode *parent, ConstraintSim *c)
 
void clearProjectionData ()
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Static Public Member Functions

static void projectPose (ConstraintGroupNode &root, PxArray< BodySim * > &projectedBodies)
 

Public Attributes

BodySim * body
 
ConstraintGroupNode * parent
 
ConstraintGroupNode * tail
 
PxU32 rank
 
ConstraintGroupNode * next
 
ConstraintGroupNode * projectionFirstRoot
 
ConstraintGroupNode * projectionNextRoot
 
ConstraintGroupNode * projectionParent
 
ConstraintGroupNode * projectionFirstChild
 
ConstraintGroupNode * projectionNextSibling
 
ConstraintSim * projectionConstraint
 

The documentation for this struct was generated from the following files: