Class ViewerExaminer
- java.lang.Object
-
- org.eclipse.swt.widgets.Widget
-
- org.eclipse.swt.widgets.Control
-
- org.eclipse.swt.widgets.Scrollable
-
- org.eclipse.swt.widgets.Composite
-
- com.openinventor.inventor.viewercomponents.swt.glcanvas.viewers.ViewerExaminer
-
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
public class ViewerExaminer extends org.eclipse.swt.widgets.Composite
-
-
Constructor Summary
Constructors Constructor Description ViewerExaminer(org.eclipse.swt.widgets.Shell shell)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activateStereo(boolean activated)
void
addInteractionModeListener(SceneExaminer.InteractionModeListener listener)
RenderAreaInteractive.ClippingPlanesAdjustMode
getClippingPlanesAdjustMode()
SceneExaminer.InteractionMode
getInteractionMode()
SceneExaminer.NavigationMode
getNavigationMode()
RenderAreaExaminer
getRenderArea()
boolean
isRawStereoAvailable()
boolean
isStereoSupported()
void
loadSceneGraph(java.lang.String fileName)
void
restoreCamera()
void
saveCamera()
void
setCameraType(SceneInteractor.CameraMode mode)
void
setClippingPlanesAdjustMode(RenderAreaInteractive.ClippingPlanesAdjustMode mode)
void
setCursor(org.eclipse.swt.graphics.Cursor cursor)
void
setNavigationMode(SceneExaminer.NavigationMode mode)
void
setSeekMode(boolean onOrOff)
void
setStereoCameraBalance(float value)
void
setStereoCameraOffset(float value)
void
viewAll()
void
viewAxis(SbVec3f direction, SbVec3f up)
-
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
-
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
-
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
-
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, reskin, setData, setData, toString
-
-
-
-
Method Detail
-
loadSceneGraph
public void loadSceneGraph(java.lang.String fileName)
-
viewAll
public void viewAll()
-
getRenderArea
public RenderAreaExaminer getRenderArea()
-
saveCamera
public void saveCamera()
-
restoreCamera
public void restoreCamera()
-
setClippingPlanesAdjustMode
public void setClippingPlanesAdjustMode(RenderAreaInteractive.ClippingPlanesAdjustMode mode)
-
getClippingPlanesAdjustMode
public RenderAreaInteractive.ClippingPlanesAdjustMode getClippingPlanesAdjustMode()
-
setSeekMode
public void setSeekMode(boolean onOrOff)
-
setNavigationMode
public void setNavigationMode(SceneExaminer.NavigationMode mode)
-
getNavigationMode
public SceneExaminer.NavigationMode getNavigationMode()
-
getInteractionMode
public SceneExaminer.InteractionMode getInteractionMode()
-
addInteractionModeListener
public void addInteractionModeListener(SceneExaminer.InteractionModeListener listener)
-
setCameraType
public void setCameraType(SceneInteractor.CameraMode mode)
-
isRawStereoAvailable
public boolean isRawStereoAvailable()
-
isStereoSupported
public boolean isStereoSupported()
-
setCursor
public void setCursor(org.eclipse.swt.graphics.Cursor cursor)
- Overrides:
setCursor
in classorg.eclipse.swt.widgets.Control
-
activateStereo
public void activateStereo(boolean activated)
-
setStereoCameraBalance
public void setStereoCameraBalance(float value)
-
setStereoCameraOffset
public void setStereoCameraOffset(float value)
-
-