|
RavEngine
|
class representing a rigid euclidean transform as a quaternion and a vector More...
#include <PxTransform.h>
Public Member Functions | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxTransformT (const PxVec3T< Type > &position) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxTransformT (PxIDENTITY) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxTransformT (const PxQuatT< Type > &orientation) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxTransformT (Type x, Type y, Type z, PxQuatT< Type > aQ=PxQuatT< Type >(PxIdentity)) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxTransformT (const PxVec3T< Type > &p0, const PxQuatT< Type > &q0) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxTransformT (const PxMat44T< Type > &m) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE void | operator= (const PxTransformT &other) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxTransformT (const PxTransformT &other) |
| PX_CUDA_CALLABLE PX_INLINE bool | operator== (const PxTransformT &t) const |
| returns true if the two transforms are exactly equal | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxTransformT | operator* (const PxTransformT &x) const |
| PX_CUDA_CALLABLE PX_INLINE PxTransformT & | operator*= (const PxTransformT &other) |
| Equals matrix multiplication. | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxTransformT | getInverse () const |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3T< Type > | transform (const PxVec3T< Type > &input) const |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3T< Type > | transformInv (const PxVec3T< Type > &input) const |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3T< Type > | rotate (const PxVec3T< Type > &input) const |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3T< Type > | rotateInv (const PxVec3T< Type > &input) const |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxTransformT | transform (const PxTransformT &src) const |
| Transform transform to parent (returns compound transform: first src, then *this) | |
| PX_CUDA_CALLABLE bool | isValid () const |
| returns true if finite and q is a unit quaternion | |
| PX_CUDA_CALLABLE bool | isSane () const |
| returns true if finite and quat magnitude is reasonably close to unit to allow for some accumulation of error vs isValid | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE bool | isFinite () const |
| returns true if all elems are finite (not NAN or INF, etc.) | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxTransformT | transformInv (const PxTransformT &src) const |
| Transform transform from parent (returns compound transform: first src, then this->inverse) | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxTransformT | getNormalized () const |
| return a normalized transform (i.e. one in which the quaternion has unit magnitude) | |
Public Attributes | |
| PxQuatT< Type > | q |
| PxVec3T< Type > | p |
class representing a rigid euclidean transform as a quaternion and a vector