RavEngine
Loading...
Searching...
No Matches
physx::IG::IslandSim Class Reference

Public Member Functions

 IslandSim (PxArray< PartitionEdge * > *firstPartitionEdges, Cm::BlockArray< PxNodeIndex > &edgeNodeIndices, PxArray< PartitionEdge * > *destroyedPartitionEdges, PxU64 contextID)
 
void resize (const PxU32 nbNodes, const PxU32 nbContactManagers, const PxU32 nbConstraints)
 
void addRigidBody (PxsRigidBody *body, bool isKinematic, bool isActive, PxNodeIndex nodeIndex)
 
void addArticulation (Sc::ArticulationSim *articulation, Dy::FeatherstoneArticulation *llArtic, bool isActive, PxNodeIndex nodeIndex)
 
void addContactManager (PxsContactManager *manager, PxNodeIndex nodeHandle1, PxNodeIndex nodeHandle2, EdgeIndex handle)
 
void addConstraint (Dy::Constraint *constraint, PxNodeIndex nodeHandle1, PxNodeIndex nodeHandle2, EdgeIndex handle)
 
void activateNode (PxNodeIndex index)
 
void deactivateNode (PxNodeIndex index)
 
void putNodeToSleep (PxNodeIndex index)
 
void removeConnection (EdgeIndex edgeIndex)
 
PX_FORCE_INLINE PxU32 getNbNodes () const
 
PX_FORCE_INLINE PxU32 getNbActiveNodes (Node::NodeType type) const
 
PX_FORCE_INLINE const PxNodeIndex * getActiveNodes (Node::NodeType type) const
 
PX_FORCE_INLINE PxU32 getNbActiveKinematics () const
 
PX_FORCE_INLINE const PxNodeIndex * getActiveKinematics () const
 
PX_FORCE_INLINE PxU32 getNbNodesToActivate (Node::NodeType type) const
 
PX_FORCE_INLINE const PxNodeIndex * getNodesToActivate (Node::NodeType type) const
 
PX_FORCE_INLINE PxU32 getNbNodesToDeactivate (Node::NodeType type) const
 
PX_FORCE_INLINE const PxNodeIndex * getNodesToDeactivate (Node::NodeType type) const
 
PX_FORCE_INLINE PxU32 getNbActivatedEdges (Edge::EdgeType type) const
 
PX_FORCE_INLINE const EdgeIndex * getActivatedEdges (Edge::EdgeType type) const
 
PX_FORCE_INLINE PxU32 getNbActiveEdges (Edge::EdgeType type) const
 
PX_FORCE_INLINE PartitionEdge * getFirstPartitionEdge (IG::EdgeIndex edgeIndex) const
 
PX_FORCE_INLINE void setFirstPartitionEdge (IG::EdgeIndex edgeIndex, PartitionEdge *partitionEdge)
 
PX_FORCE_INLINE PxsRigidBody * getRigidBody (PxNodeIndex nodeIndex) const
 
PX_FORCE_INLINE Dy::FeatherstoneArticulation * getLLArticulation (PxNodeIndex nodeIndex) const
 
Sc::ArticulationSim * getArticulationSim (PxNodeIndex nodeIndex) const
 
PX_FORCE_INLINE void clearDeactivations ()
 
PX_FORCE_INLINE const Island & getIsland (IG::IslandId islandIndex) const
 
PX_FORCE_INLINE PxU32 getNbActiveIslands () const
 
PX_FORCE_INLINE const IslandId * getActiveIslands () const
 
PX_FORCE_INLINE PxU32 getNbDeactivatingEdges (const IG::Edge::EdgeType edgeType) const
 
PX_FORCE_INLINE const EdgeIndex * getDeactivatingEdges (const IG::Edge::EdgeType edgeType) const
 
PX_FORCE_INLINE PxU32 getNbDestroyedEdges () const
 
PX_FORCE_INLINE const EdgeIndex * getDestroyedEdges () const
 
PX_FORCE_INLINE PxU32 getNbDestroyedPartitionEdges () const
 
PX_FORCE_INLINE const PartitionEdge *const * getDestroyedPartitionEdges () const
 
PX_FORCE_INLINE PartitionEdge ** getDestroyedPartitionEdges ()
 
PX_FORCE_INLINE PxU32 getNbDirtyEdges (IG::Edge::EdgeType type) const
 
PX_FORCE_INLINE const EdgeIndex * getDirtyEdges (IG::Edge::EdgeType type) const
 
PX_FORCE_INLINE const Edge & getEdge (const EdgeIndex edgeIndex) const
 
PX_FORCE_INLINE Edge & getEdge (const EdgeIndex edgeIndex)
 
PX_FORCE_INLINE const Node & getNode (const PxNodeIndex &nodeIndex) const
 
PX_FORCE_INLINE const Island & getIsland (const PxNodeIndex &nodeIndex) const
 
PX_FORCE_INLINE PxU32 getIslandStaticTouchCount (const PxNodeIndex &nodeIndex) const
 
PX_FORCE_INLINE const PxBitMap & getActiveContactManagerBitmap () const
 
PX_FORCE_INLINE PxU32 getActiveNodeIndex (const PxNodeIndex &nodeIndex) const
 
PX_FORCE_INLINE const PxU32 * getActiveNodeIndex () const
 
PX_FORCE_INLINE PxU32 getNbActiveNodeIndex () const
 
void setKinematic (PxNodeIndex nodeIndex)
 
void setDynamic (PxNodeIndex nodeIndex)
 
PX_FORCE_INLINE void setEdgeNodeIndexPtr (PxU32 *ptr)
 
PX_FORCE_INLINE PxNodeIndex getNodeIndex1 (IG::EdgeIndex index) const
 
PX_FORCE_INLINE PxNodeIndex getNodeIndex2 (IG::EdgeIndex index) const
 
PX_FORCE_INLINE PxU32 * getEdgeNodeIndexPtr () const
 
PX_FORCE_INLINE PxU64 getContextId () const
 
PxU32 getNbIslands () const
 
const PxU32 * getIslandStaticTouchCount () const
 
const PxU32 * getIslandIds () const
 
bool checkInternalConsistency ()
 
PX_INLINE void activateNode_ForGPUSolver (PxNodeIndex index)
 
PX_INLINE void deactivateNode_ForGPUSolver (PxNodeIndex index)
 

Friends

class SimpleIslandManager
 
class ThirdPassTask
 

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