CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdTrVisMatrix3x3Impl< DataType > Struct Template Reference

#include <TrVisMatrix.h>

Classes

struct  Copier
 

Public Types

typedef DataType EntryType
 

Public Member Functions

OdTrVisMatrix3x3Implset (const DataType *pVals)
 
OdTrVisMatrix3x3Implset (DataType e00=1.0f, DataType e01=0.0f, DataType e02=0.0f, DataType e10=0.0f, DataType e11=1.0f, DataType e12=0.0f, DataType e20=0.0f, DataType e21=0.0f, DataType e22=1.0f)
 
OdTrVisMatrix3x3ImplsetIdentity ()
 
const DataType * getArray (int nRow=0) const
 
DataType * getArray (int nRow=0)
 
DataType operator() (int i, int j) const
 
OdTrVisMiniVec3d< DataType > row (int n) const
 
OdTrVisMiniVec3d< DataType > column (int n) const
 
OdTrVisMatrix3x3Impl operator* (const OdTrVisMatrix3x3Impl &m) const
 
OdTrVisMatrix3x3Imploperator*= (const OdTrVisMatrix3x3Impl &m)
 
OdTrVisMatrix3x3Impl operator^ (const OdTrVisMatrix3x3Impl &m) const
 
OdTrVisMatrix3x3Imploperator^= (const OdTrVisMatrix3x3Impl &m)
 
OdTrVisMatrix3x3Implinvert (const DataType eps=1.e-8f)
 
OdTrVisMatrix3x3Impl operator~ () const
 
OdTrVisMatrix3x3Impltranspose ()
 
OdTrVisMatrix3x3Impl operator- () const
 
template<typename VectorType>
OdTrVisMatrix3x3Impl scale (const VectorType &v) const
 
template<typename VectorType>
OdTrVisMatrix3x3ImplsetScale (const VectorType &v)
 
template<typename VectorType>
OdTrVisMatrix3x3Impl recipScale (const VectorType &v) const
 
template<typename VectorType>
OdTrVisMatrix3x3ImplsetRecipScale (const VectorType &v)
 
OdTrVisMatrix3x3Imploperator*= (DataType n)
 
OdTrVisMatrix3x3Imploperator/= (DataType n)
 
template<typename VectorType>
OdTrVisMatrix3x3ImpllocalRotate (const VectorType &angles)
 
template<typename VectorType>
OdTrVisMatrix3x3Implrotate (DataType angle, const VectorType &v, const DataType eps=1.e-8f)
 
void removeScale ()
 
OdTrVisMiniVec3d< DataType > getScale () const
 
template<typename VectorType>
VectorType & transform (VectorType &vec, DataType=0.0f) const
 
template<typename VectorType>
VectorType transformClone (const VectorType &vec, DataType=0.0f) const
 
template<typename VectorType>
VectorType & untransform (VectorType &vec, DataType=0.0f) const
 
template<typename VectorType>
VectorType untransformClone (const VectorType &vec, DataType=0.0f) const
 

Static Public Member Functions

template<typename VectorType>
static OdTrVisMatrix3x3ImplscaleMatrix (OdTrVisMatrix3x3Impl &m, const VectorType &v, bool bInverse=false)
 
static OdTrVisMatrix3x3ImplscaleMatrix (OdTrVisMatrix3x3Impl &m, DataType s, bool bInverse=false)
 
template<typename VectorType>
static OdTrVisMatrix3x3ImpllocalRotationMatrix (OdTrVisMatrix3x3Impl &m, const VectorType &angles)
 
template<typename VectorType>
static OdTrVisMatrix3x3ImplrotationMatrix (OdTrVisMatrix3x3Impl &m, DataType angle, const VectorType &v, const DataType eps=1.e-8f)
 

Public Attributes

DataType entry [3][3]
 

Friends

OdTrVisMatrix3x3Impl operator* (const OdTrVisMatrix3x3Impl &m, DataType n)
 
OdTrVisMatrix3x3Impl operator* (DataType n, const OdTrVisMatrix3x3Impl &m)
 
OdTrVisMatrix3x3Impl operator/ (const OdTrVisMatrix3x3Impl &m, DataType n)
 
OdTrVisMatrix3x3Impl operator/ (DataType n, const OdTrVisMatrix3x3Impl &m)
 
template<typename VectorType>
VectorType operator* (const OdTrVisMatrix3x3Impl m, const VectorType &v)
 
template<typename VectorType>
VectorType operator* (const VectorType &v, const OdTrVisMatrix3x3Impl m)
 
template<typename VectorType>
VectorType operator^ (const OdTrVisMatrix3x3Impl m, const VectorType &v)
 
template<typename VectorType>
VectorType operator^ (const VectorType &v, const OdTrVisMatrix3x3Impl m)
 

Detailed Description

template<typename DataType>
struct OdTrVisMatrix3x3Impl< DataType >

Library: Source code provided. <group ExRender_Windows_Classes>

Definition at line 52 of file TrVisMatrix.h.

Member Typedef Documentation

◆ EntryType

template<typename DataType>
typedef DataType OdTrVisMatrix3x3Impl< DataType >::EntryType

