JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.graph.GPURegionGLListener10 Class Reference

Demonstrate the rendering of multiple OutlineShapes into one region. More...

Inheritance diagram for com.jogamp.opengl.test.junit.graph.GPURegionGLListener10:
Collaboration diagram for com.jogamp.opengl.test.junit.graph.GPURegionGLListener10:

Public Member Functions

 GPURegionGLListener10 (final int renderModes, final int aaQuality, final int sampleCount, final boolean debug, final boolean trace)
 
void init (final GLAutoDrawable drawable)
 Called by the drawable immediately after the OpenGL context is initialized. More...
 
void display (final GLAutoDrawable drawable)
 Called by the drawable to initiate OpenGL rendering by the client. More...
 
- 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...
 

Additional Inherited Members

- 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)
 
- 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
 

Detailed Description

Demonstrate the rendering of multiple OutlineShapes into one region.

Definition at line 50 of file GPURegionGLListener10.java.

Constructor & Destructor Documentation

◆ GPURegionGLListener10()

com.jogamp.opengl.test.junit.graph.GPURegionGLListener10.GPURegionGLListener10 ( final int  renderModes,
final int  aaQuality,
final int  sampleCount,
final boolean  debug,
final boolean  trace 
)

Definition at line 53 of file GPURegionGLListener10.java.

Here is the call graph for this function:

Member Function Documentation

◆ display()

void com.jogamp.opengl.test.junit.graph.GPURegionGLListener10.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 119 of file GPURegionGLListener10.java.

Here is the call graph for this function:

◆ init()

void com.jogamp.opengl.test.junit.graph.GPURegionGLListener10.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 105 of file GPURegionGLListener10.java.

Here is the call graph for this function:

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