32#include "PxAggregate.h"
50 void preExportDataReset();
58 NpAggregate(PxU32 maxActors, PxU32 maxShapes, PxAggregateFilterHint filterHint);
75 PX_FORCE_INLINE PxU32 getMaxNbShapesFast()
const {
return mMaxNbShapes; }
81 PX_FORCE_INLINE bool getSelfCollideFast()
const {
return PxGetAggregateSelfCollisionBit(mFilterHint)!=0; }
82 PX_FORCE_INLINE PxAggregateFilterHint getFilterHint()
const {
return mFilterHint; }
85 void removeAndReinsert(
PxActor& actor,
bool reinsert);
86 bool removeActorAndReinsert(
PxActor& actor,
bool reinsert);
90 void scRemoveActor(
NpActor& actor,
bool reinsert);
98 PxAggregateFilterHint mFilterHint;
Definition NpAggregate.h:40
virtual bool removeActor(PxActor &) PX_OVERRIDE
Removes an actor from the aggregate object.
Definition NpAggregate.cpp:268
virtual PxScene * getScene() PX_OVERRIDE
Retrieves the scene which this aggregate belongs to.
Definition NpAggregate.cpp:410
virtual PxU32 getNbActors() const PX_OVERRIDE
Returns the number of actors contained in the aggregate.
Definition NpAggregate.cpp:386
virtual bool addArticulation(PxArticulationReducedCoordinate &) PX_OVERRIDE
Adds an articulation to the aggregate object.
Definition NpAggregate.cpp:304
virtual bool removeArticulation(PxArticulationReducedCoordinate &) PX_OVERRIDE
Removes an articulation from the aggregate object.
Definition NpAggregate.cpp:373
virtual bool getSelfCollision() const PX_OVERRIDE
Retrieves aggregate's self-collision flag.
Definition NpAggregate.cpp:415
virtual bool addActor(PxActor &, const PxBVH *) PX_OVERRIDE
Adds an actor to the aggregate object.
Definition NpAggregate.cpp:175
virtual PxU32 getMaxNbActors() const PX_OVERRIDE
Retrieves max amount of actors that can be contained in the aggregate.
Definition NpAggregate.cpp:392
virtual PxU32 getMaxNbShapes() const PX_OVERRIDE
Retrieves max amount of shapes that can be contained in the aggregate.
Definition NpAggregate.cpp:398
virtual PxU32 getActors(PxActor **userBuffer, PxU32 bufferSize, PxU32 startIndex) const PX_OVERRIDE
Retrieve all actors contained in the aggregate.
Definition NpAggregate.cpp:404
virtual void release() PX_OVERRIDE
Deletes the aggregate object.
Definition NpAggregate.cpp:113
PxActor is the base class for the main simulation objects in the physics SDK.
Definition PxActor.h:201
Class to aggregate actors into a single broad-phase entry.
Definition PxAggregate.h:98
A tree structure of bodies connected by joints that is treated as a unit by the dynamics solver....
Definition PxArticulationReducedCoordinate.h:448
Class representing a bounding volume hierarchy.
Definition PxBVH.h:63
Binary deserialization context class.
Definition PxSerialFramework.h:174
Output stream class for I/O.
Definition PxIO.h:114
Callback class used to process PxBase objects.
Definition PxSerialFramework.h:81
A scene is a collection of bodies and constraints which can interact.
Definition PxScene.h:178
Binary serialization context class.
Definition PxSerialFramework.h:99
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
#define PX_OVERRIDE
Definition PxPreprocessor.h:375
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39