27#ifndef PX_PHYSICS_FEMCLOTH_SIM
28#define PX_PHYSICS_FEMCLOTH_SIM
30#include "foundation/PxUserAllocated.h"
31#include "DyFEMCloth.h"
32#include "ScFEMClothCore.h"
33#include "ScFEMClothShapeSim.h"
34#include "ScActorSim.h"
50 virtual PxActor* getPxActor()
const {
return getCore().getPxActor(); }
53 void updateBoundsInAABBMgr();
56 bool isSleeping()
const;
59 void setActive(
const bool b,
const PxU32 infoFlag = 0);
61 void onSetWakeCounter();
65 virtual void registerCountedInteraction() { mNumCountedInteractions++; }
66 virtual void unregisterCountedInteraction() { mNumCountedInteractions--; }
67 virtual PxU32 getNumCountedInteractions()
const {
return mNumCountedInteractions; }
69 virtual void activate();
70 virtual void deactivate();
81 PxU32 mNumCountedInteractions;
82 PxU32 mIslandNodeIndex;
Definition DyFEMCloth.h:50
PxActor is the base class for the main simulation objects in the physics SDK.
Definition PxActor.h:201
Class representing 3D range or axis aligned bounding box.
Definition PxBounds3.h:58
Definition ScActorSim.h:83
Definition ScFEMClothCore.h:54
Definition ScFEMClothShapeSim.h:43
Definition ScFEMClothSim.h:42
Definition ScShapeCore.h:46
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39