Package ucar.unidata.view.sounding
Class HodographDisplayRendererJ3D
java.lang.Object
visad.DisplayRenderer
visad.java3d.DisplayRendererJ3D
visad.java3d.DefaultDisplayRendererJ3D
ucar.unidata.view.sounding.HodographDisplayRendererJ3D
- All Implemented Interfaces:
EventListener
,WindProfileDisplayRenderer
,ControlListener
,RendererSourceListener
public class HodographDisplayRendererJ3D
extends DefaultDisplayRendererJ3D
implements WindProfileDisplayRenderer
Provides a VisAD DisplayRendererJ3D for a wind hodograph.
- Version:
- $Id: HodographDisplayRendererJ3D.java,v 1.13 2005/05/13 18:33:31 jeffmc Exp $
- Author:
- Don Murray, Unidata/UCAR, Steven R. Emmerson, Unidata/UCAR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a listener for changes to the cursor position.protected double[]
Returns the cursor position in (speed,direction,altitude) coordinates.double[]
Gets the cursor position.void
Removes a listener for changes to the cursor position.void
Sets the cursor string vector.Methods inherited from class visad.java3d.DefaultDisplayRendererJ3D
createSceneGraph, destroy, setBoxAspect, setLineWidth
Methods inherited from class visad.java3d.DisplayRendererJ3D
addDirectManipulationSceneGraphComponent, addDirectManipulationSceneGraphComponent, addKeyboardBehavior, addLockedSceneGraphComponent, addLockedSceneGraphComponent, addSceneGraphComponent, addSceneGraphComponent, anyDirects, clearScale, clearScales, clearScene, controlChanged, createBasicSceneGraph, createBasicSceneGraph, depth_cursor, drag_cursor, drag_depth, drawCursorStringVector, findDirect, getBoxOnBranch, getCanvas, getCursor, getCursorOnBranch, getImage, getKeyboardBehavior, getMouseBehavior, getRoot, getTextureHeightMax, getTextureWidthMax, getTrans, getView, getViewTrans, initControl, legalDataRenderer, makeControl, makeDefaultRenderer, render_trigger, rendererDeleted, reorderRenderers, resetRendererOrder, saveSceneToFile, setClip, setCursorLoc, setCursorOn, setDirectOn, setDisplay, setScale, setScale, setScale, setScaleOn, setSceneGraphObjectName, setTransform3D, setWaitFlag, updateLockedTrans
Methods inherited from class visad.DisplayRenderer
getAnimationString, getAnimationStringVisible, getBoxOn, getCursorColor, getCursorStringVector, getCursorStringVectorUnconditional, getDirectAxisValue, getDirectAxisValue, getDisplay, getMode2D, getPickThreshhold, getRendererControl, getRotateAboutCenter, getScaleRotation, getWaitFlag, getWaitMessageVisible, legalDisplayScalar, prepareAction, setAnimationString, setAnimationStringVisible, setBackgroundColor, setBackgroundColor, setBoxColor, setBoxColor, setBoxOn, setCursorColor, setCursorColor, setCursorStringOn, setCursorStringVector, setForegroundColor, setForegroundColor, setPickThreshhold, setRotateAboutCenter, setScaleRotation, setWaitMessageVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ucar.unidata.view.sounding.WindProfileDisplayRenderer
setBoxOn, setCursorStringOn
-
Constructor Details
-
HodographDisplayRendererJ3D
public HodographDisplayRendererJ3D()Constructs from nothing.
-
-
Method Details
-
setCursorStringVector
public void setCursorStringVector()Sets the cursor string vector.- Specified by:
setCursorStringVector
in interfaceWindProfileDisplayRenderer
- Overrides:
setCursorStringVector
in classDisplayRenderer
-
getCursorPosition
public double[] getCursorPosition()Gets the cursor position.- Specified by:
getCursorPosition
in interfaceWindProfileDisplayRenderer
- Returns:
- The (speed,direction,altitude) cursor position.
-
addCursorPositionListener
Adds a listener for changes to the cursor position.- Specified by:
addCursorPositionListener
in interfaceWindProfileDisplayRenderer
- Parameters:
listener
- The change listener.
-
removeCursorPositionListener
Removes a listener for changes to the cursor position.- Specified by:
removeCursorPositionListener
in interfaceWindProfileDisplayRenderer
- Parameters:
listener
- The change listener.
-
getCursorInDisplayCoords
protected double[] getCursorInDisplayCoords()Returns the cursor position in (speed,direction,altitude) coordinates.- Returns:
- The cursor position.
-