Definition at line 58 of file TrVisMatrix.h.

Member Function Documentation

◆ column()

template<typename DataType>
OdTrVisMiniVec3d< DataType > OdTrVisMatrix3x3Impl< DataType >::column ( int n) const
inline

Definition at line 96 of file TrVisMatrix.h.

◆ getArray() [1/2]

template<typename DataType>
DataType * OdTrVisMatrix3x3Impl< DataType >::getArray ( int nRow = 0)
inline

Definition at line 91 of file TrVisMatrix.h.

◆ getArray() [2/2]

template<typename DataType>
const DataType * OdTrVisMatrix3x3Impl< DataType >::getArray ( int nRow = 0) const
inline

Definition at line 90 of file TrVisMatrix.h.

◆ getScale()

template<typename DataType>
OdTrVisMiniVec3d< DataType > OdTrVisMatrix3x3Impl< DataType >::getScale ( ) const
inline

Definition at line 288 of file TrVisMatrix.h.

◆ invert()

template<typename DataType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::invert ( const DataType eps = 1.e-8f)
inline

Definition at line 121 of file TrVisMatrix.h.

◆ localRotate()

template<typename DataType>
template<typename VectorType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::localRotate ( const VectorType & angles)
inline

Definition at line 239 of file TrVisMatrix.h.

◆ localRotationMatrix()

template<typename DataType>
template<typename VectorType>
static OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::localRotationMatrix ( OdTrVisMatrix3x3Impl< DataType > & m,
const VectorType & angles )
inlinestatic

Definition at line 219 of file TrVisMatrix.h.

◆ operator()()

template<typename DataType>
DataType OdTrVisMatrix3x3Impl< DataType >::operator() ( int i,
int j ) const
inline

Definition at line 92 of file TrVisMatrix.h.

◆ operator*()

template<typename DataType>
OdTrVisMatrix3x3Impl OdTrVisMatrix3x3Impl< DataType >::operator* ( const OdTrVisMatrix3x3Impl< DataType > & m) const
inline

Definition at line 99 of file TrVisMatrix.h.

◆ operator*=() [1/2]

template<typename DataType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::operator*= ( const OdTrVisMatrix3x3Impl< DataType > & m)
inline

Definition at line 107 of file TrVisMatrix.h.

◆ operator*=() [2/2]

template<typename DataType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::operator*= ( DataType n)
inline

Definition at line 201 of file TrVisMatrix.h.

◆ operator-()

template<typename DataType>
OdTrVisMatrix3x3Impl OdTrVisMatrix3x3Impl< DataType >::operator- ( ) const
inline

Definition at line 152 of file TrVisMatrix.h.

◆ operator/=()

template<typename DataType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::operator/= ( DataType n)
inline

Definition at line 213 of file TrVisMatrix.h.

◆ operator^()

template<typename DataType>
OdTrVisMatrix3x3Impl OdTrVisMatrix3x3Impl< DataType >::operator^ ( const OdTrVisMatrix3x3Impl< DataType > & m) const
inline

Definition at line 110 of file TrVisMatrix.h.

◆ operator^=()

template<typename DataType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::operator^= ( const OdTrVisMatrix3x3Impl< DataType > & m)
inline

Definition at line 118 of file TrVisMatrix.h.

◆ operator~()

template<typename DataType>
OdTrVisMatrix3x3Impl OdTrVisMatrix3x3Impl< DataType >::operator~ ( ) const
inline

Definition at line 142 of file TrVisMatrix.h.

◆ recipScale()

template<typename DataType>
template<typename VectorType>
OdTrVisMatrix3x3Impl OdTrVisMatrix3x3Impl< DataType >::recipScale ( const VectorType & v) const
inline

Definition at line 175 of file TrVisMatrix.h.

◆ removeScale()

template<typename DataType>
void OdTrVisMatrix3x3Impl< DataType >::removeScale ( )
inline

Definition at line 279 of file TrVisMatrix.h.

◆ rotate()

template<typename DataType>
template<typename VectorType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::rotate ( DataType angle,
const VectorType & v,
const DataType eps = 1.e-8f )
inline

Definition at line 275 of file TrVisMatrix.h.

◆ rotationMatrix()

template<typename DataType>
template<typename VectorType>
static OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::rotationMatrix ( OdTrVisMatrix3x3Impl< DataType > & m,
DataType angle,
const VectorType & v,
const DataType eps = 1.e-8f )
inlinestatic

Definition at line 244 of file TrVisMatrix.h.

◆ row()

template<typename DataType>
OdTrVisMiniVec3d< DataType > OdTrVisMatrix3x3Impl< DataType >::row ( int n) const
inline

Definition at line 94 of file TrVisMatrix.h.

◆ scale()

template<typename DataType>
template<typename VectorType>
OdTrVisMatrix3x3Impl OdTrVisMatrix3x3Impl< DataType >::scale ( const VectorType & v) const
inline

Definition at line 165 of file TrVisMatrix.h.

◆ scaleMatrix() [1/2]

template<typename DataType>
template<typename VectorType>
static OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::scaleMatrix ( OdTrVisMatrix3x3Impl< DataType > & m,
const VectorType & v,
bool bInverse = false )
inlinestatic

Definition at line 156 of file TrVisMatrix.h.

◆ scaleMatrix() [2/2]

template<typename DataType>
static OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::scaleMatrix ( OdTrVisMatrix3x3Impl< DataType > & m,
DataType s,
bool bInverse = false )
inlinestatic

Definition at line 185 of file TrVisMatrix.h.

◆ set() [1/2]

template<typename DataType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::set ( const DataType * pVals)
inline

Definition at line 64 of file TrVisMatrix.h.

◆ set() [2/2]

template<typename DataType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::set ( DataType e00 = 1.0f,
DataType e01 = 0.0f,
DataType e02 = 0.0f,
DataType e10 = 0.0f,
DataType e11 = 1.0f,
DataType e12 = 0.0f,
DataType e20 = 0.0f,
DataType e21 = 0.0f,
DataType e22 = 1.0f )
inline

Definition at line 72 of file TrVisMatrix.h.

◆ setIdentity()

template<typename DataType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::setIdentity ( )
inline

Definition at line 82 of file TrVisMatrix.h.

◆ setRecipScale()

template<typename DataType>
template<typename VectorType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::setRecipScale ( const VectorType & v)
inline

Definition at line 180 of file TrVisMatrix.h.

◆ setScale()

template<typename DataType>
template<typename VectorType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::setScale ( const VectorType & v)
inline

Definition at line 170 of file TrVisMatrix.h.

◆ transform()

template<typename DataType>
template<typename VectorType>
VectorType & OdTrVisMatrix3x3Impl< DataType >::transform ( VectorType & vec,
DataType = 0.0f ) const
inline

Definition at line 294 of file TrVisMatrix.h.

◆ transformClone()

template<typename DataType>
template<typename VectorType>
VectorType OdTrVisMatrix3x3Impl< DataType >::transformClone ( const VectorType & vec,
DataType = 0.0f ) const
inline

Definition at line 299 of file TrVisMatrix.h.

◆ transpose()

template<typename DataType>
OdTrVisMatrix3x3Impl & OdTrVisMatrix3x3Impl< DataType >::transpose ( )
inline

Definition at line 145 of file TrVisMatrix.h.

◆ untransform()

template<typename DataType>
template<typename VectorType>
VectorType & OdTrVisMatrix3x3Impl< DataType >::untransform ( VectorType & vec,
DataType = 0.0f ) const
inline

Definition at line 309 of file TrVisMatrix.h.

◆ untransformClone()

template<typename DataType>
template<typename VectorType>
VectorType OdTrVisMatrix3x3Impl< DataType >::untransformClone ( const VectorType & vec,
DataType = 0.0f ) const
inline

Definition at line 314 of file TrVisMatrix.h.

Friends And Related Symbol Documentation

◆ operator* [1/4]

template<typename DataType>
OdTrVisMatrix3x3Impl operator* ( const OdTrVisMatrix3x3Impl< DataType > & m,
DataType n )
friend

Definition at line 193 of file TrVisMatrix.h.

◆ operator* [2/4]

template<typename DataType>
template<typename VectorType>
VectorType operator* ( const OdTrVisMatrix3x3Impl< DataType > m,
const VectorType & v )
friend

Definition at line 302 of file TrVisMatrix.h.

◆ operator* [3/4]

template<typename DataType>
template<typename VectorType>
VectorType operator* ( const VectorType & v,
const OdTrVisMatrix3x3Impl< DataType > m )
friend

Definition at line 305 of file TrVisMatrix.h.

◆ operator* [4/4]

template<typename DataType>
OdTrVisMatrix3x3Impl operator* ( DataType n,
const OdTrVisMatrix3x3Impl< DataType > & m )
friend

Definition at line 197 of file TrVisMatrix.h.

◆ operator/ [1/2]

template<typename DataType>
OdTrVisMatrix3x3Impl operator/ ( const OdTrVisMatrix3x3Impl< DataType > & m,
DataType n )
friend

Definition at line 205 of file TrVisMatrix.h.

◆ operator/ [2/2]

template<typename DataType>
OdTrVisMatrix3x3Impl operator/ ( DataType n,
const OdTrVisMatrix3x3Impl< DataType > & m )
friend

Definition at line 209 of file TrVisMatrix.h.

◆ operator^ [1/2]

template<typename DataType>
template<typename VectorType>
VectorType operator^ ( const OdTrVisMatrix3x3Impl< DataType > m,
const VectorType & v )
friend

Definition at line 317 of file TrVisMatrix.h.

◆ operator^ [2/2]

template<typename DataType>
template<typename VectorType>
VectorType operator^ ( const VectorType & v,
const OdTrVisMatrix3x3Impl< DataType > m )
friend

Definition at line 320 of file TrVisMatrix.h.

Member Data Documentation

◆ entry

template<typename DataType>
DataType OdTrVisMatrix3x3Impl< DataType >::entry[3][3]

Definition at line 55 of file TrVisMatrix.h.


The documentation for this struct was generated from the following file: