@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.FloatColorBufferSizejava.awt.Component.BaselineResizeBehaviorScene.BufferType, Scene.DrawStyle, Scene.ViewingModesFIXED_NUM_TRIANGLES, FIXED_PERCENTAGE, FRAMES_PER_SECOND, NORMALBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTBROWSER, 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, zPlaneCameraActiongetAntialiasing, 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, setViewportRegiongetAreaPeer, getFullSceneAntialiasingQuality, getGLGraphicsConfig, getGLSharedContext, hasOpenGlStereoConfiguration, haveContext, isDoubleBuffer, isFullSceneAntialiasingEnabled, paint, setFullSceneAntialiasing, setFullSceneAntialiasing, setGLGraphicsConfigTemplate, setOpenGlStereoConfiguration, updatecreateBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategyaction, 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, validateequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBackgroundColor, getGLRenderAction, getType, getViewportRegion, redrawOnSelectionChange, setBackgroundColor, setGLRenderAction, setViewportRegiongetBackgroundIndex, getRedrawPriority, getSize, getTransparencyType, isAutoRedraw, isClearBeforeRender, redrawOverlay, scheduleRedraw, setAntialiasing, setAutoRedraw, setBackgroundIndex, setClearBeforeRender, setRedrawPriority, setSize, setTransparencyTypepublic 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 SwScenesetCamera in class SwActiveAreapublic void changeCameraValues(SoCamera newCamera)
changeCameraValues in interface SwScenechangeCameraValues in class SwActiveAreapublic void saveHomePosition()
saveHomePosition in interface ScenesaveHomePosition in class SwActiveAreapublic void resetToHomePosition()
resetToHomePosition in interface SceneresetToHomePosition in class SwActiveAreapublic void tiltCamera(float deltaAngle)
tiltCamera in interface SwScenetiltCamera in class SwActiveAreadeltaAngle - tilt anglepublic void xAxisCameraAction(float value)
SwScenexAxisCameraAction in interface SwScenexAxisCameraAction in class SwActiveAreapublic void yAxisCameraAction(float value)
SwSceneyAxisCameraAction in interface SwSceneyAxisCameraAction in class SwActiveAreapublic void zAxisCameraAction(float value)
SwActiveAreazAxisCameraAction in interface SwScenezAxisCameraAction in class SwActiveAreapublic SbVec2s getStartingMousePosition()
public void recomputeSceneSize()
recomputeSceneSize in class SwActiveAreaGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com