Geogram Version 1.8.5
A programming library of geometric algorithms
|
#include <geogram_gfx/GLUP/GLUP_context.h>
Classes | |
struct | Matrix |
Public Member Functions | |
MatrixStack () | |
MatrixStack constructor. | |
GLdouble * | top () |
Gets the matrix on the top of the stack. | |
void | push () |
Pushes a copy of the top matrix. | |
void | pop () |
Removes a matrix from the top of the stack. | |
Static Public Attributes | |
static const int | MAX_DEPTH =16 |
Maximum number of matrices in a stack. | |
A Matrix stack.
There are three matrix stacks in a context, for modelview matrices, projection matrices and texture coordinates.
Definition at line 273 of file GLUP_context.h.
|
inline |
MatrixStack constructor.
Definition at line 284 of file GLUP_context.h.
|
inline |
Removes a matrix from the top of the stack.
Definition at line 313 of file GLUP_context.h.
|
inline |
Pushes a copy of the top matrix.
Definition at line 301 of file GLUP_context.h.
|
inline |
Gets the matrix on the top of the stack.
Definition at line 294 of file GLUP_context.h.
|
static |
Maximum number of matrices in a stack.
Definition at line 279 of file GLUP_context.h.