RavEngine
Loading...
Searching...
No Matches
physx::PxMat34T< Type > Class Template Reference

#include <PxMat34.h>

Inheritance diagram for physx::PxMat34T< Type >:
[legend]

Public Member Functions

PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T ()
 Default constructor.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T (const PxVec3T< Type > &b0, const PxVec3T< Type > &b1, const PxVec3T< Type > &b2, const PxVec3T< Type > &b3)
 Construct from four base vectors.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T (Type values[])
 Construct from Type[12].
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T (const PxMat33T< Type > &other)
 Construct from a 3x3 matrix.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T (const PxMat33T< Type > &other, const PxVec3T< Type > &t)
 Construct from a 3x3 matrix and a translation vector.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T (const PxTransformT< Type > &other)
 Construct from a PxTransformT<Type>
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T (const PxMat34T &other)
 Copy constructor.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE const PxMat34T & operator= (const PxMat34T &other)
 Assignment operator.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE void setIdentity ()
 Set to identity matrix.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE bool operator== (const PxMat34T &other) const
 Equality operator.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE bool operator!= (const PxMat34T &other) const
 Inequality operator.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T operator- () const
 Unary minus.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T operator+ (const PxMat34T &other) const
 Add.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T operator- (const PxMat34T &other) const
 Subtract.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T operator* (Type scalar) const
 Scalar multiplication.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T operator* (const PxMat34T &other) const
 Matrix multiplication.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T operator* (const PxMat33T< Type > &other) const
 Matrix multiplication, extend the second matrix.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T & operator+= (const PxMat34T &other)
 Equals-add.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T & operator-= (const PxMat34T &other)
 Equals-sub.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T & operator*= (Type scalar)
 Equals scalar multiplication.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE Type operator() (PxU32 row, PxU32 col) const
 Element access, mathematical way!
 
PX_CUDA_CALLABLE PX_FORCE_INLINE Type & operator() (PxU32 row, PxU32 col)
 Element access, mathematical way!
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3T< Type > rotate (const PxVec3T< Type > &other) const
 Transform vector by matrix, equal to v' = M*v.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3T< Type > rotateTranspose (const PxVec3T< Type > &other) const
 Transform vector by transpose of matrix, equal to v' = M^t*v.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3T< Type > transform (const PxVec3T< Type > &other) const
 Transform point by matrix.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3T< Type > transformTranspose (const PxVec3T< Type > &other) const
 Transform point by transposed matrix.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T transformTranspose (const PxMat34T &other) const
 Transform point by transposed matrix.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat34T getInverseRT () const
 Invert matrix treating it as a rotation+translation matrix only.
 
PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3T< Type > & operator[] (PxU32 num)
 
PX_CUDA_CALLABLE PX_FORCE_INLINE const PxVec3T< Type > & operator[] (PxU32 num) const
 

Public Attributes

PxMat33T< Type > m
 
PxVec3T< Type > p
 

Friends

template<class Type2 >
PxMat34T< Type2 > operator* (const PxMat33T< Type2 > &a, const PxMat34T< Type2 > &b)
 

Detailed Description

template<class Type>
class physx::PxMat34T< Type >

Basic mathematical 3x4 matrix, implemented as a 3x3 rotation matrix and a translation

See PxMat33 for the format of the rotation matrix.


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