31 #ifndef PX_PHYSICS_NX_FILTERING 32 #define PX_PHYSICS_NX_FILTERING 64 eSOLVE_CONTACT = (1<<0),
73 eMODIFY_CONTACTS = (1<<1),
89 eNOTIFY_TOUCH_FOUND = (1<<2),
109 eNOTIFY_TOUCH_PERSISTS = (1<<3),
127 eNOTIFY_TOUCH_LOST = (1<<4),
147 eNOTIFY_TOUCH_CCD = (1<<5),
158 eNOTIFY_THRESHOLD_FORCE_FOUND = (1<<6),
172 eNOTIFY_THRESHOLD_FORCE_PERSISTS = (1<<7),
186 eNOTIFY_THRESHOLD_FORCE_LOST = (1<<8),
197 eNOTIFY_CONTACT_POINTS = (1<<9),
204 eDETECT_DISCRETE_CONTACT = (1<<10),
218 eDETECT_CCD_CONTACT = (1<<11),
232 ePRE_SOLVER_VELOCITY = (1<<12),
242 ePOST_SOLVER_VELOCITY = (1<<13),
258 eCONTACT_EVENT_POSE = (1<<14),
260 eNEXT_FREE = (1<<15),
265 eCONTACT_DEFAULT = eSOLVE_CONTACT | eDETECT_DISCRETE_CONTACT,
270 eTRIGGER_DEFAULT = eNOTIFY_TOUCH_FOUND | eNOTIFY_TOUCH_LOST | eDETECT_DISCRETE_CONTACT
335 eNOTIFY = (1<<3) | eCALLBACK,
384 word0 = word1 = word2 = word3 = 0;
429 return !(a == *
this);
467 eMAX_TYPE_COUNT = 16,
470 eUNDEFINED = eMAX_TYPE_COUNT-1
591 PxPairFlags& pairFlags,
const void* constantBlock,
PxU32 constantBlockSize);
664 virtual void pairLost(
PxU32 pairID,
669 bool objectRemoved) = 0;
Definition: GuContactBuffer.h:37
Definition: PxFiltering.h:480
Definition: PxFiltering.h:723
Definition: PxFiltering.h:467
PxFilterData is user-definable data which gets passed into the collision filtering shader and/or call...
Definition: PxFiltering.h:366
PxActor is the base class for the main simulation objects in the physics SDK.
Definition: PxActor.h:154
Enum
Definition: PxFiltering.h:57
Enum
Definition: PxFiltering.h:446
Abstract class for collision shapes.
Definition: PxShape.h:142
A static rigid body.
Definition: PxFiltering.h:452
PxFilterFlags(* PxSimulationFilterShader)(PxFilterObjectAttributes attributes0, PxFilterData filterData0, PxFilterObjectAttributes attributes1, PxFilterData filterData1, PxPairFlags &pairFlags, const void *constantBlock, PxU32 constantBlockSize)
Filter shader to specify handling of collision pairs.
Definition: PxFiltering.h:589
A dynamic rigid body.
Definition: PxFiltering.h:458
PX_INLINE void setToDefault()
(re)sets the structure to the default.
Definition: PxFiltering.h:400
Collection of flags describing the actions to take for a collision pair.
Definition: PxFiltering.h:55
Enum
Definition: PxFiltering.h:478
Definition: PxFiltering.h:713
static const PxU32 INVALID_FILTER_PAIR_INDEX
Definition: PxFiltering.h:48
PxU32 word1
Definition: PxFiltering.h:433
PxU32 PxFilterObjectAttributes
Structure which gets passed into the collision filtering shader and/or callback providing additional ...
Definition: PxFiltering.h:491
Identifies each type of filter object.
Definition: PxFiltering.h:444
PxU32 word2
Definition: PxFiltering.h:434
PX_INLINE PxFilterData(const PxEMPTY)
Definition: PxFiltering.h:375
Enum
Definition: PxFiltering.h:291
Definition: PxFiltering.h:699
Definition: PxFiltering.h:718
PX_INLINE PxFilterData()
Default constructor.
Definition: PxFiltering.h:382
PxU32 word0
Definition: PxFiltering.h:432
An articulation.
Definition: PxFiltering.h:464
Definition: PxFiltering.h:481
PxU32 word3
Definition: PxFiltering.h:435
PxFlags< PxPairFlag::Enum, PxU16 > PxPairFlags
Bitfield that contains a set of raised flags defined in PxPairFlag.
Definition: PxFiltering.h:279
Collection of flags describing the filter actions to take for a collision pair.
Definition: PxFiltering.h:289
Filter callback to specify handling of collision pairs.
Definition: PxFiltering.h:617
PX_INLINE PxFilterData(const PxFilterData &fd)
Copy constructor.
Definition: PxFiltering.h:390
PxFlags< PxFilterFlag::Enum, PxU16 > PxFilterFlags
Bitfield that contains a set of raised flags defined in PxFilterFlag.
Definition: PxFiltering.h:357
PxEMPTY
Definition: Px.h:70
virtual ~PxSimulationFilterCallback()
Definition: PxFiltering.h:696
PX_INLINE PxFilterObjectType::Enum PxGetFilterObjectType(PxFilterObjectAttributes attr)
Extract filter object type from the filter attributes of a collision pair object. ...
Definition: PxFiltering.h:502
Definition: PxFiltering.h:476
PX_INLINE bool PxFilterObjectIsKinematic(PxFilterObjectAttributes attr)
Specifies whether the collision object belongs to a kinematic rigid body.
Definition: PxFiltering.h:516
PX_INLINE bool PxFilterObjectIsTrigger(PxFilterObjectAttributes attr)
Specifies whether the collision object is a trigger shape.
Definition: PxFiltering.h:530
uint16_t PxU16
Definition: PxSimpleTypes.h:73
uint32_t PxU32
Definition: Px.h:48
#define PX_INLINE
Definition: PxPreprocessor.h:336
Enum
Definition: PxFiltering.h:701
PX_INLINE PxFilterData(PxU32 w0, PxU32 w1, PxU32 w2, PxU32 w3)
Constructor to set filter data initially.
Definition: PxFiltering.h:395