libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
Matrices para transformaciones en Open GL. More...
#include <moGLManager.h>
Public Member Functions | |
moGLMatrixf (bool bZero=true) | |
moGLMatrixf (const moMatrix4f &p_src) | |
moGLMatrixf (const moGLMatrixf &rkM) | |
moGLMatrixf & | operator= (const moGLMatrixf &rkM) |
virtual | ~moGLMatrixf () |
operator const float * () const | |
operator float * () | |
moGLMatrixf & | MakeIdentity () |
moGLMatrixf & | MakeZero () |
moGLMatrixf & | MakePerspective (float fovy, float aspect, float zNear, float zFar) |
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) |
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) |
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) |
moGLMatrixf & | Translate (float x, float y, float z) |
moGLMatrixf & | Translate (const moGLMatrixf &m, float x, float y, float z) |
moGLMatrixf & | Rotate (float angle, float vx, float vy, float vz) |
moGLMatrixf & | Rotate (const moGLMatrixf &m, float rx, float ry, float rz) |
moGLMatrixf & | Scale (float sx, float sy, float sz) |
moGLMatrixf & | Scale (const moGLMatrixf &m, float sx, float sy, float sz) |
moText | ToJSON () const |
Static Public Attributes | |
static const moGLMatrixf | ZERO |
static const moGLMatrixf | IDENTITY |
Matrices para transformaciones en Open GL.
Definition at line 71 of file moGLManager.h.
|
inline |
Definition at line 74 of file moGLManager.h.
|
inline |
Definition at line 75 of file moGLManager.h.
moGLMatrixf::moGLMatrixf | ( | const moGLMatrixf & | rkM | ) |
Definition at line 56 of file moGLManager.cpp.
|
inlinevirtual |
Definition at line 78 of file moGLManager.h.
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 |
||
) |
Definition at line 186 of file moGLManager.cpp.
moGLMatrixf & moGLMatrixf::MakeIdentity | ( | ) |
Definition at line 79 of file moGLManager.cpp.
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 |
||
) |
Definition at line 102 of file moGLManager.cpp.
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 |
||
) |
Definition at line 212 of file moGLManager.cpp.
moGLMatrixf & moGLMatrixf::MakePerspective | ( | float | fovy, |
float | aspect, | ||
float | zNear, | ||
float | zFar | ||
) |
Definition at line 92 of file moGLManager.cpp.
moGLMatrixf & moGLMatrixf::MakeZero | ( | ) |
Definition at line 85 of file moGLManager.cpp.
|
inline |
Definition at line 82 of file moGLManager.h.
|
inline |
Definition at line 83 of file moGLManager.h.
moGLMatrixf & moGLMatrixf::operator= | ( | const moGLMatrixf & | rkM | ) |
Definition at line 68 of file moGLManager.cpp.
moGLMatrixf & moGLMatrixf::Rotate | ( | float | angle, |
float | vx, | ||
float | vy, | ||
float | vz | ||
) |
Definition at line 249 of file moGLManager.cpp.
moGLMatrixf& moGLMatrixf::Rotate | ( | const moGLMatrixf & | m, |
float | rx, | ||
float | ry, | ||
float | rz | ||
) |
moGLMatrixf & moGLMatrixf::Scale | ( | float | sx, |
float | sy, | ||
float | sz | ||
) |
Definition at line 298 of file moGLManager.cpp.
moGLMatrixf& moGLMatrixf::Scale | ( | const moGLMatrixf & | m, |
float | sx, | ||
float | sy, | ||
float | sz | ||
) |
moText moGLMatrixf::ToJSON | ( | ) | const |
Definition at line 311 of file moGLManager.cpp.
moGLMatrixf & moGLMatrixf::Translate | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 231 of file moGLManager.cpp.
moGLMatrixf& moGLMatrixf::Translate | ( | const moGLMatrixf & | m, |
float | x, | ||
float | y, | ||
float | z | ||
) |
|
static |
Definition at line 104 of file moGLManager.h.
|
static |
Definition at line 103 of file moGLManager.h.