29#ifndef PX_TETRAHEDRON_MESH_H
30#define PX_TETRAHEDRON_MESH_H
34#include "foundation/PxVec3.h"
35#include "foundation/PxBounds3.h"
36#include "foundation/PxUserAllocated.h"
37#include "common/PxPhysXCommonConfig.h"
38#include "common/PxBase.h"
82 virtual ~PxSoftBodyAuxData() {}
193 virtual ~PxTetrahedronMesh() {}
270 virtual ~PxSoftBodyMesh() {}
285 virtual void release() = 0;
336 virtual void release() = 0;
352 virtual void release() = 0;
Class representing 3D range or axis aligned bounding box.
Definition PxBounds3.h:58
Contains information about how to update the collision mesh's vertices given a deformed simulation te...
Definition PxTetrahedronMesh.h:283
Conbines PxTetrahedronMeshData and PxSoftBodyCollisionData.
Definition PxTetrahedronMesh.h:330
Container for bitfield flag variables associated with a specific enum type.
Definition PxFlags.h:73
Base class for ref-counted objects.
Definition PxBase.h:200
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxBase.h:231
Conbines PxTetrahedronMeshData and PxSoftBodyCollisionData.
Definition PxTetrahedronMesh.h:348
A data container providing mass, rest pose and other information required for softbody simulation.
Definition PxTetrahedronMesh.h:70
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxTetrahedronMesh.h:84
virtual void release()=0
Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is ze...
Stores data to accelerate collision detection of a tetrahedral mesh.
Definition PxTetrahedronMesh.h:297
A softbody mesh, containing structures to store collision shape, simulation shape and deformation sta...
Definition PxTetrahedronMesh.h:214
virtual PxTetrahedronMesh * getSimulationMesh()=0
Accecssor to the softbody's simulation mesh.
virtual const PxSoftBodyAuxData * getSoftBodyAuxData() const =0
Const accessor to the softbodies simulation state.
virtual const PxTetrahedronMesh * getCollisionMesh() const =0
Const accecssor to the softbody's collision mesh.
virtual PxTetrahedronMesh * getCollisionMesh()=0
Accecssor to the softbody's collision mesh.
virtual void release()=0
Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is ze...
virtual PxSoftBodyAuxData * getSoftBodyAuxData()=0
Accessor to the softbody's auxilary data like mass and rest pose information.
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxTetrahedronMesh.h:272
virtual const PxTetrahedronMesh * getSimulationMesh() const =0
Const accessor to the softbody's simulation mesh.
Stores data to compute and store the state of a deformed tetrahedral mesh.
Definition PxTetrahedronMesh.h:319
Contains raw geometry information describing the tetmesh's vertices and its elements (tetrahedra)
Definition PxTetrahedronMesh.h:308
A tetramedron mesh, also called a 'tetrahedron soup'.
Definition PxTetrahedronMesh.h:115
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxTetrahedronMesh.h:195
virtual void release()=0
Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is ze...
virtual const PxU32 * getTetrahedraRemap() const =0
Returns the tetrahedra remapping table.
virtual const PxVec3 * getVertices() const =0
Returns the vertices.
virtual PxU32 getNbTetrahedrons() const =0
Returns the number of tetrahedrons.
virtual PxTetrahedronMeshFlags getTetrahedronMeshFlags() const =0
Reads the PxTetrahedronMesh flags.
virtual PxBounds3 getLocalBounds() const =0
Returns the local-space (vertex space) AABB from the tetrahedron mesh.
virtual PxU32 getNbVertices() const =0
Returns the number of vertices.
virtual const void * getTetrahedrons() const =0
Returns the tetrahedron indices.
Definition PxUserAllocated.h:43
3 Element vector class.
Definition PxVec3.h:50
#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
PxFlags< PxTetrahedronMeshFlag::Enum, PxU8 > PxTetrahedronMeshFlags
collection of set bits defined in PxTetrahedronMeshFlag.
Definition PxTetrahedronMesh.h:58
Definition PxTetrahedronMesh.h:46
Enum
Definition PxTetrahedronMesh.h:48
@ e16_BIT_INDICES
The tetrahedron mesh has 16bits vertex indices.
Definition PxTetrahedronMesh.h:49