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
moGLViewport Class Reference

#include <moGLManager.h>

Inheritance diagram for moGLViewport:
moVector2< MOfloat > moAbstract

Public Member Functions

 moGLViewport (float p_width=1.0, float p_height=1.0)
 
virtual ~moGLViewport ()
 
 moGLViewport (const moGLViewport &p_src)
 
moGLViewportoperator= (const moGLViewport &p_src)
 
float GetWidth ()
 
float GetHeight ()
 
float GetProportion ()
 
float GetProportionInvert ()
 
- Public Member Functions inherited from moVector2< MOfloat >
 moVector2 ()
 
 moVector2 (MOfloatfX, MOfloatfY)
 
 moVector2 (const MOfloat *afTuple)
 
 moVector2 (const moVector2 &rkV)
 
 operator const MOfloat * () const
 
 operator MOfloat * ()
 
MOfloat operator[] (int i) const
 
MOfloatoperator[] (int i)
 
MOfloat X () const
 
MOfloatX ()
 
MOfloat Y () const
 
MOfloatY ()
 
moVector2operator= (const moVector2 &rkV)
 
bool operator== (const moVector2 &rkV) const
 
bool operator!= (const moVector2 &rkV) const
 
bool operator< (const moVector2 &rkV) const
 
bool operator<= (const moVector2 &rkV) const
 
bool operator> (const moVector2 &rkV) const
 
bool operator>= (const moVector2 &rkV) const
 
moVector2 operator+ (const moVector2 &rkV) const
 
moVector2 operator- (const moVector2 &rkV) const
 
moVector2 operator- () const
 
moVector2 operator* (MOfloatfScalar) const
 
moVector2 operator/ (MOfloatfScalar) const
 
moVector2operator+= (const moVector2 &rkV)
 
moVector2operator-= (const moVector2 &rkV)
 
moVector2operator*= (MOfloatfScalar)
 
moVector2operator/= (MOfloatfScalar)
 
MOfloat Length () const
 
MOfloat SquaredLength () const
 
MOfloat Dot (const moVector2 &rkV) const
 
MOfloat Normalize ()
 
moVector2 Perp () const
 returns (y,-x) More...
 
moVector2 UnitPerp () const
 returns (y,-x)/sqrt(x*x+y*y) More...
 
MOfloat DotPerp (const moVector2 &rkV) const
 returns DotPerp((x,y),(V.x,V.y)) = x*V.y - y*V.x More...
 
void GetBarycentrics (const moVector2 &rkV0, const moVector2 &rkV1, const moVector2 &rkV2, MOfloatafBary[3]) const
 
MOfloat Cosine (const moVector2< MOfloat > &rkV)
 
MOfloat Angle (const moVector2< MOfloat > &rkV)
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
virtual MOboolean Init ()
 Inicializa el objeto. More...
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
MOboolean Initialized ()
 Pregunta si está inicializado. More...
 

Public Attributes

float Proportion
 
- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 

Additional Inherited Members

- Static Public Member Functions inherited from moVector2< MOfloat >
static void Orthonormalize (moVector2 &rkU, moVector2 &rkV)
 
static void GenerateOrthonormalBasis (moVector2 &rkU, moVector2 &rkV)
 
static void ComputeExtremes (int iVQuantity, const moVector2 *akPoint, moVector2 &rkMin, moVector2 &rkMax)
 
- Static Public Attributes inherited from moVector2< MOfloat >
static const moVector2 ZERO
 
static const moVector2 UNIT_X
 
static const moVector2 UNIT_Y
 
static const moVector2 ONE
 
- Static Public Attributes inherited from moAbstract
static moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración More...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. More...
 

Detailed Description

Definition at line 115 of file moGLManager.h.

Constructor & Destructor Documentation

moGLViewport::moGLViewport ( float  p_width = 1.0,
float  p_height = 1.0 
)
inline

Definition at line 118 of file moGLManager.h.

virtual moGLViewport::~moGLViewport ( )
inlinevirtual

Definition at line 126 of file moGLManager.h.

moGLViewport::moGLViewport ( const moGLViewport p_src)
inline

Definition at line 128 of file moGLManager.h.

Member Function Documentation

float moGLViewport::GetHeight ( )
inline

Definition at line 140 of file moGLManager.h.

float moGLViewport::GetProportion ( )
inline

Definition at line 141 of file moGLManager.h.

float moGLViewport::GetProportionInvert ( )
inline

Definition at line 142 of file moGLManager.h.

float moGLViewport::GetWidth ( )
inline

Definition at line 139 of file moGLManager.h.

moGLViewport& moGLViewport::operator= ( const moGLViewport p_src)
inline

Definition at line 132 of file moGLManager.h.

Member Data Documentation

float moGLViewport::Proportion

Definition at line 144 of file moGLManager.h.


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