public class SceneOrbiter extends SceneInteractor
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 be sure the specifications of this Preview Feature match the expectations of our customers.
The SceneOrbiter is an extension of the
node that allows providing the camera and headlight manipulations like
panning, zooming and orbiting. The 'headlight', i.e. an SoDirectionalLight
node, is automatically aligned with the camera's view direction.
More a viewing cube, i.e an SoViewingCube node, is added to the scene.
But Contrary to classic Open Inventor viewer, the selection mode doesn't need to be explicitly asked, by a key press.
See parent class
SceneInteractor for more details about the structure
of the internal scene graph.
The SceneOrbiter uses an instance of
manipulate the camera in response to OpenInventor events.
SoRenderAreaCoreclass. Example components are provided for AWT and SWT toolkits.
SoEventBuilderclass. Example components are provided for AWT and SWT toolkits: AWTEventToSoEvent and SWTEventToSoEvent.
SceneInteractor.adjustClippingPlanes(SbViewportRegion). See render area's implementations available in $OIVJHOME/examples/inventor/viewercomponents/awt and $OIVJHOME/examples/inventor/viewercomponents/swt folders for examples of
Please note that some interaction behaviors are different than the classic Open Inventor viewer classes :
SoSeparator.Cachings, SoSeparator.FastEditings, SoSeparator.RenderUnitIds
boundingBoxCaching, fastEditing, pickCulling, renderCaching, renderCulling, renderUnitId
|Constructor and Description|
|Modifier and Type||Method and Description|
Enable or disable the viewing cube.
Returns a pointer to the viewing cube.
Return if viewing cube is enabled.
Set camera mode to perspective or orthographic.
adjustClippingPlanes, enableHeadlight, getCamera, getCameraInteractor, getCameraMode, getRenderEngineMode, isHeadlightEnabled, viewAll, viewAxis
addChild, findChild, getChild, getNumChildren, insertChild, removeAllChildren, removeChild, removeChild, replaceChild, replaceChild
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
public void enableViewingCube(boolean enabled)
public boolean isViewingCubeEnabled()
public SoViewingCube getViewingCube()
Generated on February 26, 2021, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com