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 Clase moGLMatrixf

Matrices para transformaciones en Open GL. Más...

#include <moGLManager.h>

Diagrama de herencias de moGLMatrixf
Inheritance graph
Diagrama de colaboración para moGLMatrixf:
Collaboration graph

Métodos públicos

 moGLMatrixf (bool bZero=true)
 
 moGLMatrixf (const moMatrix4f &p_src)
 
 moGLMatrixf (const moGLMatrixf &rkM)
 
moGLMatrixfoperator= (const moGLMatrixf &rkM)
 
virtual ~moGLMatrixf ()
 
 operator const float * () const
 
 operator float * ()
 
moGLMatrixfMakeIdentity ()
 
moGLMatrixfMakeZero ()
 
moGLMatrixfMakePerspective (float fovy, float aspect, float zNear, float zFar)
 
moGLMatrixfMakeLookAt (float eyeX=0.0, float eyeY=0.0, float eyeZ=-10.0, float centerX=0.0, float centerY=0.0, float centerZ=0.0, float upX=0.0, float upY=0.0, float upZ=1.0)
 
moGLMatrixfMakeFrustrum (float left=-1.0, float right=1.0, float bottom=-1.0, float top=1.0, float near=0.0001, float far=1000.0f)
 
moGLMatrixfMakeOrthographic (float left=-1.0, float right=1.0, float bottom=-1.0, float top=1.0, float near=0.0001, float far=1000.0f)
 
moGLMatrixfTranslate (float x, float y, float z)
 
moGLMatrixfTranslate (const moGLMatrixf &m, float x, float y, float z)
 
moGLMatrixfRotate (float angle, float vx, float vy, float vz)
 
moGLMatrixfRotate (const moGLMatrixf &m, float rx, float ry, float rz)
 
moGLMatrixfScale (float sx, float sy, float sz)
 
moGLMatrixfScale (const moGLMatrixf &m, float sx, float sy, float sz)
 
moText ToJSON () const
 
- Métodos públicos heredados desde moMatrix4< Real >
 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 moGLMatrixf ZERO
 
static const moGLMatrixf IDENTITY
 
- Atributos públicos estáticos heredados desde moMatrix4< Real >
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...
 

Otros miembros heredados

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

Descripción detallada

Matrices para transformaciones en Open GL.

Definición en la línea 71 del archivo moGLManager.h.

Documentación del constructor y destructor

◆ moGLMatrixf() [1/3]

moGLMatrixf::moGLMatrixf ( bool  bZero = true)
inline

Definición en la línea 74 del archivo moGLManager.h.

◆ moGLMatrixf() [2/3]

moGLMatrixf::moGLMatrixf ( const moMatrix4f p_src)
inline

Definición en la línea 75 del archivo moGLManager.h.

Gráfico de llamadas para esta función:

◆ moGLMatrixf() [3/3]

moGLMatrixf::moGLMatrixf ( const moGLMatrixf rkM)

Definición en la línea 56 del archivo moGLManager.cpp.

◆ ~moGLMatrixf()

virtual moGLMatrixf::~moGLMatrixf ( )
inlinevirtual

Definición en la línea 78 del archivo moGLManager.h.

Documentación de las funciones miembro

◆ MakeFrustrum()

moGLMatrixf & moGLMatrixf::MakeFrustrum ( float  left = -1.0,
float  right = 1.0,
float  bottom = -1.0,
float  top = 1.0,
float  near = 0.0001,
float  far = 1000.0f 
)

Definición en la línea 186 del archivo moGLManager.cpp.

Gráfico de llamadas para esta función:
Gráfico de llamadas a esta función:

◆ MakeIdentity()

moGLMatrixf & moGLMatrixf::MakeIdentity ( )

Definición en la línea 79 del archivo moGLManager.cpp.

Gráfico de llamadas a esta función:

◆ MakeLookAt()

moGLMatrixf & moGLMatrixf::MakeLookAt ( float  eyeX = 0.0,
float  eyeY = 0.0,
float  eyeZ = -10.0,
float  centerX = 0.0,
float  centerY = 0.0,
float  centerZ = 0.0,
float  upX = 0.0,
float  upY = 0.0,
float  upZ = 1.0 
)

Definición en la línea 102 del archivo moGLManager.cpp.

Gráfico de llamadas para esta función:
Gráfico de llamadas a esta función:

◆ MakeOrthographic()

moGLMatrixf & moGLMatrixf::MakeOrthographic ( float  left = -1.0,
float  right = 1.0,
float  bottom = -1.0,
float  top = 1.0,
float  near = 0.0001,
float  far = 1000.0f 
)

Definición en la línea 212 del archivo moGLManager.cpp.

Gráfico de llamadas para esta función:

◆ MakePerspective()

moGLMatrixf & moGLMatrixf::MakePerspective ( float  fovy,
float  aspect,
float  zNear,
float  zFar 
)

Definición en la línea 92 del archivo moGLManager.cpp.

Gráfico de llamadas para esta función:

◆ MakeZero()

moGLMatrixf & moGLMatrixf::MakeZero ( )

Definición en la línea 85 del archivo moGLManager.cpp.

◆ operator const float *()

moGLMatrixf::operator const float * ( ) const
inline

Definición en la línea 82 del archivo moGLManager.h.

Gráfico de llamadas para esta función:

◆ operator float *()

moGLMatrixf::operator float * ( )
inline

Definición en la línea 83 del archivo moGLManager.h.

Gráfico de llamadas para esta función:

◆ operator=()

moGLMatrixf & moGLMatrixf::operator= ( const moGLMatrixf rkM)

Definición en la línea 68 del archivo moGLManager.cpp.

Gráfico de llamadas para esta función:
Gráfico de llamadas a esta función:

◆ Rotate() [1/2]

moGLMatrixf & moGLMatrixf::Rotate ( float  angle,
float  vx,
float  vy,
float  vz 
)

Definición en la línea 249 del archivo moGLManager.cpp.

Gráfico de llamadas para esta función:
Gráfico de llamadas a esta función:

◆ Rotate() [2/2]

moGLMatrixf& moGLMatrixf::Rotate ( const moGLMatrixf m,
float  rx,
float  ry,
float  rz 
)

◆ Scale() [1/2]

moGLMatrixf & moGLMatrixf::Scale ( float  sx,
float  sy,
float  sz 
)

Definición en la línea 298 del archivo moGLManager.cpp.

Gráfico de llamadas para esta función:
Gráfico de llamadas a esta función:

◆ Scale() [2/2]

moGLMatrixf& moGLMatrixf::Scale ( const moGLMatrixf m,
float  sx,
float  sy,
float  sz 
)

◆ ToJSON()

moText moGLMatrixf::ToJSON ( ) const

Definición en la línea 311 del archivo moGLManager.cpp.

Gráfico de llamadas para esta función:

◆ Translate() [1/2]

moGLMatrixf & moGLMatrixf::Translate ( float  x,
float  y,
float  z 
)

Definición en la línea 231 del archivo moGLManager.cpp.

Gráfico de llamadas para esta función:
Gráfico de llamadas a esta función:

◆ Translate() [2/2]

moGLMatrixf& moGLMatrixf::Translate ( const moGLMatrixf m,
float  x,
float  y,
float  z 
)

Documentación de los datos miembro

◆ IDENTITY

const moGLMatrixf moGLMatrixf::IDENTITY
static

Definición en la línea 104 del archivo moGLManager.h.

◆ ZERO

const moGLMatrixf moGLMatrixf::ZERO
static

Definición en la línea 103 del archivo moGLManager.h.


La documentación para esta clase fue generada a partir de los siguientes ficheros: