29#ifndef NP_SHAPE_MANAGER_H
30#define NP_SHAPE_MANAGER_H
33#include "CmPtrTable.h"
36#if PX_ENABLE_DEBUG_VISUALIZATION
37 #include "common/PxRenderOutput.h"
39 PX_CATCH_UNDEFINED_ENABLE_DEBUG_VISUALIZATION
49 class PruningStructure;
57 typedef PxSQCompoundHandle NpCompoundId;
58 static const NpCompoundId NP_INVALID_COMPOUND_ID = NpCompoundId(Sq::INVALID_COMPOUND_ID);
72 void preExportDataReset();
79 PX_FORCE_INLINE PxU32 getNbShapes()
const {
return mShapes.getCount(); }
81 PxU32 getShapes(
PxShape** buffer, PxU32 bufferSize, PxU32 startIndex=0)
const;
106 PX_FORCE_INLINE bool isSqCompound()
const {
return mShapes.mFreeSlot != NP_INVALID_COMPOUND_ID; }
107 PX_FORCE_INLINE NpCompoundId getCompoundID()
const {
return mShapes.mFreeSlot; }
108 PX_FORCE_INLINE void setCompoundID(NpCompoundId
id) { mShapes.mFreeSlot = id; }
112#if PX_ENABLE_DEBUG_VISUALIZATION
115 PX_CATCH_UNDEFINED_ENABLE_DEBUG_VISUALIZATION
125 void releaseExclusiveUserReferences();
Represents a BVH.
Definition GuBVH.h:93
Definition NpShapeManager.h:61
Class representing 3D range or axis aligned bounding box.
Definition PxBounds3.h:58
Binary deserialization context class.
Definition PxSerialFramework.h:174
Output stream class for I/O.
Definition PxIO.h:114
Definition PxRenderOutput.h:50
PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...
Definition PxRigidActor.h:53
Scene-queries external sub-system for PxScene-based objects.
Definition PxSceneQuerySystem.h:421
Binary serialization context class.
Definition PxSerialFramework.h:99
Abstract class for collision shapes.
Definition PxShape.h:146
Definition PxUserAllocated.h:43
Definition NpPruningStructure.h:44
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
PxEMPTY
Definition Px.h:87
Definition CmPtrTable.h:72