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

Public Member Functions

 SoftBodySim (SoftBodyCore &core, Scene &scene)
 
PX_INLINE Dy::SoftBody * getLowLevelSoftBody () const
 
PX_INLINE SoftBodyCore & getCore () const
 
virtual PxActor * getPxActor () const
 
void updateBounds ()
 
void updateBoundsInAABBMgr ()
 
PxBounds3 getBounds () const
 
bool isSleeping () const
 
bool isActive () const
 
void setActive (const bool b, const PxU32 infoFlag=0)
 
void enableSelfCollision ()
 
void disableSelfCollision ()
 
void onSetWakeCounter ()
 
void attachShapeCore (ShapeCore *core)
 
void attachSimulationMesh (PxTetrahedronMesh *simulationMesh, PxSoftBodyAuxData *simulationState)
 
PxTetrahedronMesh * getSimulationMesh ()
 
PxSoftBodyAuxData * getSoftBodyAuxData ()
 
PxTetrahedronMesh * getCollisionMesh ()
 
virtual void registerCountedInteraction ()
 
virtual void unregisterCountedInteraction ()
 
virtual PxU32 getNumCountedInteractions () const
 
virtual void activate ()
 
virtual void deactivate ()
 
PxU32 getGpuSoftBodyIndex ()
 
SoftBodyShapeSim & getShapeSim ()
 
- Public Member Functions inherited from physx::Sc::ActorSim
 ActorSim (Scene &, ActorCore &)
 
PX_FORCE_INLINE Scene & getScene () const
 
PX_FORCE_INLINE PxU32 getActorInteractionCount () const
 
PX_FORCE_INLINE Interaction ** getActorInteractions () const
 
PX_FORCE_INLINE PxActorType::Enum getActorType () const
 
PX_FORCE_INLINE bool isDynamicRigid () const
 
PX_FORCE_INLINE bool isSoftBody () const
 
PX_FORCE_INLINE bool isFEMCloth () const
 
PX_FORCE_INLINE bool isParticleSystem () const
 
PX_FORCE_INLINE bool isHairSystem () const
 
PX_FORCE_INLINE bool isNonRigid () const
 
PX_FORCE_INLINE bool isStaticRigid () const
 
virtual void postActorFlagChange (PxU32, PxU32)
 
void setActorsInteractionsDirty (InteractionDirtyFlag::Enum flag, const ActorSim *other, PxU8 interactionFlag)
 
PX_FORCE_INLINE ActorCore & getActorCore () const
 
PX_FORCE_INLINE bool isActive () const
 
void setActive (bool active, PxU32 infoFlag=0)
 
PX_FORCE_INLINE PxU32 getActiveListIndex () const
 
PX_FORCE_INLINE void setActiveListIndex (PxU32 index)
 
PX_FORCE_INLINE PxU32 getActiveCompoundListIndex () const
 
PX_FORCE_INLINE void setActiveCompoundListIndex (PxU32 index)
 
PX_FORCE_INLINE PxNodeIndex getNodeIndex () const
 
PX_FORCE_INLINE PxU32 getActorID () const
 
PX_FORCE_INLINE PxU16 getInternalFlag () const
 
PX_FORCE_INLINE PxU16 readInternalFlag (InternalFlags flag) const
 
PX_FORCE_INLINE void raiseInternalFlag (InternalFlags flag)
 
PX_FORCE_INLINE void clearInternalFlag (InternalFlags flag)
 
virtual void internalWakeUp (PxReal wakeCounterValue=ScInternalWakeCounterResetValue)
 
- Public Member Functions inherited from physx::Sc::ShapeManager
PX_FORCE_INLINE PxU32 getNbElements () const
 
PX_FORCE_INLINE ElementSim ** getElements ()
 
PX_FORCE_INLINE ElementSim *const * getElements () const
 
void onElementDetach (ElementSim &element)
 
- 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)
 

Additional Inherited Members

- Public Types inherited from physx::Sc::ActorSim
enum  ActivityChangeInfoFlag { AS_PART_OF_CREATION = (1 << 0) , AS_PART_OF_ISLAND_GEN = (1 << 1) }
 
enum  InternalFlags {
  BF_HAS_STATIC_TOUCH = 1 << 1 , BF_KINEMATIC_MOVED = 1 << 2 , BF_ON_DEATHROW = 1 << 3 , BF_IS_IN_SLEEP_LIST = 1 << 4 ,
  BF_IS_IN_WAKEUP_LIST = 1 << 5 , BF_SLEEP_NOTIFY = 1 << 6 , BF_WAKEUP_NOTIFY = 1 << 7 , BF_HAS_CONSTRAINTS = 1 << 8 ,
  BF_KINEMATIC_SETTLING = 1 << 9 , BF_KINEMATIC_SETTLING_2 = 1 << 10 , BF_KINEMATIC_MOVE_FLAGS = BF_KINEMATIC_MOVED | BF_KINEMATIC_SETTLING | BF_KINEMATIC_SETTLING_2 , BF_KINEMATIC_SURFACE_VELOCITY = 1 << 11 ,
  BF_IS_COMPOUND_RIGID = 1 << 12
}
 
- Public Attributes inherited from physx::Sc::ShapeManager
Cm::PtrTable mShapes
 
- Protected Attributes inherited from physx::Sc::ActorSim
Interaction * mInlineInteractionMem [INLINE_INTERACTION_CAPACITY]
 
Cm::OwnedArray< Sc::Interaction *, Sc::ActorSim, PxU32, &Sc::ActorSim::reallocInteractions > mInteractions
 
Scene & mScene
 
ActorCore & mCore
 
PxU32 mActiveListIndex
 
PxU32 mActiveCompoundListIndex
 
PxNodeIndex mNodeIndex
 
PxU32 mId
 
PxU16 mInternalFlags
 
- Static Protected Attributes inherited from physx::Sc::ActorSim
static const PxU32 INLINE_INTERACTION_CAPACITY = 4
 

Member Function Documentation

◆ activate()

virtual void physx::Sc::SoftBodySim::activate ( )
virtual

Reimplemented from physx::Sc::ActorSim.

◆ deactivate()

virtual void physx::Sc::SoftBodySim::deactivate ( )
virtual

Reimplemented from physx::Sc::ActorSim.

◆ getNumCountedInteractions()

virtual PxU32 physx::Sc::SoftBodySim::getNumCountedInteractions ( ) const
inlinevirtual

Reimplemented from physx::Sc::ActorSim.

◆ getPxActor()

virtual PxActor * physx::Sc::SoftBodySim::getPxActor ( ) const
inlinevirtual

Implements physx::Sc::ActorSim.

◆ registerCountedInteraction()

virtual void physx::Sc::SoftBodySim::registerCountedInteraction ( )
inlinevirtual

Reimplemented from physx::Sc::ActorSim.

◆ unregisterCountedInteraction()

virtual void physx::Sc::SoftBodySim::unregisterCountedInteraction ( )
inlinevirtual

Reimplemented from physx::Sc::ActorSim.


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