29#ifndef PX_PRUNING_STRUCTURE_H
30#define PX_PRUNING_STRUCTURE_H
34#include "PxPhysXConfig.h"
35#include "common/PxBase.h"
120 PX_INLINE PxPruningStructure(PxBaseFlags baseFlags) : PxBase(baseFlags) {}
121 virtual ~PxPruningStructure() {}
Base class for objects that can be members of a PxCollection.
Definition PxBase.h:73
virtual bool isKindOf(const char *superClass) const
Returns whether a given type name matches with the type of this instance.
Definition PxBase.h:179
A precomputed pruning structure to accelerate scene queries against newly added actors.
Definition PxPruningStructure.h:61
virtual const void * getDynamicMergeData() const =0
Gets the merge data for dynamic actors.
virtual PxU32 getNbRigidActors() const =0
Returns the number of rigid actors in the pruning structure.
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxPruningStructure.h:122
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition PxPruningStructure.h:117
virtual const void * getStaticMergeData() const =0
Gets the merge data for static actors.
virtual PxU32 getRigidActors(PxRigidActor **userBuffer, PxU32 bufferSize, PxU32 startIndex=0) const =0
Retrieve rigid actors in the pruning structure.
virtual void release()=0
Release this object.
PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...
Definition PxRigidActor.h:53
#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