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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moGLMatrixf Class Reference

Matrices para transformaciones en Open GL. More...

#include <moGLManager.h>

Inheritance diagram for moGLMatrixf:
moCamera3D

Public Member Functions

 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
 

Static Public Attributes

static const moGLMatrixf ZERO
 
static const moGLMatrixf IDENTITY
 

Detailed Description

Matrices para transformaciones en Open GL.

Definition at line 71 of file moGLManager.h.

Constructor & Destructor Documentation

moGLMatrixf::moGLMatrixf ( bool  bZero = true)
inline

Definition at line 74 of file moGLManager.h.

moGLMatrixf::moGLMatrixf ( const moMatrix4f p_src)
inline

Definition at line 75 of file moGLManager.h.

moGLMatrixf::moGLMatrixf ( const moGLMatrixf rkM)

Definition at line 56 of file moGLManager.cpp.

virtual moGLMatrixf::~moGLMatrixf ( )
inlinevirtual

Definition at line 78 of file moGLManager.h.

Member Function Documentation

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.

moGLMatrixf::operator const float * ( ) const
inline

Definition at line 82 of file moGLManager.h.

moGLMatrixf::operator float * ( )
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 
)

Member Data Documentation

const moGLMatrixf moGLMatrixf::IDENTITY
static

Definition at line 104 of file moGLManager.h.

const moGLMatrixf moGLMatrixf::ZERO
static

Definition at line 103 of file moGLManager.h.


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