|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Default implementation of Scene.PMVMatrixSetup, implementing Scene.PMVMatrixSetup#set(PMVMatrix4f, Recti) as follows:
More...
Public Member Functions | |
| DefaultPMVMatrixSetup (final float scene_dist, final float zNear, final float zFar, final float angle) | |
Custom DefaultPMVMatrixSetup instance. More... | |
| DefaultPMVMatrixSetup (final float scene_dist, final float zNear, final float zFar) | |
Custom DefaultPMVMatrixSetup instance using given scene_dist, zNear, zFar and Scene#DEFAULT_ANGLE. More... | |
| DefaultPMVMatrixSetup (final float scene_dist) | |
Custom DefaultPMVMatrixSetup instance using given scene_dist and Scene#DEFAULT_ZNEAR, Scene#DEFAULT_ZFAR, Scene#DEFAULT_ANGLE. More... | |
| DefaultPMVMatrixSetup () | |
Default DefaultPMVMatrixSetup instance using Scene#DEFAULT_SCENE_DIST, Scene#DEFAULT_ZNEAR, Scene#DEFAULT_ZFAR, Scene#DEFAULT_ANGLE. More... | |
| void | set (final PMVMatrix4f pmv, final Recti viewport) |
Setup PMVMatrix4f's GLMatrixFunc#GL_PROJECTION and GLMatrixFunc#GL_MODELVIEW. More... | |
| void | setPlaneBox (final AABBox planeBox, final PMVMatrix4f pmv, final Recti viewport) |
Optional method to set the Scene#getBounds() AABBox, maybe a nop if not desired. More... | |
| float | getSceneDist () |
| Returns scene distance on z-axis to projection. More... | |
| float | getAngle () |
Returns fov projection angle in radians, shall be 0 for orthogonal projection. More... | |
| float | getZNear () |
| Returns projection z-near value. More... | |
| float | getZFar () |
| Returns projection z-far value. More... | |
| float | getSceneDist () |
| Returns scene distance on z-axis to projection. More... | |
| float | getAngle () |
Returns fov projection angle in radians, shall be 0 for orthogonal projection. More... | |
| float | getZNear () |
| Returns projection z-near value. More... | |
| float | getZFar () |
| Returns projection z-far value. More... | |
| void | set (PMVMatrix4f pmv, Recti viewport) |
Setup PMVMatrix4f's GLMatrixFunc#GL_PROJECTION and GLMatrixFunc#GL_MODELVIEW. More... | |
| void | setPlaneBox (final AABBox planeBox, final PMVMatrix4f pmv, Recti viewport) |
Optional method to set the Scene#getBounds() AABBox, maybe a nop if not desired. More... | |
Default implementation of Scene.PMVMatrixSetup, implementing Scene.PMVMatrixSetup#set(PMVMatrix4f, Recti) as follows:
GLMatrixFunc#GL_PROJECTION Matrix getAngle() with getZNear() and getZFar() getSceneDist() GLMatrixFunc#GL_MODELVIEW Matrix Definition at line 1506 of file Scene.java.
| com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.DefaultPMVMatrixSetup | ( | final float | scene_dist, |
| final float | zNear, | ||
| final float | zFar, | ||
| final float | angle | ||
| ) |
Custom DefaultPMVMatrixSetup instance.
| scene_dist | scene distance on z-axix |
| zNear | projection z-near value |
| zFar | projection z-far value |
| angle | projection angle in radians |
Definition at line 1526 of file Scene.java.
| com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.DefaultPMVMatrixSetup | ( | final float | scene_dist, |
| final float | zNear, | ||
| final float | zFar | ||
| ) |
Custom DefaultPMVMatrixSetup instance using given scene_dist, zNear, zFar and Scene#DEFAULT_ANGLE.
| scene_dist | scene distance on z-axix |
| zNear | projection z-near value |
| zFar | projection z-far value |
Definition at line 1544 of file Scene.java.
| com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.DefaultPMVMatrixSetup | ( | final float | scene_dist | ) |
Custom DefaultPMVMatrixSetup instance using given scene_dist and Scene#DEFAULT_ZNEAR, Scene#DEFAULT_ZFAR, Scene#DEFAULT_ANGLE.
| scene_dist | scene distance on z-axix |
Definition at line 1554 of file Scene.java.
| com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.DefaultPMVMatrixSetup | ( | ) |
Default DefaultPMVMatrixSetup instance using Scene#DEFAULT_SCENE_DIST, Scene#DEFAULT_ZNEAR, Scene#DEFAULT_ZFAR, Scene#DEFAULT_ANGLE.
Definition at line 1563 of file Scene.java.
| float com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.getAngle | ( | ) |
Returns fov projection angle in radians, shall be 0 for orthogonal projection.
Implements com.jogamp.graph.ui.Scene.PMVMatrixSetup.
Definition at line 1592 of file Scene.java.
| float com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.getSceneDist | ( | ) |
Returns scene distance on z-axis to projection.
Implements com.jogamp.graph.ui.Scene.PMVMatrixSetup.
Definition at line 1590 of file Scene.java.
| float com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.getZFar | ( | ) |
Returns projection z-far value.
Implements com.jogamp.graph.ui.Scene.PMVMatrixSetup.
Definition at line 1596 of file Scene.java.
| float com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.getZNear | ( | ) |
Returns projection z-near value.
Implements com.jogamp.graph.ui.Scene.PMVMatrixSetup.
Definition at line 1594 of file Scene.java.
| void com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.set | ( | final PMVMatrix4f | pmv, |
| final Recti | viewport | ||
| ) |
Setup PMVMatrix4f's GLMatrixFunc#GL_PROJECTION and GLMatrixFunc#GL_MODELVIEW.
See PMVMatrixSetup for details.
At the end of operations, the GLMatrixFunc#GL_MODELVIEW matrix is selected.
| pmv | the PMVMatrix4f to setup |
| viewport | Rect4i viewport |
Implements com.jogamp.graph.ui.Scene.PMVMatrixSetup.
Definition at line 1568 of file Scene.java.
| void com.jogamp.graph.ui.Scene.DefaultPMVMatrixSetup.setPlaneBox | ( | final AABBox | planeBox, |
| final PMVMatrix4f | pmv, | ||
| final Recti | viewport | ||
| ) |
Optional method to set the Scene#getBounds() AABBox, maybe a nop if not desired.
Will be called by Scene#reshape(GLAutoDrawable, int, int, int, int) after set(PMVMatrix4f, Recti).
| planeBox | the AABBox to define |
| pmv | the PMVMatrix4f, already setup via set(PMVMatrix4f, Recti). |
| viewport | Rect4i viewport |
Implements com.jogamp.graph.ui.Scene.PMVMatrixSetup.
Definition at line 1578 of file Scene.java.