29#ifndef PX_TETRAHEDRON_MESH_DESC_H
30#define PX_TETRAHEDRON_MESH_DESC_H
35#include "PxPhysXConfig.h"
36#include "foundation/PxVec3.h"
37#include "foundation/PxFlags.h"
38#include "common/PxCoreUtilityTypes.h"
39#include "geometry/PxSimpleTriangleMesh.h"
40#include "foundation/PxArray.h"
PX_FORCE_INLINE uint32_t size() const
Definition PxArray.h:242
PX_FORCE_INLINE ConstIterator begin() const
Definition PxArray.h:176
**
Definition PxTetrahedronMeshDesc.h:194
PxSoftBodySimulationDataDesc(physx::PxArray< physx::PxI32 > &vertToTet)
Constructor to build a simulation description with a defined vertex to tetrahedron mapping.
Definition PxTetrahedronMeshDesc.h:215
PxSoftBodySimulationDataDesc()
Constructor to build an empty simulation description.
Definition PxTetrahedronMeshDesc.h:205
PxBoundedData vertexToTet
Pointer to first index of tetrahedron that contains the vertex at the same location in the vertex buf...
Definition PxTetrahedronMeshDesc.h:200
Descriptor class for #PxTetrahedronMesh (contains only pure geometric data).
Definition PxTetrahedronMeshDesc.h:52
PxMeshFormat
Defines the tetrahedron structure of a mesh.
Definition PxTetrahedronMeshDesc.h:59
@ eTET_MESH
Normal tetmesh with arbitrary tetrahedra.
Definition PxTetrahedronMeshDesc.h:60
@ eHEX_MESH
6 tetrahedra in a row will form a hexahedron
Definition PxTetrahedronMeshDesc.h:61
PxBoundedData points
Pointer to first vertex point.
Definition PxTetrahedronMeshDesc.h:86
PxTetrahedronMeshDesc()
Constructor to build an empty tetmesh description.
Definition PxTetrahedronMeshDesc.h:121
PxMeshFlags flags
Flags bits, combined from values of the enum ::PxMeshFlag.
Definition PxTetrahedronMeshDesc.h:109
PxTypedStridedData< PxFEMMaterialTableIndex > materialIndices
Definition PxTetrahedronMeshDesc.h:81
PxU16 tetsPerElement
Used for simulation meshes only. Defines if this tet mesh should be simulated as a tet mesh,...
Definition PxTetrahedronMeshDesc.h:116
PxBoundedData tetrahedrons
Pointer to first tetrahedron.
Definition PxTetrahedronMeshDesc.h:103
PxTetrahedronMeshDesc(physx::PxArray< physx::PxVec3 > &meshVertices, physx::PxArray< physx::PxU32 > &meshTetIndices, const PxTetrahedronMeshDesc::PxMeshFormat meshFormat=eTET_MESH)
Constructor to build a tetmeshdescription that links to the vertices and indices provided.
Definition PxTetrahedronMeshDesc.h:137
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
Definition PxCoreUtilityTypes.h:96
@ e16_BIT_INDICES
Denotes the use of 16-bit vertex indices.
Definition PxSimpleTriangleMesh.h:66
PxU32 stride
The offset in bytes between consecutive samples in the data.
Definition PxCoreUtilityTypes.h:51
Definition PxCoreUtilityTypes.h:69