public class RenderArea extends com.jogamp.opengl.awt.GLCanvas implements com.jogamp.opengl.GLEventListener, IRenderArea
java.awt.Component.BaselineResizeBehaviorBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDEFAULT_PRINT_TILE_SIZE| Constructor and Description |
|---|
RenderArea() |
RenderArea(com.jogamp.opengl.GLCapabilities caps) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateStereo(boolean activated)
Activates or deactivates raw stereo.
|
void |
display(com.jogamp.opengl.GLAutoDrawable drawable) |
void |
dispose()
Dispose area resources.
|
void |
dispose(com.jogamp.opengl.GLAutoDrawable drawable) |
java.awt.Canvas |
getComponent()
Gets the parent component of this render area.
|
SoGLRenderAction |
getGLRenderAction()
Gets the GLRenderAction used for rendering.
|
SoGLRenderAction.TransparencyTypes |
getTransparencyType()
Gets the global transparency algorithm to use when rendering.
|
void |
init(com.jogamp.opengl.GLAutoDrawable drawable) |
boolean |
isRawStereoAvailable()
Gets availability of raw stereo.
|
void |
reshape(com.jogamp.opengl.GLAutoDrawable drawable,
int x,
int y,
int width,
int height) |
void |
scheduleRedraw()
Schedules a redraw for some time in the near future.
|
void |
setGLRenderAction(SoGLRenderAction ra)
Sets the GLRenderAction used for rendering.
|
void |
setSceneGraph(SoNode sceneGraph)
Sets the scene graph.
|
void |
setTransparencyType(SoGLRenderAction.TransparencyTypes type)
Sets the global transparency algorithm to use when rendering.
|
addGLEventListener, addGLEventListener, addNotify, areAllGLEventListenerInitialized, createContext, destroy, display, disposeGLEventListener, flushGLRunnables, getAnimator, getAutoSwapBufferMode, getChosenGLCapabilities, getContext, getContextCreationFlags, getCurrentSurfaceScale, getDefaultCloseOperation, getDelegatedDrawable, getExclusiveContextThread, getFactory, getGL, getGLEventListener, getGLEventListenerCount, getGLEventListenerInitState, getGLProfile, getGraphicsConfiguration, getHandle, getMaximumSurfaceScale, getMinimumSurfaceScale, getNativeSurface, getRequestedGLCapabilities, getRequestedSurfaceScale, getShallUseOffscreenLayer, getSurfaceHeight, getSurfaceWidth, getUpstreamLock, getUpstreamWidget, invoke, invoke, isGLOriented, isOffscreenLayerSurfaceEnabled, isRealized, isThreadGLCapable, main, paint, print, releasePrint, removeGLEventListener, removeNotify, reshape, setAnimator, setAutoSwapBufferMode, setContext, setContextCreationFlags, setDefaultCloseOperation, setExclusiveContextThread, setGL, setGLEventListenerInitState, setRealized, setShallUseOffscreenLayer, setSharedAutoDrawable, setSharedContext, setSurfaceScale, setupPrint, swapBuffers, toString, updatecreateBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategyaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, preferredSize, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle, validateequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListenerpublic RenderArea()
public RenderArea(com.jogamp.opengl.GLCapabilities caps)
public void setTransparencyType(SoGLRenderAction.TransparencyTypes type)
IRenderAreasetTransparencyType in interface IRenderAreatype - the global transparency algorithmpublic SoGLRenderAction.TransparencyTypes getTransparencyType()
IRenderAreagetTransparencyType in interface IRenderAreapublic void setGLRenderAction(SoGLRenderAction ra)
IRenderAreasetGLRenderAction in interface IRenderAreara - the GLRenderAction used for renderingpublic SoGLRenderAction getGLRenderAction()
IRenderAreagetGLRenderAction in interface IRenderAreapublic void activateStereo(boolean activated)
IRenderAreaactivateStereo in interface IRenderAreaactivated - true to activate raw stereopublic boolean isRawStereoAvailable()
IRenderAreaisRawStereoAvailable in interface IRenderAreapublic void setSceneGraph(SoNode sceneGraph)
IRenderAreasetSceneGraph in interface IRenderAreasceneGraph - the scene graphpublic java.awt.Canvas getComponent()
IRenderAreagetComponent in interface IRenderAreapublic void scheduleRedraw()
IRenderAreascheduleRedraw in interface IRenderAreapublic void init(com.jogamp.opengl.GLAutoDrawable drawable)
init in interface com.jogamp.opengl.GLEventListenerpublic void dispose(com.jogamp.opengl.GLAutoDrawable drawable)
dispose in interface com.jogamp.opengl.GLEventListenerpublic void dispose()
IRenderAreadispose in interface IRenderAreapublic void display(com.jogamp.opengl.GLAutoDrawable drawable)
display in interface com.jogamp.opengl.GLEventListenerpublic void reshape(com.jogamp.opengl.GLAutoDrawable drawable,
int x,
int y,
int width,
int height)
reshape in interface com.jogamp.opengl.GLEventListenerGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com