|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
GPURendererListenerBase01 Keys: More...
Classes | |
| class | KeyAction |
Public Member Functions | |
| GPUTextRendererListenerBase01 (final GLProfile glp, final int renderModes, final int aaQuality, final int sampleCount, final boolean blending, final boolean debug, final boolean trace) | |
| int | getHeadBoxType () |
| AABBox | getHeadBox () |
| void | setHeadBox (final int choice, final boolean resize) |
| void | setHeadBox (final String text, final boolean resize) |
| void | init (final GLAutoDrawable drawable) |
| Called by the drawable immediately after the OpenGL context is initialized. More... | |
| void | reshape (final GLAutoDrawable drawable, final int xstart, final int ystart, final int width, final int height) |
| Called by the drawable during the first repaint after the component has been resized. More... | |
| void | dispose (final GLAutoDrawable drawable) |
| Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs. More... | |
| void | display (final GLAutoDrawable drawable) |
| Called by the drawable to initiate OpenGL rendering by the client. More... | |
| Font | getFont () |
| float | getFontSizeHead () |
| void | fontBottomIncr (final int v) |
| void | fontHeadIncr (final int v) |
| void | setFontHeadSize (final int v) |
| boolean | nextFontSet () |
| boolean | setFontSet (final int set, final int family, final int stylebits) |
| boolean | setFont (final Font _font) |
| boolean | isUserInputMode () |
| void | attachInputListenerTo (final GLWindow window) |
| Attach the input listener to the window. More... | |
| void | detachInputListenerFrom (final GLWindow window) |
| void | printScreen (final GLAutoDrawable drawable, final String dir, final String tech, final String objName, final boolean exportAlpha) throws GLException, IOException |
Public Member Functions inherited from com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01 | |
| GPURendererListenerBase01 (final RegionRenderer renderer, final int renderModes, final boolean debug, final boolean trace) | |
| final RegionRenderer | getRenderer () |
| final int | getRenderModes () |
| final float | getZTran () |
| final float | getXTran () |
| final float | getYTran () |
| final float | getAngleDeg () |
| final float | getAngleRad () |
| final float[] | getPosition () |
| void | setMatrix (final float xtrans, final float ytrans, final float zTran, final float angle) |
| void | init (final GLAutoDrawable drawable) |
| Called by the drawable immediately after the OpenGL context is initialized. More... | |
| void | reshape (final GLAutoDrawable drawable, final int xstart, final int ystart, final int width, final int height) |
| Called by the drawable during the first repaint after the component has been resized. More... | |
| void | dispose (final GLAutoDrawable drawable) |
| Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs. More... | |
| void | zoom (final int v) |
| void | move (final float x, final float y) |
| void | rotate (final float delta) |
| void | editGlobalWeight (final float delta) |
| void | attachInputListenerTo (final GLWindow window) |
| Attach the input listener to the window. More... | |
| void | detachInputListenerFrom (final GLWindow window) |
| void | printScreen (final GLAutoDrawable drawable, final String dir, final String tech, final String objName, final boolean exportAlpha) throws GLException, IOException |
| void | printScreenOnGLThread (final GLAutoDrawable drawable, final String dir, final String tech, final String objName, final boolean exportAlpha) |
| void | setIgnoreInput (final boolean v) |
| boolean | getIgnoreInput () |
| void | init (GLAutoDrawable drawable) |
| Called by the drawable immediately after the OpenGL context is initialized. More... | |
| void | dispose (GLAutoDrawable drawable) |
| Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs. More... | |
| void | display (GLAutoDrawable drawable) |
| Called by the drawable to initiate OpenGL rendering by the client. More... | |
| void | reshape (GLAutoDrawable drawable, int x, int y, int width, int height) |
| Called by the drawable during the first repaint after the component has been resized. More... | |
Static Public Member Functions | |
| static void | upsizeWindowSurface (final Window window, final boolean off_thread, final int w, final int h) |
Static Public Member Functions inherited from com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01 | |
| static void | mapWin2ObjectCoords (final PMVMatrix4f pmv, final Recti view, final float zNear, final float zFar, final float orthoX, final float orthoY, final float orthoDist, final float[] winZ, final Vec3f objPos) |
Public Attributes | |
| final TextRegionUtil | textRegionUtil |
Static Public Attributes | |
| static final String | text_help |
| static final String | textX1 |
| static final String | textX2 |
| static final String | textX20 |
Protected Attributes | |
| final AffineTransform | tempT1 = new AffineTransform() |
| final AffineTransform | tempT2 = new AffineTransform() |
Protected Attributes inherited from com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01 | |
| GLRegion | region |
| final float | zNear = 0.1f |
| final float | zFar = 7000f |
| final AABBox | nearPlane1Box |
| Describing the bounding box in model-coordinates of the near-plane parallel at distance one. More... | |
| volatile float | weight = 1.0f |
GPURendererListenerBase01 Keys:
Additional Keys:
Definition at line 72 of file GPUTextRendererListenerBase01.java.
| com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.GPUTextRendererListenerBase01 | ( | final GLProfile | glp, |
| final int | renderModes, | ||
| final int | aaQuality, | ||
| final int | sampleCount, | ||
| final boolean | blending, | ||
| final boolean | debug, | ||
| final boolean | trace | ||
| ) |
Definition at line 151 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.attachInputListenerTo | ( | final GLWindow | window | ) |
Attach the input listener to the window.
Reimplemented from com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.
Definition at line 518 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.detachInputListenerFrom | ( | final GLWindow | window | ) |
Reimplemented from com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.
Definition at line 527 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.display | ( | final GLAutoDrawable | drawable | ) |
Called by the drawable to initiate OpenGL rendering by the client.
After all GLEventListeners have been notified of a display event, the drawable will swap its buffers if setAutoSwapBufferMode is enabled.
Implements com.jogamp.opengl.GLEventListener.
Definition at line 286 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.dispose | ( | final GLAutoDrawable | drawable | ) |
Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs.
Called by the drawable before the OpenGL context is destroyed by an external event, like a reconfiguration of the GLAutoDrawable closing an attached window, but also manually by calling destroy.
Note that this event does not imply the end of life of the application. It could be produced with a followup call to init(GLAutoDrawable) in case the GLContext has been recreated, e.g. due to a pixel configuration change in a multihead environment.
Reimplemented from com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.
Definition at line 277 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.fontBottomIncr | ( | final int | v | ) |
Definition at line 436 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.fontHeadIncr | ( | final int | v | ) |
Definition at line 441 of file GPUTextRendererListenerBase01.java.
| Font com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.getFont | ( | ) |
Definition at line 433 of file GPUTextRendererListenerBase01.java.
| float com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.getFontSizeHead | ( | ) |
Definition at line 434 of file GPUTextRendererListenerBase01.java.
| AABBox com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.getHeadBox | ( | ) |
Definition at line 170 of file GPUTextRendererListenerBase01.java.
| int com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.getHeadBoxType | ( | ) |
Definition at line 169 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.init | ( | final GLAutoDrawable | drawable | ) |
Called by the drawable immediately after the OpenGL context is initialized.
Can be used to perform one-time OpenGL initialization per GLContext, such as setup of lights and display lists.
Note that this method may be called more than once if the underlying OpenGL context for the GLAutoDrawable is destroyed and recreated, for example if a GLCanvas is removed from the widget hierarchy and later added again.
Reimplemented from com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.
Definition at line 230 of file GPUTextRendererListenerBase01.java.
| boolean com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.isUserInputMode | ( | ) |
Definition at line 505 of file GPUTextRendererListenerBase01.java.
| boolean com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.nextFontSet | ( | ) |
Definition at line 459 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.printScreen | ( | final GLAutoDrawable | drawable, |
| final String | dir, | ||
| final String | tech, | ||
| final String | objName, | ||
| final boolean | exportAlpha | ||
| ) | throws GLException, IOException |
Reimplemented from com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.
Definition at line 536 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.reshape | ( | final GLAutoDrawable | drawable, |
| final int | x, | ||
| final int | y, | ||
| final int | width, | ||
| final int | height | ||
| ) |
Called by the drawable during the first repaint after the component has been resized.
The client can update it's viewport associated data and view volume of the window appropriately.
For efficiency the GL viewport has already been updated via glViewport(x, y, width, height) when this method is called.
| drawable | the triggering GLAutoDrawable |
| x | lower left corner of the viewport rectangle in pixel units |
| y | lower left corner of the viewport rectangle in pixel units |
| width | width of the viewport rectangle in pixel units |
| height | height of the viewport rectangle in pixel units |
Reimplemented from com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.
Definition at line 257 of file GPUTextRendererListenerBase01.java.
| boolean com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.setFont | ( | final Font | _font | ) |
Definition at line 490 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.setFontHeadSize | ( | final int | v | ) |
Definition at line 449 of file GPUTextRendererListenerBase01.java.
| boolean com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.setFontSet | ( | final int | set, |
| final int | family, | ||
| final int | stylebits | ||
| ) |
Definition at line 475 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.setHeadBox | ( | final int | choice, |
| final boolean | resize | ||
| ) |
Definition at line 171 of file GPUTextRendererListenerBase01.java.
| void com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.setHeadBox | ( | final String | text, |
| final boolean | resize | ||
| ) |
Definition at line 200 of file GPUTextRendererListenerBase01.java.
|
static |
Definition at line 211 of file GPUTextRendererListenerBase01.java.
|
protected |
Definition at line 93 of file GPUTextRendererListenerBase01.java.
|
protected |
Definition at line 94 of file GPUTextRendererListenerBase01.java.
|
static |
Definition at line 97 of file GPUTextRendererListenerBase01.java.
| final TextRegionUtil com.jogamp.opengl.test.junit.graph.GPUTextRendererListenerBase01.textRegionUtil |
Definition at line 73 of file GPUTextRendererListenerBase01.java.
|
static |
Definition at line 110 of file GPUTextRendererListenerBase01.java.
|
static |
Definition at line 121 of file GPUTextRendererListenerBase01.java.
|
static |
Definition at line 130 of file GPUTextRendererListenerBase01.java.