libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo es el conjunto de objetos y funciones, que permiten ejecutar las operaciones básicas de la plataforma Moldeo, y que compone su núcleo.
Referencia de la plantilla de la Clase moMatrix4< Real >

#include <moMathMatrix.h>

Diagrama de herencias de moMatrix4< Real >
Inheritance graph
Diagrama de colaboración para moMatrix4< Real >:
Collaboration graph

Métodos públicos

 moMatrix4 (bool bZero=true)
 
 moMatrix4 (const moMatrix4 &rkM)
 
 moMatrix4 (Real fM00, Real fM01, Real fM02, Real fM03, Real fM10, Real fM11, Real fM12, Real fM13, Real fM20, Real fM21, Real fM22, Real fM23, Real fM30, Real fM31, Real fM32, Real fM33)
 
 moMatrix4 (const Real afEntry[16], bool bRowMajor=true)
 
moMatrix4< Real > & MakeZero ()
 
moMatrix4< Real > & MakeIdentity ()
 
void SetRow (int iRow, const moVector4< Real > &rkV)
 
moVector4< Real > GetRow (int iRow) const
 
void SetColumn (int iCol, const moVector4< Real > &rkV)
 
moVector4< Real > GetColumn (int iCol) const
 
void GetColumnMajor (Real *afCMajor) const
 
bool operator== (const moMatrix4 &rkM) const
 
bool operator!= (const moMatrix4 &rkM) const
 
bool operator< (const moMatrix4 &rkM) const
 
bool operator<= (const moMatrix4 &rkM) const
 
bool operator> (const moMatrix4 &rkM) const
 
bool operator>= (const moMatrix4 &rkM) const
 
moMatrix4< Real > Transpose () const
 
moMatrix4< Real > TransposeTimes (const moMatrix4 &rkM) const
 
moMatrix4< Real > TimesTranspose (const moMatrix4 &rkM) const
 
moMatrix4< Real > Inverse () const
 
moMatrix4< Real > Adjoint () const
 
Real Determinant () const
 
Real QForm (const moVector4< Real > &rkU, const moVector4< Real > &rkV) const
 
void MakeObliqueProjection (const moVector3< Real > &rkNormal, const moVector3< Real > &rkPoint, const moVector3< Real > &rkDirection)
 
void MakePerspectiveProjection (const moVector3< Real > &rkNormal, const moVector3< Real > &rkPoint, const moVector3< Real > &rkEye)
 
void MakeReflection (const moVector3< Real > &rkNormal, const moVector3< Real > &rkPoint)
 
const Real * GetPointer () const
 
Real * GetPointer ()
 
 operator const Real * () const
 
 operator Real * ()
 
const Real * operator[] (int iRow) const
 
Real * operator[] (int iRow)
 
Real operator() (int iRow, int iCol) const
 
Real & operator() (int iRow, int iCol)
 
moMatrix4< Real > & operator= (const moMatrix4 &rkM)
 
moMatrix4< Real > operator+ (const moMatrix4 &rkM) const
 
moMatrix4< Real > operator- (const moMatrix4 &rkM) const
 
moMatrix4< Real > operator* (const moMatrix4 &rkM) const
 
moMatrix4< Real > operator* (Real fScalar) const
 
moMatrix4< Real > operator/ (Real fScalar) const
 
moMatrix4< Real > operator- () const
 
moMatrix4< Real > & operator+= (const moMatrix4 &rkM)
 
moMatrix4< Real > & operator-= (const moMatrix4 &rkM)
 
moMatrix4< Real > & operator*= (Real fScalar)
 
moMatrix4< Real > & operator/= (Real fScalar)
 
moVector4< Real > operator* (const moVector4< Real > &rkV) const
 
template<>
const moMatrix4< MOfloatZERO (0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f)
 
template<>
const moMatrix4< MOfloatIDENTITY (1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f)
 
template<>
const moMatrix4< MOdoubleZERO (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
 
template<>
const moMatrix4< MOdoubleIDENTITY (1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0)
 
- Métodos públicos heredados desde moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
virtual MOboolean Init ()
 Inicializa el objeto. Más...
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. Más...
 
MOboolean Initialized ()
 Pregunta si está inicializado. Más...
 

Atributos públicos estáticos

static const moMatrix4 ZERO
 
static const moMatrix4 IDENTITY
 
- Atributos públicos estáticos heredados desde moAbstract
static moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración. Más...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. Más...
 

Métodos privados

int CompareArrays (const moMatrix4 &rkM) const
 

Atributos privados

Real m_afEntry [16]
 

Otros miembros heredados

- Atributos públicos heredados desde moAbstract
MOboolean m_bInitialized
 Valor de inicialización. Más...
 

Descripción detallada

template<class Real>
class moMatrix4< Real >

Definición en la línea 2887 del archivo moMathMatrix.h.

Documentación del constructor y destructor

◆ moMatrix4() [1/4]

template<class Real>
moMatrix4< Real >::moMatrix4 ( bool  bZero = true)
inline

Definición en la línea 2892 del archivo moMathMatrix.h.

◆ moMatrix4() [2/4]

template<class Real>
moMatrix4< Real >::moMatrix4 ( const moMatrix4< Real > &  rkM)
inline

Definición en la línea 2905 del archivo moMathMatrix.h.

◆ moMatrix4() [3/4]

template<class Real>
moMatrix4< Real >::moMatrix4 ( Real  fM00,
Real  fM01,
Real  fM02,
Real  fM03,
Real  fM10,
Real  fM11,
Real  fM12,
Real  fM13,
Real  fM20,
Real  fM21,
Real  fM22,
Real  fM23,
Real  fM30,
Real  fM31,
Real  fM32,
Real  fM33 
)
inline

Definición en la línea 2926 del archivo moMathMatrix.h.

◆ moMatrix4() [4/4]

template<class Real>
moMatrix4< Real >::moMatrix4 ( const Real  afEntry[16],
bool  bRowMajor = true 
)
inline

Definición en la línea 2948 del archivo moMathMatrix.h.

Documentación de las funciones miembro

◆ Adjoint()

template<class Real>
moMatrix4<Real> moMatrix4< Real >::Adjoint ( ) const
inline

Definición en la línea 3381 del archivo moMathMatrix.h.

◆ CompareArrays()

template<class Real>
int moMatrix4< Real >::CompareArrays ( const moMatrix4< Real > &  rkM) const
inlineprivate

Definición en la línea 3932 del archivo moMathMatrix.h.

◆ Determinant()

template<class Real>
Real moMatrix4< Real >::Determinant ( ) const
inline

Definición en la línea 3415 del archivo moMathMatrix.h.

◆ GetColumn()

template<class Real>
moVector4<Real> moMatrix4< Real >::GetColumn ( int  iCol) const
inline

Definición en la línea 3058 del archivo moMathMatrix.h.

◆ GetColumnMajor()

template<class Real>
void moMatrix4< Real >::GetColumnMajor ( Real *  afCMajor) const
inline

Definición en la línea 3064 del archivo moMathMatrix.h.

◆ GetPointer() [1/2]

template<class Real>
const Real* moMatrix4< Real >::GetPointer ( ) const
inline

Definición en la línea 3553 del archivo moMathMatrix.h.

Gráfico de llamadas a esta función:

◆ GetPointer() [2/2]

template<class Real>
Real* moMatrix4< Real >::GetPointer ( )
inline

Definición en la línea 3554 del archivo moMathMatrix.h.

◆ GetRow()

template<class Real>
moVector4<Real> moMatrix4< Real >::GetRow ( int  iRow) const
inline

Definición en la línea 3043 del archivo moMathMatrix.h.

Gráfico de llamadas a esta función:

◆ IDENTITY() [1/2]

template<>
const moMatrix4< MOfloat > moMatrix4< MOfloat >::IDENTITY ( 1.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
1.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
1.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
1.  0f 
)

◆ IDENTITY() [2/2]

template<>
const moMatrix4< MOdouble > moMatrix4< MOdouble >::IDENTITY ( 1.  0,
0.  0,
0.  0,
0.  0,
0.  0,
1.  0,
0.  0,
0.  0,
0.  0,
0.  0,
1.  0,
0.  0,
0.  0,
0.  0,
0.  0,
1.  0 
)

◆ Inverse()

template<class Real>
moMatrix4<Real> moMatrix4< Real >::Inverse ( ) const
inline

Definición en la línea 3305 del archivo moMathMatrix.h.

◆ MakeIdentity()

template<class Real>
moMatrix4<Real>& moMatrix4< Real >::MakeIdentity ( )
inline

Definición en la línea 3012 del archivo moMathMatrix.h.

Gráfico de llamadas a esta función:

◆ MakeObliqueProjection()

template<class Real>
void moMatrix4< Real >::MakeObliqueProjection ( const moVector3< Real > &  rkNormal,
const moVector3< Real > &  rkPoint,
const moVector3< Real > &  rkDirection 
)
inline

Definición en la línea 3439 del archivo moMathMatrix.h.

Gráfico de llamadas para esta función:

◆ MakePerspectiveProjection()

template<class Real>
void moMatrix4< Real >::MakePerspectiveProjection ( const moVector3< Real > &  rkNormal,
const moVector3< Real > &  rkPoint,
const moVector3< Real > &  rkEye 
)
inline

Definición en la línea 3482 del archivo moMathMatrix.h.

Gráfico de llamadas para esta función:

◆ MakeReflection()

template<class Real>
void moMatrix4< Real >::MakeReflection ( const moVector3< Real > &  rkNormal,
const moVector3< Real > &  rkPoint 
)
inline

Definición en la línea 3516 del archivo moMathMatrix.h.

Gráfico de llamadas para esta función:

◆ MakeZero()

template<class Real>
moMatrix4<Real>& moMatrix4< Real >::MakeZero ( )
inline

Definición en la línea 2990 del archivo moMathMatrix.h.

Gráfico de llamadas a esta función:

◆ operator const Real *()

template<class Real>
moMatrix4< Real >::operator const Real * ( ) const
inline

Definición en la línea 3556 del archivo moMathMatrix.h.

◆ operator Real *()

template<class Real>
moMatrix4< Real >::operator Real * ( )
inline

Definición en la línea 3557 del archivo moMathMatrix.h.

◆ operator!=()

template<class Real>
bool moMatrix4< Real >::operator!= ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3089 del archivo moMathMatrix.h.

◆ operator()() [1/2]

template<class Real>
Real moMatrix4< Real >::operator() ( int  iRow,
int  iCol 
) const
inline

Definición en la línea 3560 del archivo moMathMatrix.h.

◆ operator()() [2/2]

template<class Real>
Real& moMatrix4< Real >::operator() ( int  iRow,
int  iCol 
)
inline

Definición en la línea 3561 del archivo moMathMatrix.h.

◆ operator*() [1/3]

template<class Real>
moMatrix4<Real> moMatrix4< Real >::operator* ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3629 del archivo moMathMatrix.h.

◆ operator*() [2/3]

template<class Real>
moMatrix4<Real> moMatrix4< Real >::operator* ( Real  fScalar) const
inline

Definición en la línea 3712 del archivo moMathMatrix.h.

◆ operator*() [3/3]

template<class Real>
moVector4<Real> moMatrix4< Real >::operator* ( const moVector4< Real > &  rkV) const
inline

Definición en la línea 3902 del archivo moMathMatrix.h.

◆ operator*=()

template<class Real>
moMatrix4<Real>& moMatrix4< Real >::operator*= ( Real  fScalar)
inline

Definición en la línea 3836 del archivo moMathMatrix.h.

◆ operator+()

template<class Real>
moMatrix4<Real> moMatrix4< Real >::operator+ ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3589 del archivo moMathMatrix.h.

◆ operator+=()

template<class Real>
moMatrix4<Real>& moMatrix4< Real >::operator+= ( const moMatrix4< Real > &  rkM)
inline

Definición en la línea 3796 del archivo moMathMatrix.h.

◆ operator-() [1/2]

template<class Real>
moMatrix4<Real> moMatrix4< Real >::operator- ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3609 del archivo moMathMatrix.h.

◆ operator-() [2/2]

template<class Real>
moMatrix4<Real> moMatrix4< Real >::operator- ( ) const
inline

Definición en la línea 3774 del archivo moMathMatrix.h.

◆ operator-=()

template<class Real>
moMatrix4<Real>& moMatrix4< Real >::operator-= ( const moMatrix4< Real > &  rkM)
inline

Definición en la línea 3816 del archivo moMathMatrix.h.

◆ operator/()

template<class Real>
moMatrix4<Real> moMatrix4< Real >::operator/ ( Real  fScalar) const
inline

Definición en la línea 3732 del archivo moMathMatrix.h.

◆ operator/=()

template<class Real>
moMatrix4<Real>& moMatrix4< Real >::operator/= ( Real  fScalar)
inline

Definición en la línea 3856 del archivo moMathMatrix.h.

◆ operator<()

template<class Real>
bool moMatrix4< Real >::operator< ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3094 del archivo moMathMatrix.h.

◆ operator<=()

template<class Real>
bool moMatrix4< Real >::operator<= ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3099 del archivo moMathMatrix.h.

◆ operator=()

template<class Real>
moMatrix4<Real>& moMatrix4< Real >::operator= ( const moMatrix4< Real > &  rkM)
inline

Definición en la línea 3565 del archivo moMathMatrix.h.

Gráfico de llamadas a esta función:

◆ operator==()

template<class Real>
bool moMatrix4< Real >::operator== ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3084 del archivo moMathMatrix.h.

◆ operator>()

template<class Real>
bool moMatrix4< Real >::operator> ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3104 del archivo moMathMatrix.h.

◆ operator>=()

template<class Real>
bool moMatrix4< Real >::operator>= ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3109 del archivo moMathMatrix.h.

◆ operator[]() [1/2]

template<class Real>
const Real* moMatrix4< Real >::operator[] ( int  iRow) const
inline

Definición en la línea 3558 del archivo moMathMatrix.h.

◆ operator[]() [2/2]

template<class Real>
Real* moMatrix4< Real >::operator[] ( int  iRow)
inline

Definición en la línea 3559 del archivo moMathMatrix.h.

◆ QForm()

template<class Real>
Real moMatrix4< Real >::QForm ( const moVector4< Real > &  rkU,
const moVector4< Real > &  rkV 
) const
inline

Definición en la línea 3433 del archivo moMathMatrix.h.

Gráfico de llamadas para esta función:

◆ SetColumn()

template<class Real>
void moMatrix4< Real >::SetColumn ( int  iCol,
const moVector4< Real > &  rkV 
)
inline

Definición en la línea 3050 del archivo moMathMatrix.h.

◆ SetRow()

template<class Real>
void moMatrix4< Real >::SetRow ( int  iRow,
const moVector4< Real > &  rkV 
)
inline

Definición en la línea 3034 del archivo moMathMatrix.h.

Gráfico de llamadas a esta función:

◆ TimesTranspose()

template<class Real>
moMatrix4<Real> moMatrix4< Real >::TimesTranspose ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3220 del archivo moMathMatrix.h.

◆ Transpose()

template<class Real>
moMatrix4<Real> moMatrix4< Real >::Transpose ( ) const
inline

Definición en la línea 3114 del archivo moMathMatrix.h.

Gráfico de llamadas a esta función:

◆ TransposeTimes()

template<class Real>
moMatrix4<Real> moMatrix4< Real >::TransposeTimes ( const moMatrix4< Real > &  rkM) const
inline

Definición en la línea 3135 del archivo moMathMatrix.h.

◆ ZERO() [1/2]

template<>
const moMatrix4< MOfloat > moMatrix4< MOfloat >::ZERO ( 0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f,
0.  0f 
)

◆ ZERO() [2/2]

template<>
const moMatrix4< MOdouble > moMatrix4< MOdouble >::ZERO ( 0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0,
0.  0 
)

Documentación de los datos miembro

◆ IDENTITY

template<class Real>
const moMatrix4 moMatrix4< Real >::IDENTITY
static

Definición en la línea 3928 del archivo moMathMatrix.h.

◆ m_afEntry

template<class Real>
Real moMatrix4< Real >::m_afEntry[16]
private

Definición en la línea 3938 del archivo moMathMatrix.h.

◆ ZERO

template<class Real>
const moMatrix4 moMatrix4< Real >::ZERO
static

Definición en la línea 3927 del archivo moMathMatrix.h.


La documentación para esta clase fue generada a partir del siguiente fichero: