|
RavEngine
|
Public Member Functions | |
| TetrahedronMesh (PxU32 nbVertices, PxVec3 *vertices, PxU32 nbTetrahedrons, void *tetrahedrons, PxU8 flags, PxBounds3 aabb, PxReal geomEpsilon) | |
| TetrahedronMesh (TetrahedronMeshData &mesh) | |
| TetrahedronMesh (MeshFactory *meshFactory, TetrahedronMeshData &mesh) | |
| virtual const char * | getConcreteTypeName () const |
| Returns string name of dynamic type. | |
| virtual void | acquireReference () |
| Acquires a counted reference to this object. | |
| virtual PxU32 | getReferenceCount () const |
| Returns the reference count of the object. | |
| virtual void | release () |
| Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is zero. | |
| virtual void | onRefCountZero () |
| virtual PxU32 | getNbVertices () const |
| Returns the number of vertices. | |
| virtual const PxVec3 * | getVertices () const |
| Returns the vertices. | |
| virtual PxU32 | getNbTetrahedrons () const |
| Returns the number of tetrahedrons. | |
| virtual const void * | getTetrahedrons () const |
| Returns the tetrahedron indices. | |
| virtual PxTetrahedronMeshFlags | getTetrahedronMeshFlags () const |
| Reads the PxTetrahedronMesh flags. | |
| virtual const PxU32 * | getTetrahedraRemap () const |
| Returns the tetrahedra remapping table. | |
| PX_FORCE_INLINE PxU32 | getNbVerticesFast () const |
| PX_FORCE_INLINE PxVec3 * | getVerticesFast () const |
| PX_FORCE_INLINE PxU32 | getNbTetrahedronsFast () const |
| PX_FORCE_INLINE const void * | getTetrahedronsFast () const |
| PX_FORCE_INLINE bool | has16BitIndices () const |
| PX_FORCE_INLINE bool | hasPerTriangleMaterials () const |
| PX_FORCE_INLINE const PxU16 * | getMaterials () const |
| PX_FORCE_INLINE const CenterExtents & | getLocalBoundsFast () const |
| PX_FORCE_INLINE const CenterExtentsPadded & | getPaddedBounds () const |
| virtual PxBounds3 | getLocalBounds () const |
| Returns the local-space (vertex space) AABB from the tetrahedron mesh. | |
Public Member Functions inherited from physx::PxBase | |
| template<class T > | |
| T * | is () |
| template<class T > | |
| const T * | is () const |
| PX_FORCE_INLINE PxType | getConcreteType () const |
| Returns concrete type of object. | |
| PX_FORCE_INLINE void | setBaseFlag (PxBaseFlag::Enum flag, bool value) |
| Set PxBaseFlag | |
| PX_FORCE_INLINE void | setBaseFlags (PxBaseFlags inFlags) |
| Set PxBaseFlags | |
| PX_FORCE_INLINE PxBaseFlags | getBaseFlags () const |
| Returns PxBaseFlags. | |
| virtual bool | isReleasable () const |
| Whether the object is subordinate. | |
Public Member Functions inherited from physx::PxUserAllocated | |
| PX_INLINE void * | operator new (size_t, void *address) |
| PX_INLINE void | operator delete (void *, void *) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void * | operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete (void *ptr, Alloc alloc, const char *fileName, int line) |
| template<typename Alloc > | |
| PX_INLINE void | operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line) |
| PX_INLINE void | operator delete (void *ptr) |
| PX_INLINE void | operator delete[] (void *ptr) |
Public Attributes | |
| PxU32 | mNbVertices |
| PxVec3 * | mVertices |
| PxU32 | mNbTetrahedrons |
| void * | mTetrahedrons |
| PxU8 | mFlags |
| Flag whether indices are 16 or 32 bits wide. | |
| PxU16 * | mMaterialIndices |
| the size of the array is mNbTetrahedrons. | |
| CenterExtents | mAABB |
| PxReal | mGeomEpsilon |
| MeshFactory * | mMeshFactory |
Additional Inherited Members | |
Protected Member Functions inherited from physx::PxTetrahedronMesh | |
| PX_INLINE | PxTetrahedronMesh (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxTetrahedronMesh (PxBaseFlags baseFlags) |
| virtual bool | isKindOf (const char *name) const |
| Returns whether a given type name matches with the type of this instance. | |
Protected Member Functions inherited from physx::PxRefCounted | |
| PX_INLINE | PxRefCounted (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxRefCounted (PxBaseFlags baseFlags) |
Protected Member Functions inherited from physx::PxBase | |
| PX_INLINE | PxBase (PxType concreteType, PxBaseFlags baseFlags) |
| Constructor setting concrete type and base flags. | |
| PX_INLINE | PxBase (PxBaseFlags baseFlags) |
| Deserialization constructor setting base flags. | |
| virtual | ~PxBase () |
| Destructor. | |
| template<class T > | |
| bool | typeMatch () const |
Protected Attributes inherited from physx::PxBase | |
| PxType | mConcreteType |
| PxBaseFlags | mBaseFlags |
| PxU32 | mBuiltInRefCount |
|
inlinevirtual |
Acquires a counted reference to this object.
This method increases the reference count of the object by 1. Decrement the reference count by calling release()
Implements physx::PxRefCounted.
|
inlinevirtual |
Returns string name of dynamic type.
Implements physx::PxBase.
|
inlinevirtual |
Returns the local-space (vertex space) AABB from the tetrahedron mesh.
Implements physx::PxTetrahedronMesh.
|
inlinevirtual |
Returns the number of tetrahedrons.
Implements physx::PxTetrahedronMesh.
|
inlinevirtual |
Returns the number of vertices.
Implements physx::PxTetrahedronMesh.
|
inlinevirtual |
Returns the reference count of the object.
At creation, the reference count of the object is 1. Every other object referencing this object increments the count by 1. When the reference count reaches 0, and only then, the object gets destroyed automatically.
Implements physx::PxRefCounted.
|
inlinevirtual |
Returns the tetrahedra remapping table.
The tetrahedra are internally sorted according to various criteria. Hence the internal tetrahedron order does not always match the original (user-defined) order. The remapping table helps finding the old indices knowing the new ones:
remapTable[ internalTetrahedronIndex ] = originalTetrahedronIndex
Implements physx::PxTetrahedronMesh.
Reimplemented in physx::Gu::BVTetrahedronMesh.
|
inlinevirtual |
Reads the PxTetrahedronMesh flags.
See the list of flags PxTetrahedronMeshFlags
Implements physx::PxTetrahedronMesh.
|
inlinevirtual |
Returns the tetrahedron indices.
The indices can be 16 or 32bit depending on the number of tetrahedrons in the mesh. Call getTetrahedronMeshFlags() to know if the indices are 16 or 32 bits.
The number of indices is the number of tetrahedrons * 4.
Implements physx::PxTetrahedronMesh.
|
inlinevirtual |
Returns the vertices.
Implements physx::PxTetrahedronMesh.
|
virtual |
Reimplemented from physx::PxRefCounted.
|
inlinevirtual |
Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is zero.
Implements physx::PxTetrahedronMesh.