@Deprecated public class SwWalkArea extends SwConstrainedArea
SwRenderArea.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 |
---|
SwWalkArea(int type)
Deprecated.
create an SwConstrainedArea
|
Modifier and Type | Method and Description |
---|---|
void |
addNotify()
Deprecated.
Creates the peer of the drawing area.
|
SoFieldSensor |
getAnimationSensor()
Deprecated.
|
SbRotation |
getCamStartOrientation()
Deprecated.
|
float |
getMaxSpeed()
Deprecated.
|
float |
getMaxStraightSpeed()
Deprecated.
|
Scene.ViewingModes |
getMode()
Deprecated.
Gets the current viewing mode
|
java.lang.String[] |
getMouseResourcesName()
Deprecated.
|
SwPreferences |
getPreferencesPanel()
Deprecated.
Return the default preferences panel for all SwActiveArea.
|
float |
getSpeed()
Deprecated.
|
float |
getSpeedLimit()
Deprecated.
|
float |
getSpeedLimitFactor()
Deprecated.
|
int |
getType()
Deprecated.
|
boolean |
isAnimating()
Deprecated.
|
boolean |
isAnimationEnabled()
Deprecated.
|
void |
removeNotify()
Deprecated.
Destroys the peer of the drawing area.
|
void |
setAnimating(boolean animatingFlag)
Deprecated.
|
void |
setAnimationEnabled(boolean flag)
Deprecated.
|
void |
setCamera(SoCamera newCamera)
Deprecated.
redefines this to force the camera to be perspective (since orthographic
camera don't any sense in this area).
|
void |
setCameraClass(java.lang.Class cameraClass)
Deprecated.
This is redefined to prevent the camera type from being changed
|
void |
setMaxSpeed(float maxSpeed)
Deprecated.
|
void |
setMaxStraightSpeed(float value)
Deprecated.
|
void |
setMode(Scene.ViewingModes newMode,
java.awt.AWTEvent e)
Deprecated.
Sets the current viewing mode in the main view
|
void |
setPrevAnimTime(SbTime time)
Deprecated.
|
void |
setSeekMode(boolean flag)
Deprecated.
Call the base class and sets the correct cursors on the window
|
void |
setSpeed(float speed)
Deprecated.
|
void |
setSpeedLimit(float limit)
Deprecated.
|
void |
setSpeedLimitFactor(float limit)
Deprecated.
|
void |
setViewing(boolean flag,
java.awt.AWTEvent event)
Deprecated.
Sets whether the FlyArea is turned on or off.
|
void |
stopAnimating()
Deprecated.
|
void |
updateCursor()
Deprecated.
update the cursor on the FlyArea
|
void |
updateMode(java.awt.AWTEvent e)
Deprecated.
Sets the viewer mode based on the current key and mouse modifiers
|
void |
yPlaneCameraAction(float newVal)
Deprecated.
No behaviour by default
|
changeCameraValues, findUpDirection, getStartingMousePosition, getUpDirection, recomputeSceneSize, resetToHomePosition, saveHomePosition, setUpDirection, tiltCamera, xAxisCameraAction, yAxisCameraAction, zAxisCameraAction
addFinishCallback, addKeyboardDevice, addMouseDevice, 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, getNumSamples, getRealTime, getSceneGraph, getSceneSpeed, getSeekDistance, getSeekRadius, getSeekTime, getStereoMode, getStereoOffset, getStereoSwitch, hasChanged, interactiveCountDec, interactiveCountInc, isAutoClipping, isBufferingTypeUpdated, isCameraUpdated, isCursorEnabled, isDetailSeek, isDrawStyleUpdated, isFeedbackVisible, isFullRenderingWhenStill, isHeadlight, isHeadlightUpdated, isInteractive, isSeekDistAsPercentage, isSeekMode, isStillNow, isViewing, isViewingUpdated, notifySceneHandlers, notifySceneHandlers, panCamera, pasteView, redraw, removeFinishCallback, removeStartCallback, rollCamera, rotateCamera, seekToPoint, setAllChanged, setAltSwitchBack, setAutoClipping, setBufferingType, setCameraClassChangedTask, setCameraSceneGraph, setCameraZoom, setCurrentDrawStyle, setCursorEnabled, setDecimationPercentageCallback, setDecimationStrategy, setDetailSeek, setDoubleBuffer, setDrawStyle, setFeedbackSize, setFeedbackVisibility, setFixedPercentage, setFramesPerSecondCallback, setGoalFramesPerSecond, setGoalNumberOfTriangles, setHeadlight, setInteractiveFlag, setLocator, setNumSamples, setPlane, setSceneGraph, setSceneSpeed, setSeekDistance, setSeekDistAsPercentage, setSeekRadius, setSeekTime, setStereoMode, setStereoOffset, setStereoSwitch, spinCamera, toggleCameraClass, viewAll, xPlaneCameraAction, 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, getViewportRegion, redrawOnSelectionChange, setBackgroundColor, setGLRenderAction, setViewportRegion
getBackgroundIndex, getRedrawPriority, getSize, getTransparencyType, isAutoRedraw, isClearBeforeRender, redrawOverlay, scheduleRedraw, setAntialiasing, setAutoRedraw, setBackgroundIndex, setClearBeforeRender, setRedrawPriority, setSize, setTransparencyType
public SwWalkArea(int type)
type
- SwScene.BROWSER or SwScene.EDITORpublic void addNotify()
SwDrawingArea
addNotify
in class SwActiveArea
Canvas
public void removeNotify()
SwDrawingArea
removeNotify
in class SwActiveArea
Component
public SwPreferences getPreferencesPanel()
SwActiveArea
getPreferencesPanel
in interface SwScene
getPreferencesPanel
in class SwActiveArea
public int getType()
public void setViewing(boolean flag, java.awt.AWTEvent event)
setViewing
in interface Scene
setViewing
in class SwActiveArea
public void updateCursor()
updateCursor
in class SwActiveArea
public void setCamera(SoCamera newCamera)
setCamera
in interface SwScene
setCamera
in class SwConstrainedArea
public void setCameraClass(java.lang.Class cameraClass)
setCameraClass
in interface SwScene
setCameraClass
in class SwActiveArea
SoPerspectiveCamera
,
SoOrthographicCamera
public void setSeekMode(boolean flag)
setSeekMode
in interface Scene
setSeekMode
in class SwActiveArea
public void updateMode(java.awt.AWTEvent e)
updateMode
in interface SwScene
updateMode
in class SwActiveArea
public Scene.ViewingModes getMode()
getMode
in interface Scene
getMode
in class SwActiveArea
public void setMode(Scene.ViewingModes newMode, java.awt.AWTEvent e)
setMode
in interface Scene
setMode
in class SwActiveArea
newMode
- may be com.openinventor.util.Scene.ViewingModes.PICK_MODE
com.openinventor.util.Scene.ViewingModes.DrawStyle.VIEW_MODE
com.openinventor.util.Scene.ViewingModes.PAN_MODE
com.openinventor.util.Scene.ViewingModes.PAN_MODE_ACTIVE
com.openinventor.util.Scene.ViewingModes.SPIN_MODE_ACTIVE
com.openinventor.util.Scene.ViewingModes.DOLLY_MODE_ACTIVE
com.openinventor.util.Scene.ViewingModes.ROLL_MODE_ACTIVE
com.openinventor.util.Scene.ViewingModes.SEEK_MODEe
- is used by registered listeners.public void stopAnimating()
stopAnimating
in interface Scene
stopAnimating
in class SwActiveArea
public void yPlaneCameraAction(float newVal)
SwActiveArea
yPlaneCameraAction
in interface SwScene
yPlaneCameraAction
in class SwActiveArea
public float getSpeed()
public void setSpeed(float speed)
public float getSpeedLimit()
public void setSpeedLimit(float limit)
public float getSpeedLimitFactor()
public void setSpeedLimitFactor(float limit)
public float getMaxStraightSpeed()
public void setMaxStraightSpeed(float value)
public float getMaxSpeed()
public void setMaxSpeed(float maxSpeed)
public SoFieldSensor getAnimationSensor()
public void setPrevAnimTime(SbTime time)
public SbRotation getCamStartOrientation()
public void setAnimating(boolean animatingFlag)
setAnimating
in interface Scene
setAnimating
in class SwActiveArea
public boolean isAnimating()
isAnimating
in interface Scene
isAnimating
in class SwActiveArea
public void setAnimationEnabled(boolean flag)
setAnimationEnabled
in interface Scene
setAnimationEnabled
in class SwActiveArea
public boolean isAnimationEnabled()
isAnimationEnabled
in interface Scene
isAnimationEnabled
in class SwActiveArea
public java.lang.String[] getMouseResourcesName()
getMouseResourcesName
in interface SwScene
getMouseResourcesName
in class SwActiveArea
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com