JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.demos.graph.GPUTextGLListener0A Class Reference
Inheritance diagram for com.jogamp.opengl.demos.graph.GPUTextGLListener0A:
Collaboration diagram for com.jogamp.opengl.demos.graph.GPUTextGLListener0A:

Public Member Functions

 GPUTextGLListener0A (final GLProfile glp, final int renderModes, final int aaQuality, final int sampleCount, final boolean blending, final boolean debug, final boolean trace)
 
void init (final GLAutoDrawable drawable)
 Called by the drawable immediately after the OpenGL context is initialized. 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...
 
- Public Member Functions inherited from com.jogamp.opengl.demos.graph.GPUTextRendererListenerBase01
 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.demos.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...
 

Additional Inherited Members

- Static Public Member Functions inherited from com.jogamp.opengl.demos.graph.GPUTextRendererListenerBase01
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.demos.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 inherited from com.jogamp.opengl.demos.graph.GPUTextRendererListenerBase01
final TextRegionUtil textRegionUtil
 
- Static Public Attributes inherited from com.jogamp.opengl.demos.graph.GPUTextRendererListenerBase01
static final String text_help
 
static final String textX1
 
static final String textX2
 
static final String textX20
 
- Protected Attributes inherited from com.jogamp.opengl.demos.graph.GPUTextRendererListenerBase01
final AffineTransform tempT1 = new AffineTransform()
 
final AffineTransform tempT2 = new AffineTransform()
 
- Protected Attributes inherited from com.jogamp.opengl.demos.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
 

Detailed Description

Definition at line 38 of file GPUTextGLListener0A.java.

Constructor & Destructor Documentation

◆ GPUTextGLListener0A()

com.jogamp.opengl.demos.graph.GPUTextGLListener0A.GPUTextGLListener0A ( final GLProfile  glp,
final int  renderModes,
final int  aaQuality,
final int  sampleCount,
final boolean  blending,
final boolean  debug,
final boolean  trace 
)

Definition at line 40 of file GPUTextGLListener0A.java.

Member Function Documentation

◆ dispose()

void com.jogamp.opengl.demos.graph.GPUTextGLListener0A.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.demos.graph.GPUTextRendererListenerBase01.

Definition at line 61 of file GPUTextGLListener0A.java.

Here is the call graph for this function:

◆ init()

void com.jogamp.opengl.demos.graph.GPUTextGLListener0A.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.demos.graph.GPUTextRendererListenerBase01.

Definition at line 45 of file GPUTextGLListener0A.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: