32#include "foundation/PxBounds3.h"
33#include "foundation/PxUserAllocated.h"
34#include "foundation/PxFlags.h"
177 virtual bool setTransform(Gu::PrunerHandle handle, PrunerCompoundId compoundId,
const PxTransform& transform) = 0;
180 virtual const PxTransform& getTransform(PrunerCompoundId compoundId)
const = 0;
182 virtual void visualizeEx(
PxRenderOutput& out, PxU32 color,
bool drawStatic,
bool drawDynamic)
const = 0;
Represents a BVH.
Definition GuBVH.h:93
Definition GuBounds.h:115
Class representing 3D range or axis aligned bounding box.
Definition PxBounds3.h:58
Container for bitfield flag variables associated with a specific enum type.
Definition PxFlags.h:73
Definition PxRenderOutput.h:50
3 Element vector class.
Definition PxVec3.h:50
virtual void updateObjectAfterManualBoundsUpdates(PrunerCompoundId compoundId, const Gu::PrunerHandle handle)=0
virtual bool updateCompound(PrunerCompoundId compoundId, const PxTransform &transform)=0
virtual bool raycast(const PxVec3 &origin, const PxVec3 &unitDir, PxReal &inOutDistance, CompoundPrunerRaycastCallback &, PxCompoundPrunerQueryFlags flags) const =0
virtual const Gu::PrunerPayload & getPayloadData(Gu::PrunerHandle handle, PrunerCompoundId compoundId, Gu::PrunerPayloadData *data) const =0
Retrieves the object's payload and data associated with the handle.
virtual void preallocate(PxU32 nbEntries)=0
Preallocate space.
virtual bool addCompound(Gu::PrunerHandle *results, const Gu::BVH &bvh, PrunerCompoundId compoundId, const PxTransform &transform, bool isDynamic, const Gu::PrunerPayload *data, const PxTransform *transforms)=0
Adds compound to the pruner.
virtual bool removeCompound(PrunerCompoundId compoundId, Gu::PrunerPayloadRemovalCallback *removalCallback)=0
virtual void removeObject(PrunerCompoundId compoundId, const Gu::PrunerHandle handle, Gu::PrunerPayloadRemovalCallback *removalCallback)=0
virtual bool addObject(PrunerCompoundId compoundId, Gu::PrunerHandle &result, const PxBounds3 &bounds, const Gu::PrunerPayload userData, const PxTransform &transform)=0
Adds object to the pruner.
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition GuPrunerPayload.h:55
Definition GuPrunerPayload.h:63
Definition GuPrunerPayload.h:43
Compound-pruner-specific flags for scene queries.
Definition SqPruner.h:51
Enum
Definition SqPruner.h:53
@ eSTATIC
Traverse static compounds.
Definition SqPruner.h:54
@ eDYNAMIC
Traverse dynamic compounds.
Definition SqPruner.h:55