RavEngine
Loading...
Searching...
No Matches
physx::Gu::HeightFieldUtil Class Reference
Inheritance diagram for physx::Gu::HeightFieldUtil:
[legend]
Collaboration diagram for physx::Gu::HeightFieldUtil:
[legend]

Public Member Functions

PX_FORCE_INLINE HeightFieldUtil (const PxHeightFieldGeometry &hfGeom)
 
PX_CUDA_CALLABLE PX_FORCE_INLINE const Gu::HeightField & getHeightField () const
 
PX_CUDA_CALLABLE PX_FORCE_INLINE const PxHeightFieldGeometry & getHeightFieldGeometry () const
 
PX_FORCE_INLINE PxReal getOneOverRowScale () const
 
PX_FORCE_INLINE PxReal getOneOverHeightScale () const
 
PX_FORCE_INLINE PxReal getOneOverColumnScale () const
 
void computeLocalBounds (PxBounds3 &bounds) const
 
PX_FORCE_INLINE PxReal getHeightAtShapePoint (PxReal x, PxReal z) const
 
PX_FORCE_INLINE PxVec3 getNormalAtShapePoint (PxReal x, PxReal z) const
 
PxU32 getTriangle (const PxTransform &, PxTriangle &worldTri, PxU32 *vertexIndices, PxU32 *adjacencyIndices, PxTriangleID triangleIndex, bool worldSpaceTranslation=true, bool worldSpaceRotation=true) const
 
void overlapAABBTriangles (const PxBounds3 &localBounds, OverlapReport &callback, PxU32 batchSize=HF_OVERLAP_REPORT_BUFFER_SIZE) const
 
PX_FORCE_INLINE void overlapAABBTriangles0to1 (const PxTransform &pose0to1, const PxBounds3 &bounds0, OverlapReport &callback, PxU32 batchSize=HF_OVERLAP_REPORT_BUFFER_SIZE) const
 
PX_FORCE_INLINE void overlapAABBTriangles (const PxTransform &pose1, const PxBounds3 &bounds0, OverlapReport &callback, PxU32 batchSize=HF_OVERLAP_REPORT_BUFFER_SIZE) const
 
PX_FORCE_INLINE void overlapAABBTriangles (const PxTransform &pose0, const PxTransform &pose1, const PxBounds3 &bounds0, OverlapReport &callback, PxU32 batchSize=HF_OVERLAP_REPORT_BUFFER_SIZE) const
 
PX_FORCE_INLINE PxVec3 hf2shapen (const PxVec3 &v) const
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3 shape2hfp (const PxVec3 &v) const
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3 hf2shapep (const PxVec3 &v) const
 
PX_INLINE PxVec3 hf2worldp (const PxTransform &pose, const PxVec3 &v) const
 
PX_INLINE PxVec3 hf2worldn (const PxTransform &pose, const PxVec3 &v) const
 

Public Attributes

PxReal mOneOverRowScale
 
PxReal mOneOverHeightScale
 
PxReal mOneOverColumnScale
 
const Gu::HeightField * mHeightField
 
const PxHeightFieldGeometry * mHfGeom
 

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