PxMeshScale Class Reference
[Geomutils]
A class expressing a nonuniform scaling transformation.
More...
#include <PxMeshScale.h>
Collaboration diagram for PxMeshScale:
Public Member Functions | |
PX_CUDA_CALLABLE PX_FORCE_INLINE | PxMeshScale () |
Constructor initializes to identity scale. | |
PX_CUDA_CALLABLE PX_FORCE_INLINE | PxMeshScale (const PxVec3 &s, const PxQuat &r) |
Constructor to initialize to arbitrary scaling. | |
PX_CUDA_CALLABLE PX_FORCE_INLINE bool | isIdentity () const |
Returns true if the scaling is an identity transformation. | |
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMeshScale | getInverse () const |
Returns the inverse of this scaling transformation. | |
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat33 | toMat33 () const |
Converts this transformation to a 3x3 matrix representation. | |
Static Public Member Functions | |
static PX_CUDA_CALLABLE PX_FORCE_INLINE PxMeshScale | createIdentity () |
Returns the identity scaling transformation. | |
Public Attributes | |
PxVec3 | scale |
A nonuniform scaling. | |
PxQuat | rotation |
The orientation of the scaling axes. |
Detailed Description
A class expressing a nonuniform scaling transformation.The scaling is along arbitrary axes that are specified by PxMeshScale::rotation.
- Note:
- Currently only positive scale values are supported.
Constructor & Destructor Documentation
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMeshScale::PxMeshScale | ( | ) | [inline] |
Constructor initializes to identity scale.
Member Function Documentation
static PX_CUDA_CALLABLE PX_FORCE_INLINE PxMeshScale PxMeshScale::createIdentity | ( | ) | [inline, static] |
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMeshScale PxMeshScale::getInverse | ( | ) | const [inline] |
Returns the inverse of this scaling transformation.
PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxMeshScale::isIdentity | ( | ) | const [inline] |
Returns true if the scaling is an identity transformation.
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat33 PxMeshScale::toMat33 | ( | ) | const [inline] |
Converts this transformation to a 3x3 matrix representation.
References PxMat33::column0, PxMat33::column1, PxMat33::column2, and PxMat33::getTranspose().
Member Data Documentation
The orientation of the scaling axes.
Referenced by PxTriangleMeshGeometry::isValid(), and PxConvexMeshGeometry::isValid().
A nonuniform scaling.
Referenced by PxTriangleMeshGeometry::isValid(), and PxConvexMeshGeometry::isValid().
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