Class RenderAreaOrbiter
- 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.RenderAreaOrbiter
-
- All Implemented Interfaces:
com.jogamp.nativewindow.awt.AWTPrintLifecycle
,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
,IRenderAreaInteractive
,java.awt.image.ImageObserver
,java.awt.MenuContainer
,java.io.Serializable
,java.util.EventListener
,javax.accessibility.Accessible
public class RenderAreaOrbiter extends RenderAreaInteractive
(Preview Feature) Class to render an OpenInventor scene graph in a NEWT AWT Canvas.Preview Feature means this class is fully supported and can be used in Open Inventor applications. Being tagged as a Preview Feature just means that the implementation is still subject to API changes and adjustments based on feedback from early adopters. Please be also aware that source compatibility might be broken regardless of the Open Inventor compatibility changes policy due to our commitment to bring needed changes to make sure that the specifications of this Preview Feature match the expectations of our customers.
This class extends RenderAreaInteractive to add scene orbiter viewer behaviors. Unlike the RenderAreaExaminer, the scene orbiter is a "mode-less" viewer.Note: When using this component, the automatic interactive mode is disabled, see
SoSceneManager.setAutoInteractiveMode(boolean)
for more details. Interactive mode is managed by the SceneOrbiter node.- See Also:
SceneOrbiter
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.BaselineResizeBehavior
-
Nested classes/interfaces inherited from interface com.jogamp.nativewindow.awt.AWTPrintLifecycle
com.jogamp.nativewindow.awt.AWTPrintLifecycle.Context
-
Nested classes/interfaces inherited from interface com.openinventor.inventor.viewercomponents.awt.IRenderAreaInteractive
IRenderAreaInteractive.ClippingPlanesAdjustMode
-
-
Constructor Summary
Constructors Constructor Description RenderAreaOrbiter()
RenderAreaOrbiter(boolean enableStereo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SceneOrbiter
getSceneInteractor()
Gets the root scene graph of this render area.void
init(com.jogamp.opengl.GLAutoDrawable drawable)
-
Methods inherited from class com.openinventor.inventor.viewercomponents.awt.newt.renderareas.RenderAreaInteractive
activateStereo, getClippingPlanesAdjustMode, getRootSceneGraph, isStereoSupported, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, restoreCamera, saveCamera, setCameraType, setClippingPlanesAdjustMode, setSceneGraph, setStereoCameraBalance, setStereoCameraOffset, viewAll, viewAxis
-
Methods inherited from class com.openinventor.inventor.viewercomponents.awt.newt.renderareas.RenderArea
display, dispose, dispose, getAntialiasingMode, getAntialiasingQuality, getComponent, getGLRenderAction, getStillSuperSamplingDelay, getStillSuperSamplingQuality, getTransparencyType, isRawStereoAvailable, reshape, scheduleRedraw, setAntialiasingMode, setAntialiasingQuality, setGLRenderAction, setStillSuperSamplingDelay, setStillSuperSamplingQuality, setTransparencyType
-
Methods inherited from class com.jogamp.newt.awt.NewtCanvasAWT
addNotify, destroy, getDefaultCloseOperation, getGraphicsConfiguration, getNativeWindow, getNEWTChild, getShallUseOffscreenLayer, getSkipJAWTDestroy, isApplet, isAWTEventPassThrough, isOffscreenLayerSurfaceEnabled, paint, print, releasePrint, removeNotify, reshape, setDefaultCloseOperation, setNEWTChild, setShallUseOffscreenLayer, setSkipJAWTDestroy, setupPrint, update
-
Methods inherited from class java.awt.Canvas
createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy
-
Methods inherited from class java.awt.Component
action, 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, validate
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.openinventor.inventor.viewercomponents.awt.IRenderArea
dispose, getAntialiasingMode, getAntialiasingQuality, getComponent, getGLRenderAction, getStillSuperSamplingDelay, getStillSuperSamplingQuality, getTransparencyType, isRawStereoAvailable, scheduleRedraw, setAntialiasingMode, setAntialiasingQuality, setGLRenderAction, setStillSuperSamplingDelay, setStillSuperSamplingQuality, setTransparencyType
-
-
-
-
Method Detail
-
init
public void init(com.jogamp.opengl.GLAutoDrawable drawable)
- Specified by:
init
in interfacecom.jogamp.opengl.GLEventListener
- Overrides:
init
in classRenderAreaInteractive
-
getSceneInteractor
public SceneOrbiter getSceneInteractor()
Description copied from interface:IRenderAreaInteractive
Gets the root scene graph of this render area.- Specified by:
getSceneInteractor
in interfaceIRenderAreaInteractive
- Overrides:
getSceneInteractor
in classRenderAreaInteractive
- Returns:
- the root scene graph
-
-