|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Subset of OpenGL fixed function pipeline's matrix operations. More...
Public Member Functions | |
| void | glGetFloatv (int pname, java.nio.FloatBuffer params) |
| Copy the named matrix into the given storage. More... | |
| void | glGetFloatv (int pname, float[] params, int params_offset) |
| Copy the named matrix to the given storage at offset. More... | |
| void | glGetIntegerv (int pname, IntBuffer params) |
| glGetIntegerv More... | |
| void | glGetIntegerv (int pname, int[] params, int params_offset) |
| void | glMatrixMode (int mode) |
| Sets the current matrix mode. More... | |
| void | glPushMatrix () |
| Push the current matrix to it's stack, while preserving it's values. More... | |
| void | glPopMatrix () |
| Pop the current matrix from it's stack. More... | |
| void | glLoadIdentity () |
| Load the current matrix with the identity matrix. More... | |
| void | glLoadMatrixf (java.nio.FloatBuffer m) |
| Load the current matrix w/ the provided one. More... | |
| void | glLoadMatrixf (float[] m, int m_offset) |
| Load the current matrix w/ the provided one. More... | |
| void | glMultMatrixf (java.nio.FloatBuffer m) |
| Multiply the current matrix: [c] = [c] x [m]. More... | |
| void | glMultMatrixf (float[] m, int m_offset) |
| Multiply the current matrix: [c] = [c] x [m]. More... | |
| void | glTranslatef (float x, float y, float z) |
| Translate the current matrix. More... | |
| void | glRotatef (float angle, float x, float y, float z) |
| Rotate the current matrix. More... | |
| void | glScalef (float x, float y, float z) |
| Scale the current matrix. More... | |
| void | glOrthof (float left, float right, float bottom, float top, float zNear, float zFar) |
Multiply the current matrix with the orthogonal matrix. More... | |
| void | glFrustumf (float left, float right, float bottom, float top, float zNear, float zFar) |
Multiply the current matrix with the frustum matrix. More... | |
Static Public Attributes | |
| static final int | GL_MATRIX_MODE = 0x0BA0 |
| static final int | GL_MODELVIEW = 0x1700 |
| Matrix mode modelview. More... | |
| static final int | GL_PROJECTION = 0x1701 |
| Matrix mode projection. More... | |
| static final int | GL_MODELVIEW_MATRIX = 0x0BA6 |
| Matrix access name for modelview. More... | |
| static final int | GL_PROJECTION_MATRIX = 0x0BA7 |
| Matrix access name for projection. More... | |
| static final int | GL_TEXTURE_MATRIX = 0x0BA8 |
| Matrix access name for texture. More... | |
Subset of OpenGL fixed function pipeline's matrix operations.
Definition at line 39 of file GLMatrixFunc.java.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glFrustumf | ( | float | left, |
| float | right, | ||
| float | bottom, | ||
| float | top, | ||
| float | zNear, | ||
| float | zFar | ||
| ) |
Multiply the current matrix with the frustum matrix.
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glGetFloatv | ( | int | pname, |
| float[] | params, | ||
| int | params_offset | ||
| ) |
Copy the named matrix to the given storage at offset.
| pname | GL_MODELVIEW_MATRIX, GL_PROJECTION_MATRIX or GL_TEXTURE_MATRIX |
| params | storage |
| params_offset | storage offset |
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glGetFloatv | ( | int | pname, |
| java.nio.FloatBuffer | params | ||
| ) |
Copy the named matrix into the given storage.
| pname | GL_MODELVIEW_MATRIX, GL_PROJECTION_MATRIX or GL_TEXTURE_MATRIX |
| params | the FloatBuffer's position remains unchanged, which is the same behavior than the native JOGL GL impl |
Implemented in com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glGetIntegerv | ( | int | pname, |
| int[] | params, | ||
| int | params_offset | ||
| ) |
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glGetIntegerv | ( | int | pname, |
| IntBuffer | params | ||
| ) |
glGetIntegerv
| pname | GL_MATRIX_MODE to receive the current matrix mode |
| params | the FloatBuffer's position remains unchanged which is the same behavior than the native JOGL GL impl |
Implemented in com.jogamp.opengl.util.PMVMatrix.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glLoadIdentity | ( | ) |
Load the current matrix with the identity matrix.
Implemented in com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, com.jogamp.opengl.TraceGLES1, and com.jogamp.opengl.util.PMVMatrix.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glLoadMatrixf | ( | float[] | m, |
| int | m_offset | ||
| ) |
Load the current matrix w/ the provided one.
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glLoadMatrixf | ( | java.nio.FloatBuffer | m | ) |
Load the current matrix w/ the provided one.
| params | the FloatBuffer's position remains unchanged, which is the same behavior than the native JOGL GL impl |
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glMatrixMode | ( | int | mode | ) |
Sets the current matrix mode.
| mode | GL_MODELVIEW, GL_PROJECTION or GL_TEXTURE. |
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glMultMatrixf | ( | float[] | m, |
| int | m_offset | ||
| ) |
Multiply the current matrix: [c] = [c] x [m].
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glMultMatrixf | ( | java.nio.FloatBuffer | m | ) |
Multiply the current matrix: [c] = [c] x [m].
| m | the FloatBuffer's position remains unchanged, which is the same behavior than the native JOGL GL impl |
Implemented in com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glOrthof | ( | float | left, |
| float | right, | ||
| float | bottom, | ||
| float | top, | ||
| float | zNear, | ||
| float | zFar | ||
| ) |
Multiply the current matrix with the orthogonal matrix.
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glPopMatrix | ( | ) |
Pop the current matrix from it's stack.
Implemented in com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, com.jogamp.opengl.TraceGLES1, and com.jogamp.opengl.util.PMVMatrix.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glPushMatrix | ( | ) |
Push the current matrix to it's stack, while preserving it's values.
There exist one stack per matrix mode, i.e. GL_MODELVIEW, GL_PROJECTION and GL_TEXTURE.
Implemented in com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, com.jogamp.opengl.TraceGLES1, and com.jogamp.opengl.util.PMVMatrix.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glRotatef | ( | float | angle, |
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
Rotate the current matrix.
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glScalef | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) |
Scale the current matrix.
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
| void com.jogamp.opengl.fixedfunc.GLMatrixFunc.glTranslatef | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) |
Translate the current matrix.
Implemented in com.jogamp.opengl.util.PMVMatrix, com.jogamp.opengl.DebugGL4bc, com.jogamp.opengl.DebugGLES1, com.jogamp.opengl.TraceGL4bc, and com.jogamp.opengl.TraceGLES1.
|
static |
Definition at line 41 of file GLMatrixFunc.java.
|
static |
Matrix mode modelview.
Definition at line 43 of file GLMatrixFunc.java.
|
static |
Matrix access name for modelview.
Definition at line 48 of file GLMatrixFunc.java.
|
static |
Matrix mode projection.
Definition at line 45 of file GLMatrixFunc.java.
|
static |
Matrix access name for projection.
Definition at line 50 of file GLMatrixFunc.java.
|
static |
Matrix access name for texture.
Definition at line 52 of file GLMatrixFunc.java.