RavEngine
Loading...
Searching...
No Matches
physx::PxBVH34TriangleMesh Class Reference

A triangle mesh containing the PxMeshMidPhase::eBVH34 structure. More...

#include <PxTriangleMesh.h>

Inheritance diagram for physx::PxBVH34TriangleMesh:
[legend]
Collaboration diagram for physx::PxBVH34TriangleMesh:
[legend]

Protected Member Functions

PX_INLINE PxBVH34TriangleMesh (PxType concreteType, PxBaseFlags baseFlags)
 
PX_INLINE PxBVH34TriangleMesh (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::PxTriangleMesh
PX_INLINE PxTriangleMesh (PxType concreteType, PxBaseFlags baseFlags)
 
PX_INLINE PxTriangleMesh (PxBaseFlags baseFlags)
 
- Protected Member Functions inherited from physx::PxRefCounted
virtual void onRefCountZero ()
 
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
 

Additional Inherited Members

- Public Member Functions inherited from physx::PxTriangleMesh
virtual PxU32 getNbVertices () const =0
 Returns the number of vertices.
 
virtual const PxVec3 * getVertices () const =0
 Returns the vertices.
 
virtual PxVec3 * getVerticesForModification ()=0
 Returns all mesh vertices for modification.
 
virtual PxBounds3 refitBVH ()=0
 Refits BVH for mesh vertices.
 
virtual PxU32 getNbTriangles () const =0
 Returns the number of triangles.
 
virtual const void * getTriangles () const =0
 Returns the triangle indices.
 
virtual PxTriangleMeshFlags getTriangleMeshFlags () const =0
 Reads the PxTriangleMesh flags.
 
virtual const PxU32 * getTrianglesRemap () const =0
 Returns the triangle remapping table.
 
virtual void release ()=0
 Decrements the reference count of a triangle mesh and releases it if the new reference count is zero.

 
virtual PxMaterialTableIndex getTriangleMaterialIndex (PxTriangleID triangleIndex) const =0
 Returns material table index of given triangle.
 
virtual PxBounds3 getLocalBounds () const =0
 Returns the local-space (vertex space) AABB from the triangle mesh.
 
virtual const PxReal * getSDF () const =0
 Returns the local-space Signed Distance Field for this mesh if it has one.
 
virtual void getSDFDimensions (PxU32 &numX, PxU32 &numY, PxU32 &numZ) const =0
 Returns the resolution of the local-space dense SDF.
 
virtual void setPreferSDFProjection (bool preferProjection)=0
 Sets whether this mesh should be preferred for SDF projection.
 
virtual bool getPreferSDFProjection () const =0
 Returns whether this mesh prefers SDF projection.
 
virtual void getMassInformation (PxReal &mass, PxMat33 &localInertia, PxVec3 &localCenterOfMass) const =0
 Returns the mass properties of the mesh assuming unit density.
 
- Public Member Functions inherited from physx::PxRefCounted
virtual PxU32 getReferenceCount () const =0
 Returns the reference count of the object.
 
virtual void acquireReference ()=0
 Acquires a counted reference to this object.
 
- Public Member Functions inherited from physx::PxBase
virtual const char * getConcreteTypeName () const =0
 Returns string name of dynamic type.
 
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.
 
- Protected Attributes inherited from physx::PxBase
PxType mConcreteType
 
PxBaseFlags mBaseFlags
 
PxU32 mBuiltInRefCount
 

Detailed Description

A triangle mesh containing the PxMeshMidPhase::eBVH34 structure.

See also
PxMeshMidPhase

Member Function Documentation

◆ isKindOf()

virtual bool physx::PxBVH34TriangleMesh::isKindOf ( const char *  superClass) const
inlineprotectedvirtual

Returns whether a given type name matches with the type of this instance.

Reimplemented from physx::PxTriangleMesh.


The documentation for this class was generated from the following file: