OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::DSAMatrixEXT Class Reference

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

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

Inheritance diagram for oglplus::DSAMatrixEXT:

Public Types

typedef CompatibilityMatrixMode Mode
 The matrix mode enumeration.
 

Public Member Functions

 DSAMatrixEXT (Mode mode)
 Constructs a new compatibility DSA matrix.
 
DSAMatrixEXTPush (void)
 Pushes a matrix on the stack. More...
 
DSAMatrixEXTPop (void)
 Pops a matrix from the stack. More...
 
DSAMatrixEXTLoadIdentity (void)
 Loads an identity matrix. More...
 
DSAMatrixEXTLoad (const Matrix< GLfloat, 4, 4 > &matrix)
 Loads the specified matrix. More...
 
DSAMatrixEXTLoad (const Matrix< GLdouble, 4, 4 > &matrix)
 Loads the specified matrix. More...
 
DSAMatrixEXTMult (const Matrix< GLfloat, 4, 4 > &matrix)
 Multiplies the current matrix by the specified matrix. More...
 
DSAMatrixEXTMult (const Matrix< GLdouble, 4, 4 > &matrix)
 Multiplies the current matrix by the specified matrix. More...
 
DSAMatrixEXTRotate (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...
 
DSAMatrixEXTRotate (Angle< GLfloat > angle, const Vector< GLfloat, 3 > &axis)
 Applies rotation by angle around axis to the current matrix. More...
 
DSAMatrixEXTRotate (Angle< GLdouble > angle, const Vector< GLdouble, 3 > &axis)
 Applies rotation by angle around axis to the current matrix. More...
 
DSAMatrixEXTScale (const GLfloat x, const GLfloat y, const GLfloat z)
 Scales the current matrix. More...
 
DSAMatrixEXTScale (const Vector< GLfloat, 3 > &amount)
 Scales the current matrix. More...
 
DSAMatrixEXTScale (const Vector< GLdouble, 3 > &amount)
 Scales the current matrix. More...
 
DSAMatrixEXTTranslate (const GLfloat x, const GLfloat y, const GLfloat z)
 Translates the current matrix. More...
 
DSAMatrixEXTTranslate (const Vector< GLfloat, 3 > &amount)
 Translates the current matrix. More...
 
DSAMatrixEXTTranslate (const Vector< GLdouble, 3 > &amount)
 Translates the current matrix. More...
 
DSAMatrixEXTOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_depth, GLdouble far_depth)
 Makes an ortho-matrix from the current matrix. More...
 
DSAMatrixEXTFrustum (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 matrix operations.

Requires the GL_EXT_direct_state_access extension.

Member Function Documentation

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

Makes a frustum-matrix from the current matrix.

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

Loads the specified matrix.

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

Loads the specified matrix.

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

Loads an identity matrix.

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

Multiplies the current matrix by the specified matrix.

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

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 
)

Makes an ortho-matrix from the current matrix.

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

Pops a matrix from the stack.

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

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 
)

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 
)

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 
)

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 
)

Scales the current matrix.

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

Scales the current matrix.

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

Scales the current matrix.

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

Translates the current matrix.

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

Translates the current matrix.

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

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).