31 #ifndef PX_PHYSICS_GEOMUTILS_NX_TRIANGLEMESH 32 #define PX_PHYSICS_GEOMUTILS_NX_TRIANGLEMESH 51 #define PX_ENABLE_DYNAMIC_MESH_RTREE 1 84 e16_BIT_INDICES = (1<<1),
85 eADJACENCY_INFO = (1<<2)
134 virtual PxU32 getNbVertices()
const = 0;
141 virtual const PxVec3* getVertices()
const = 0;
143 #if PX_ENABLE_DYNAMIC_MESH_RTREE 163 virtual PxVec3* getVerticesForModification() = 0;
183 #endif // PX_ENABLE_DYNAMIC_MESH_RTREE 190 virtual PxU32 getNbTriangles()
const = 0;
203 virtual const void* getTriangles()
const = 0;
228 virtual const PxU32* getTrianglesRemap()
const = 0;
236 virtual void release() = 0;
253 virtual PxBounds3 getLocalBounds()
const = 0;
263 virtual PxU32 getReferenceCount()
const = 0;
270 virtual void acquireReference() = 0;
Definition: GuContactBuffer.h:37
virtual ~PxTriangleMesh()
Definition: PxTriangleMesh.h:275
virtual ~PxBVH33TriangleMesh()
Definition: PxTriangleMesh.h:292
Mesh midphase structure. This enum is used to select the desired acceleration structure for midphase ...
Definition: PxTriangleMesh.h:64
virtual bool isKindOf(const char *superClass) const
Returns whether a given type name matches with the type of this instance.
Definition: PxBase.h:178
A triangle mesh, also called a 'polygon soup'.
Definition: PxTriangleMesh.h:126
Flags for the mesh geometry properties.
Definition: PxTriangleMesh.h:80
PxU16 PxType
Definition: PxBase.h:49
PX_INLINE PxBVH33TriangleMesh(PxBaseFlags baseFlags)
Definition: PxTriangleMesh.h:291
PX_INLINE PxBVH34TriangleMesh(PxType concreteType, PxBaseFlags baseFlags)
Definition: PxTriangleMesh.h:306
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxTriangleMesh.h:293
Enum
Definition: PxTriangleMesh.h:82
virtual ~PxBVH34TriangleMesh()
Definition: PxTriangleMesh.h:308
A triangle mesh containing the PxMeshMidPhase::eBVH33 structure.
Definition: PxTriangleMesh.h:286
PX_INLINE PxTriangleMesh(PxBaseFlags baseFlags)
Definition: PxTriangleMesh.h:274
Enum
Definition: PxTriangleMesh.h:66
PxU16 PxMaterialTableIndex
Definition: PxPhysXCommonConfig.h:117
PX_INLINE PxTriangleMesh(PxType concreteType, PxBaseFlags baseFlags)
Definition: PxTriangleMesh.h:273
uint8_t PxU8
Definition: PxSimpleTypes.h:75
PxFlags< PxTriangleMeshFlag::Enum, PxU8 > PxTriangleMeshFlags
collection of set bits defined in PxTriangleMeshFlag.
Definition: PxTriangleMesh.h:94
Class representing 3D range or axis aligned bounding box.
Definition: PxBounds3.h:58
A triangle mesh containing the PxMeshMidPhase::eBVH34 structure.
Definition: PxTriangleMesh.h:302
PxU32 PxTriangleID
Definition: PxPhysXCommonConfig.h:114
Container for bitfield flag variables associated with a specific enum type.
Definition: PxFlags.h:73
uint32_t PxU32
Definition: Px.h:48
PX_INLINE PxBVH33TriangleMesh(PxType concreteType, PxBaseFlags baseFlags)
Definition: PxTriangleMesh.h:290
Base class for objects that can be members of a PxCollection.
Definition: PxBase.h:73
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxTriangleMesh.h:277
#define PX_INLINE
Definition: PxPreprocessor.h:349
3 Element vector class.
Definition: PxVec3.h:49
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxTriangleMesh.h:309
PX_INLINE PxBVH34TriangleMesh(PxBaseFlags baseFlags)
Definition: PxTriangleMesh.h:307