OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::DSAModelviewMatrixEXT Class Reference

Wrapper for direct-state-access compatibility modelview matrix operations. More...

#include </home/chochlik/devel/oglplus/include/oglplus/ext/EXT_direct_state_access/matrix.hpp>

Inheritance diagram for oglplus::DSAModelviewMatrixEXT:
Collaboration diagram for oglplus::DSAModelviewMatrixEXT:

Public Types

typedef CompatibilityMatrixMode Mode
 The matrix mode enumeration.
 

Public Member Functions

DSAMatrixEXT & Push (void)
 Pushes a matrix on the stack. More...
 
DSAMatrixEXT & Pop (void)
 Pops a matrix from the stack. More...
 
DSAMatrixEXT & LoadIdentity (void)
 Loads an identity matrix. More...
 
DSAMatrixEXT & Load (const Matrix< GLfloat, 4, 4 > &matrix)
 Loads the specified matrix. More...
 
DSAMatrixEXT & Load (const Matrix< GLdouble, 4, 4 > &matrix)
 Loads the specified matrix. More...
 
DSAMatrixEXT & Mult (const Matrix< GLfloat, 4, 4 > &matrix)
 Multiplies the current matrix by the specified matrix. More...
 
DSAMatrixEXT & Mult (const Matrix< GLdouble, 4, 4 > &matrix)
 Multiplies the current matrix by the specified matrix. More...
 
DSAMatrixEXT & Rotate (Angle< GLfloat > angle, const GLfloat x, const GLfloat y, const GLfloat z)
 Applies rotation by angle around axis <x,y,z> to the current matrix. More...
 
DSAMatrixEXT & Rotate (Angle< GLfloat > angle, const Vector< GLfloat, 3 > &axis)
 Applies rotation by angle around axis to the current matrix. More...
 
DSAMatrixEXT & Rotate (Angle< GLdouble > angle, const Vector< GLdouble, 3 > &axis)
 Applies rotation by angle around axis to the current matrix. More...
 
DSAMatrixEXT & Scale (const GLfloat x, const GLfloat y, const GLfloat z)
 Scales the current matrix. More...
 
DSAMatrixEXT & Scale (const Vector< GLfloat, 3 > &amount)
 Scales the current matrix. More...
 
DSAMatrixEXT & Scale (const Vector< GLdouble, 3 > &amount)
 Scales the current matrix. More...
 
DSAMatrixEXT & Translate (const GLfloat x, const GLfloat y, const GLfloat z)
 Translates the current matrix. More...
 
DSAMatrixEXT & Translate (const Vector< GLfloat, 3 > &amount)
 Translates the current matrix. More...
 
DSAMatrixEXT & Translate (const Vector< GLdouble, 3 > &amount)
 Translates the current matrix. More...
 
DSAMatrixEXT & Ortho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_depth, GLdouble far_depth)
 Makes an ortho-matrix from the current matrix. More...
 
DSAMatrixEXT & Frustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_depth, GLdouble far_depth)
 Makes a frustum-matrix from the current matrix. More...
 

Detailed Description

Wrapper for direct-state-access compatibility modelview matrix operations.

Examples:
standalone/003_simple_text.cpp.

Member Function Documentation

DSAMatrixEXT& oglplus::DSAMatrixEXT::Frustum ( GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  near_depth,
GLdouble  far_depth 
)
inherited

Makes a frustum-matrix from the current matrix.

Related OpenGL symbols:
glMatrixFrustumEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Load ( const Matrix< GLfloat, 4, 4 > &  matrix)
inherited

Loads the specified matrix.

Related OpenGL symbols:
glMatrixLoadTransposeEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Load ( const Matrix< GLdouble, 4, 4 > &  matrix)
inherited

Loads the specified matrix.

Related OpenGL symbols:
glMatrixLoadTransposeEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::LoadIdentity ( void  )
inherited

Loads an identity matrix.

Related OpenGL symbols:
glMatrixLoadIdentityEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Mult ( const Matrix< GLfloat, 4, 4 > &  matrix)
inherited

Multiplies the current matrix by the specified matrix.

Related OpenGL symbols:
glMatrixMultTransposeEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Mult ( const Matrix< GLdouble, 4, 4 > &  matrix)
inherited

Multiplies the current matrix by the specified matrix.

Related OpenGL symbols:
glMatrixMultTransposeEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Ortho ( GLdouble  left,
GLdouble  right,
GLdouble  bottom,
GLdouble  top,
GLdouble  near_depth,
GLdouble  far_depth 
)
inherited

Makes an ortho-matrix from the current matrix.

Related OpenGL symbols:
glMatrixOrthoEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Pop ( void  )
inherited

Pops a matrix from the stack.

Related OpenGL symbols:
glMatrixPopEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Push ( void  )
inherited

Pushes a matrix on the stack.

Related OpenGL symbols:
glMatrixPushEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Rotate ( Angle< GLfloat >  angle,
const GLfloat  x,
const GLfloat  y,
const GLfloat  z 
)
inherited

Applies rotation by angle around axis <x,y,z> to the current matrix.

Related OpenGL symbols:
glMatrixRotateEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Rotate ( Angle< GLfloat >  angle,
const Vector< GLfloat, 3 > &  axis 
)
inherited

Applies rotation by angle around axis to the current matrix.

Related OpenGL symbols:
glMatrixRotateEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Rotate ( Angle< GLdouble >  angle,
const Vector< GLdouble, 3 > &  axis 
)
inherited

Applies rotation by angle around axis to the current matrix.

Related OpenGL symbols:
glMatrixRotateEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Scale ( const GLfloat  x,
const GLfloat  y,
const GLfloat  z 
)
inherited

Scales the current matrix.

Related OpenGL symbols:
glMatrixScaleEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Scale ( const Vector< GLfloat, 3 > &  amount)
inherited

Scales the current matrix.

Related OpenGL symbols:
glMatrixScaleEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Scale ( const Vector< GLdouble, 3 > &  amount)
inherited

Scales the current matrix.

Related OpenGL symbols:
glMatrixScaleEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Translate ( const GLfloat  x,
const GLfloat  y,
const GLfloat  z 
)
inherited

Translates the current matrix.

Related OpenGL symbols:
glMatrixTranslateEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Translate ( const Vector< GLfloat, 3 > &  amount)
inherited

Translates the current matrix.

Related OpenGL symbols:
glMatrixTranslateEXT
DSAMatrixEXT& oglplus::DSAMatrixEXT::Translate ( const Vector< GLdouble, 3 > &  amount)
inherited

Translates the current matrix.

Related OpenGL symbols:
glMatrixTranslateEXT

The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/ext/EXT_direct_state_access/matrix.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).