PxTriangleMeshGeometry Class Reference
[Geomutils]
Triangle mesh geometry class.
More...
#include <PxTriangleMeshGeometry.h>
Inheritance diagram for PxTriangleMeshGeometry:
![Inheritance graph](classPxTriangleMeshGeometry__inherit__graph.png)
Collaboration diagram for PxTriangleMeshGeometry:
![Collaboration graph](classPxTriangleMeshGeometry__coll__graph.png)
Public Member Functions | |
PX_INLINE | PxTriangleMeshGeometry () |
PX_INLINE | PxTriangleMeshGeometry (PxTriangleMesh *mesh, const PxMeshScale &scaling=PxMeshScale(), PxMeshGeometryFlags flags=PxMeshGeometryFlags()) |
PX_INLINE bool | isValid () const |
Returns true if the geometry is valid. | |
Public Attributes | |
PxMeshScale | scale |
The scaling transformation. | |
PxMeshGeometryFlags | meshFlags |
Some flags to control the simulated behavior of the mesh geometry. | |
PxPadding< 3 > | paddingFromFlags |
padding for mesh flags | |
PxTriangleMesh * | triangleMesh |
A reference to the mesh object. |
Detailed Description
Triangle mesh geometry class.This class unifies a mesh object with a scaling transform, and lets the combined object be used anywhere a PxGeometry is needed.
The scaling is a transform along arbitrary axes contained in the scale object. The vertices of the mesh in geometry (or shape) space is the PxMeshScale::toMat33() transform, multiplied by the vertex space vertices in the PxConvexMesh object.
Constructor & Destructor Documentation
PX_INLINE PxTriangleMeshGeometry::PxTriangleMeshGeometry | ( | ) | [inline] |
PX_INLINE PxTriangleMeshGeometry::PxTriangleMeshGeometry | ( | PxTriangleMesh * | mesh, | |
const PxMeshScale & | scaling = PxMeshScale() , |
|||
PxMeshGeometryFlags | flags = PxMeshGeometryFlags() | |||
) | [inline] |
Member Data Documentation
Some flags to control the simulated behavior of the mesh geometry.
padding for mesh flags
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com