@Deprecated public abstract class SwConstrainedArea extends SwActiveArea
This abstract component is the base of two constrained area SwWalkArea, and SwFlyArea.
SwDrawingArea
,
SwRenderArea
,
SwActiveArea
,
SwWalkArea
,
SwFlyArea
,
Serialized FormSwRenderArea.FloatColorBufferSize
java.awt.Component.BaselineResizeBehavior
Scene.BufferType, Scene.DrawStyle, Scene.ViewingModes
FIXED_NUM_TRIANGLES, FIXED_PERCENTAGE, FRAMES_PER_SECOND, NORMAL
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
BROWSER, EDITOR, INTERACTIVE, STILL
Constructor and Description |
---|
SwConstrainedArea(int type)
Deprecated.
create an SwConstrainedArea
|
Modifier and Type | Method and Description |
---|---|
void |
changeCameraValues(SoCamera newCamera)
Deprecated.
This is called during a paste.
|
void |
findUpDirection(SbVec2s mouseLocation)
Deprecated.
this routine is called by subclasses to find and set the new up direction
given the current mouse position.
|
SbVec2s |
getStartingMousePosition()
Deprecated.
|
SbVec3f |
getUpDirection()
Deprecated.
Get the upward direction of the viewer.
|
void |
recomputeSceneSize()
Deprecated.
redefines this set the scene size on max(width,depth) and update the scene
height (based on up direction)
NOTE: This routine is automatically called whenever setSceneGraph() is
called.
|
void |
resetToHomePosition()
Deprecated.
Restores the camera values
|
void |
saveHomePosition()
Deprecated.
Saves the camera values
|
void |
setCamera(SoCamera newCamera)
Deprecated.
Sets the camera to use (done in base class) and makes sure that camera
constrains are satisfied.
|
void |
setUpDirection(SbVec3f newUpDirection)
Deprecated.
Specifies the upward direction of the viewer.
|
void |
tiltCamera(float deltaAngle)
Deprecated.
Tilts the camera, restraining it to 180 degree rotation from the up
direction.
|
void |
xAxisCameraAction(float value)
Deprecated.
Operate an action on the camera along the X axis.
|
void |
yAxisCameraAction(float value)
Deprecated.
Operate an action on the camera along the Y axis.
|
void |
zAxisCameraAction(float value)
Deprecated.
Depending on the type of the camera, supports the zoom or dolly action.
|
addFinishCallback, addKeyboardDevice, addMouseDevice, addNotify, addSceneHandler, addStartCallback, adjustCameraClippingPlanes, arrowKeyPressed, clearChanged, copyView, deleteSceneHandler, deleteSceneHandlers, dollyCamera, enableFullRenderingWhenStill, finalize, getAltSwitchBack, getBufferingType, getCamera, getCameraClass, getCameraSceneGraph, getCameraZoom, getCurrentDecimationPercentage, getDecimationStrategy, getDrawStyle, getFeedbackSize, getFixedPercentage, getGoalFramesPerSecond, getGoalNumberOfTriangles, getHeadlight, getInteractiveCount, getInteractiveFlag, getLocator, getMode, getMouseResourcesName, getNumSamples, getPreferencesPanel, getRealTime, getSceneGraph, getSceneSpeed, getSeekDistance, getSeekRadius, getSeekTime, getStereoMode, getStereoOffset, getStereoSwitch, hasChanged, interactiveCountDec, interactiveCountInc, isAnimating, isAnimationEnabled, isAutoClipping, isBufferingTypeUpdated, isCameraUpdated, isCursorEnabled, isDetailSeek, isDrawStyleUpdated, isFeedbackVisible, isFullRenderingWhenStill, isHeadlight, isHeadlightUpdated, isInteractive, isSeekDistAsPercentage, isSeekMode, isStillNow, isViewing, isViewingUpdated, notifySceneHandlers, notifySceneHandlers, panCamera, pasteView, redraw, removeFinishCallback, removeNotify, removeStartCallback, rollCamera, rotateCamera, seekToPoint, setAllChanged, setAltSwitchBack, setAnimating, setAnimationEnabled, setAutoClipping, setBufferingType, setCameraClass, setCameraClassChangedTask, setCameraSceneGraph, setCameraZoom, setCurrentDrawStyle, setCursorEnabled, setDecimationPercentageCallback, setDecimationStrategy, setDetailSeek, setDoubleBuffer, setDrawStyle, setFeedbackSize, setFeedbackVisibility, setFixedPercentage, setFramesPerSecondCallback, setGoalFramesPerSecond, setGoalNumberOfTriangles, setHeadlight, setInteractiveFlag, setLocator, setMode, setNumSamples, setPlane, setSceneGraph, setSceneSpeed, setSeekDistance, setSeekDistAsPercentage, setSeekMode, setSeekRadius, setSeekTime, setStereoMode, setStereoOffset, setStereoSwitch, setViewing, spinCamera, stopAnimating, toggleCameraClass, updateCursor, updateMode, viewAll, xPlaneCameraAction, yPlaneCameraAction, zPlaneCameraAction
getAntialiasing, getBackgroundColor, getBackgroundIndex, getDefaultRedrawPriority, getFloatingPointRenderingPrecision, getGLRenderAction, getInvalidateCacheMode, getMPEGRecorder, getRedrawPriority, getSceneManager, getSortedTrianglesNumCaches, getSortedTrianglesSortFrequency, getTransparencyType, getViewportRegion, isAutoRedraw, isClearBeforeRender, isFloatingColorBufferSupported, processSoEvent, redrawOnSelectionChange, redrawOverlay, scheduleRedraw, setAntialiasing, setAutoRedraw, setBackgroundColor, setBackgroundIndex, setClearBeforeRender, setFloatingColorBuffer, setGLRenderAction, setInvalidateCacheMode, setMPEGRecorder, setOverlayColorMap, setRedrawPriority, setSize, setTransparencyType, setViewportRegion
getAreaPeer, getFullSceneAntialiasingQuality, getGLGraphicsConfig, getGLSharedContext, hasOpenGlStereoConfiguration, haveContext, isDoubleBuffer, isFullSceneAntialiasingEnabled, paint, setFullSceneAntialiasing, setFullSceneAntialiasing, setGLGraphicsConfigTemplate, setOpenGlStereoConfiguration, update
createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy
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, getGraphicsConfiguration, 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, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, 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, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBackgroundColor, getGLRenderAction, getType, getViewportRegion, redrawOnSelectionChange, setBackgroundColor, setGLRenderAction, setViewportRegion
getBackgroundIndex, getRedrawPriority, getSize, getTransparencyType, isAutoRedraw, isClearBeforeRender, redrawOverlay, scheduleRedraw, setAntialiasing, setAutoRedraw, setBackgroundIndex, setClearBeforeRender, setRedrawPriority, setSize, setTransparencyType
public SwConstrainedArea(int type)
type
- SwScene.BROWSER or SwScene.EDITORpublic void setUpDirection(SbVec3f newUpDirection)
public SbVec3f getUpDirection()
public void findUpDirection(SbVec2s mouseLocation)
public void setCamera(SoCamera newCamera)
setCamera
in interface SwScene
setCamera
in class SwActiveArea
public void changeCameraValues(SoCamera newCamera)
changeCameraValues
in interface SwScene
changeCameraValues
in class SwActiveArea
public void saveHomePosition()
saveHomePosition
in interface Scene
saveHomePosition
in class SwActiveArea
public void resetToHomePosition()
resetToHomePosition
in interface Scene
resetToHomePosition
in class SwActiveArea
public void tiltCamera(float deltaAngle)
tiltCamera
in interface SwScene
tiltCamera
in class SwActiveArea
deltaAngle
- tilt anglepublic void xAxisCameraAction(float value)
SwScene
xAxisCameraAction
in interface SwScene
xAxisCameraAction
in class SwActiveArea
public void yAxisCameraAction(float value)
SwScene
yAxisCameraAction
in interface SwScene
yAxisCameraAction
in class SwActiveArea
public void zAxisCameraAction(float value)
SwActiveArea
zAxisCameraAction
in interface SwScene
zAxisCameraAction
in class SwActiveArea
public SbVec2s getStartingMousePosition()
public void recomputeSceneSize()
recomputeSceneSize
in class SwActiveArea
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com