31#include "foundation/PxSimpleTypes.h"
32#include "DyFEMClothCore.h"
45 typedef size_t FEMClothHandle;
55 mSim(sim), mCore(core), mElementId(0xffffffff), mGpuRemapId(0xffffffff)
66 mGpuRemapId = remapId;
68 geom.materialsLL.gpuRemapId = remapId;
79 PX_FORCE_INLINE void setElementId(
const PxU32 elementId) { mElementId = elementId; }
89 PX_FORCE_INLINE PxU16 getIterationCounts()
const {
return mCore.solverIterationCounts; }
91 void addAttachmentHandle(PxU32 handle);
92 void removeAttachmentHandle(PxU32 handle);
95 PxU16 maxSolverFrictionProgress;
96 PxU16 maxSolverNormalProgress;
98 PxU8 numTotalConstraints;
118 return reinterpret_cast<FEMCloth*
>(handle);
123 mAttachmentHandles.
pushBack(handle);
127 for (PxU32 i = 0; i < mAttachmentHandles.
size(); ++i)
129 if (mAttachmentHandles[i] == handle)
Definition DyFEMCloth.h:50
PX_FORCE_INLINE uint32_t size() const
Definition PxArray.h:242
PX_FORCE_INLINE T & pushBack(const T &a)
Definition PxArray.h:296
PX_INLINE void replaceWithLast(uint32_t i)
Definition PxArray.h:345
PxTriangleMesh * triangleMesh
A reference to the mesh object.
Definition PxTriangleMeshGeometry.h:138
A triangle mesh, also called a 'polygon soup'.
Definition PxTriangleMesh.h:118
Definition ScFEMClothSim.h:42
#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
Definition DyFEMClothCore.h:47
Definition DyFEMCloth.h:112
Definition PxvGeometry.h:115
Definition PxvGeometry.h:221