RavEngine
Loading...
Searching...
No Matches
physx::IG::Node Class Reference
Collaboration diagram for physx::IG::Node:
[legend]

Public Types

enum  NodeType {
  eRIGID_BODY_TYPE , eARTICULATION_TYPE , eSOFTBODY_TYPE , eFEMCLOTH_TYPE ,
  ePARTICLESYSTEM_TYPE , eHAIRSYSTEM_TYPE , eTYPE_COUNT
}
 
enum  State {
  eREADY_FOR_SLEEPING = 1u << 0 , eACTIVE = 1u << 1 , eKINEMATIC = 1u << 2 , eDELETED = 1u << 3 ,
  eDIRTY = 1u << 4 , eACTIVATING = 1u << 5 , eDEACTIVATING = 1u << 6
}
 

Public Member Functions

PX_FORCE_INLINE void reset ()
 
PX_FORCE_INLINE void setRigidBody (PxsRigidBody *body)
 
PX_FORCE_INLINE PxsRigidBody * getRigidBody () const
 
PX_FORCE_INLINE Dy::FeatherstoneArticulation * getArticulation () const
 
PX_FORCE_INLINE void setActive ()
 
PX_FORCE_INLINE void clearActive ()
 
PX_FORCE_INLINE void setActivating ()
 
PX_FORCE_INLINE void clearActivating ()
 
PX_FORCE_INLINE void setDeactivating ()
 
PX_FORCE_INLINE void clearDeactivating ()
 
PX_FORCE_INLINE void setIsReadyForSleeping ()
 
PX_FORCE_INLINE void clearIsReadyForSleeping ()
 
PX_FORCE_INLINE void setIsDeleted ()
 
PX_FORCE_INLINE void setKinematicFlag ()
 
PX_FORCE_INLINE void clearKinematicFlag ()
 
PX_FORCE_INLINE void markDirty ()
 
PX_FORCE_INLINE void clearDirty ()
 
PX_FORCE_INLINE bool isActive () const
 
PX_FORCE_INLINE bool isActiveOrActivating () const
 
PX_FORCE_INLINE bool isActivating () const
 
PX_FORCE_INLINE bool isDeactivating () const
 
PX_FORCE_INLINE bool isKinematic () const
 
PX_FORCE_INLINE bool isDeleted () const
 
PX_FORCE_INLINE bool isDirty () const
 
PX_FORCE_INLINE bool isReadyForSleeping () const
 
PX_FORCE_INLINE NodeType getNodeType () const
 

Public Attributes

EdgeInstanceIndex mFirstEdgeIndex
 
PxU8 mFlags
 
PxU8 mType
 
PxU16 mStaticTouchCount
 
PxNodeIndex mNextNode
 
PxNodeIndex mPrevNode
 
PxU32 mActiveRefCount
 
union { 
 
   PxsRigidBody *   mRigidBody 
 
   Dy::FeatherstoneArticulation *   mLLArticulation 
 
};  
 

Friends

class SimpleIslandManager
 

Member Enumeration Documentation

◆ State

Enumerator
eACTIVE 

Ready to go to sleep.

eKINEMATIC 

Active.

eDELETED 

Kinematic.

eDIRTY 

Is pending deletion.

eACTIVATING 

Is dirty (i.e. lost a connection)

eDEACTIVATING 

Is in the activating list.


The documentation for this class was generated from the following file: