Class RenderAreaExaminer
java.lang.Object
java.awt.Component
java.awt.Canvas
com.jogamp.newt.awt.NewtCanvasAWT
com.openinventor.inventor.viewercomponents.awt.newt.renderareas.RenderArea
com.openinventor.inventor.viewercomponents.awt.newt.renderareas.RenderAreaInteractive
com.openinventor.inventor.viewercomponents.awt.newt.renderareas.RenderAreaExaminer
- All Implemented Interfaces:
- com.jogamp.nativewindow.awt.AWTPrintLifecycle,- com.jogamp.nativewindow.NativeSurfaceHolder,- com.jogamp.nativewindow.NativeWindowHolder,- com.jogamp.nativewindow.OffscreenLayerOption,- com.jogamp.nativewindow.WindowClosingProtocol,- com.jogamp.newt.event.KeyListener,- com.jogamp.newt.event.MouseListener,- com.jogamp.newt.event.NEWTEventListener,- com.jogamp.opengl.GLEventListener,- IRenderArea,- IRenderAreaExaminer,- IRenderAreaInteractive,- ImageObserver,- MenuContainer,- Serializable,- EventListener,- Accessible
Class to render an OpenInventor scene graph in a NEWT AWT
 Canvas. This class extends RenderAreaInteractive to add examiner viewer
 behaviors.
 
 Note: When using this component, the automatic interactive mode is disabled,
 see
 SoSceneManager.setAutoInteractiveMode(boolean)
 for more details. Interactive mode is managed by the SceneExaminer node.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.awt.ComponentComponent.BaselineResizeBehaviorNested classes/interfaces inherited from interface com.jogamp.nativewindow.awt.AWTPrintLifecyclecom.jogamp.nativewindow.awt.AWTPrintLifecycle.ContextNested classes/interfaces inherited from interface com.openinventor.inventor.viewercomponents.awt.IRenderAreaInteractiveIRenderAreaInteractive.ClippingPlanesAdjustModeNested classes/interfaces inherited from interface com.jogamp.nativewindow.WindowClosingProtocolcom.jogamp.nativewindow.WindowClosingProtocol.WindowClosingMode
- 
Field SummaryFields inherited from class com.jogamp.newt.awt.NewtCanvasAWTDEBUGFields inherited from class java.awt.ComponentBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface com.jogamp.nativewindow.awt.AWTPrintLifecycleDEFAULT_PRINT_TILE_SIZEFields inherited from interface java.awt.image.ImageObserverABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds the specified listener to receive notifications of interaction mode changes.Gets the current interaction mode.Gets the current navigation mode.Deprecated.Gets the root scene graph of this render area.voidinit(com.jogamp.opengl.GLAutoDrawable drawable) voidRemoves the specified listener so that it no longer receives notifications of interaction mode changes.voidSet interaction mode to navigation or selection.voidSets the navigation mode to orbit or plane.voidsetSeekMode(boolean onOrOff) Sets the interaction into or out off seek mode (default is off).Methods inherited from class com.openinventor.inventor.viewercomponents.awt.newt.renderareas.RenderAreaInteractiveactivateStereo, getClippingPlanesAdjustMode, isStereoSupported, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, restoreCamera, saveCamera, setCameraType, setClippingPlanesAdjustMode, setSceneGraph, setStereoCameraBalance, setStereoCameraOffset, viewAll, viewAxisMethods inherited from class com.openinventor.inventor.viewercomponents.awt.newt.renderareas.RenderAreadisplay, dispose, dispose, getAntialiasingMode, getAntialiasingQuality, getComponent, getGLRenderAction, getStillSuperSamplingDelay, getStillSuperSamplingQuality, getTransparencyType, isRawStereoAvailable, reshape, scheduleRedraw, setAntialiasingMode, setAntialiasingQuality, setGLRenderAction, setStillSuperSamplingDelay, setStillSuperSamplingQuality, setTransparencyTypeMethods inherited from class com.jogamp.newt.awt.NewtCanvasAWTaddNotify, destroy, getDefaultCloseOperation, getGraphicsConfiguration, getNativeSurface, getNativeWindow, getNEWTChild, getShallUseOffscreenLayer, getSkipJAWTDestroy, isApplet, isAWTEventPassThrough, isOffscreenLayerSurfaceEnabled, paint, print, releasePrint, removeNotify, reshape, setDefaultCloseOperation, setNEWTChild, setShallUseOffscreenLayer, setSkipJAWTDestroy, setupPrint, updateMethods inherited from class java.awt.CanvascreateBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategyMethods inherited from class java.awt.Componentaction, 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, 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, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validateMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.openinventor.inventor.viewercomponents.awt.IRenderAreaactivateStereo, dispose, getAntialiasingMode, getAntialiasingQuality, getComponent, getGLRenderAction, getStillSuperSamplingDelay, getStillSuperSamplingQuality, getTransparencyType, isRawStereoAvailable, scheduleRedraw, setAntialiasingMode, setAntialiasingQuality, setGLRenderAction, setSceneGraph, setStillSuperSamplingDelay, setStillSuperSamplingQuality, setTransparencyTypeMethods inherited from interface com.openinventor.inventor.viewercomponents.awt.IRenderAreaInteractivegetClippingPlanesAdjustMode, isStereoSupported, restoreCamera, saveCamera, setCameraType, setClippingPlanesAdjustMode, setStereoCameraBalance, setStereoCameraOffset, viewAll, viewAxis
- 
Constructor Details- 
RenderAreaExaminerpublic RenderAreaExaminer()
- 
RenderAreaExaminerpublic RenderAreaExaminer(boolean enableStereo) 
 
- 
- 
Method Details- 
initpublic void init(com.jogamp.opengl.GLAutoDrawable drawable) - Specified by:
- initin interface- com.jogamp.opengl.GLEventListener
- Overrides:
- initin class- RenderAreaInteractive
 
- 
setSeekModepublic void setSeekMode(boolean onOrOff) Description copied from interface:IRenderAreaExaminerSets the interaction into or out off seek mode (default is off).- Specified by:
- setSeekModein interface- IRenderAreaExaminer
- Parameters:
- onOrOff- true to activate seek mode
 
- 
setInteractionModeDescription copied from interface:IRenderAreaExaminerSet interaction mode to navigation or selection.- Specified by:
- setInteractionModein interface- IRenderAreaExaminer
- Parameters:
- mode- the new interaction mode
 
- 
getInteractionModeDescription copied from interface:IRenderAreaExaminerGets the current interaction mode.- Specified by:
- getInteractionModein interface- IRenderAreaExaminer
- Returns:
- the current interaction mode
 
- 
addInteractionModeListenerDescription copied from interface:IRenderAreaExaminerAdds the specified listener to receive notifications of interaction mode changes.- Specified by:
- addInteractionModeListenerin interface- IRenderAreaExaminer
- Parameters:
- listener- the interaction mode listener to add
 
- 
removeInteractionModeListenerDescription copied from interface:IRenderAreaExaminerRemoves the specified listener so that it no longer receives notifications of interaction mode changes.- Specified by:
- removeInteractionModeListenerin interface- IRenderAreaExaminer
- Parameters:
- listener- the interaction mode listener to remove
 
- 
getRootSceneGraphDeprecated.As of Open Inventor 10.5.0, usegetSceneInteractor()instead.Description copied from interface:IRenderAreaInteractiveGets the root scene graph of this render area.- Specified by:
- getRootSceneGraphin interface- IRenderAreaExaminer
- Specified by:
- getRootSceneGraphin interface- IRenderAreaInteractive
- Overrides:
- getRootSceneGraphin class- RenderAreaInteractive
- Returns:
- the root scene graph
 
- 
getSceneInteractorDescription copied from interface:IRenderAreaInteractiveGets the root scene graph of this render area.- Specified by:
- getSceneInteractorin interface- IRenderAreaExaminer
- Specified by:
- getSceneInteractorin interface- IRenderAreaInteractive
- Overrides:
- getSceneInteractorin class- RenderAreaInteractive
- Returns:
- the root scene graph
 
 
- 
getSceneInteractor()instead.