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 TypeMethodDescriptionvoidAdds a listener for changes to the cursor position.protected double[]Returns the cursor position in (speed,direction,altitude) coordinates.double[]Gets the cursor position.voidRemoves a listener for changes to the cursor position.voidSets the cursor string vector.Methods inherited from class visad.java3d.DefaultDisplayRendererJ3D
createSceneGraph, destroy, setBoxAspect, setLineWidthMethods 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, updateLockedTransMethods 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, setWaitMessageVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
setCursorStringVectorin interfaceWindProfileDisplayRenderer- Overrides:
setCursorStringVectorin classDisplayRenderer
-
getCursorPosition
public double[] getCursorPosition()Gets the cursor position.- Specified by:
getCursorPositionin interfaceWindProfileDisplayRenderer- Returns:
- The (speed,direction,altitude) cursor position.
-
addCursorPositionListener
Adds a listener for changes to the cursor position.- Specified by:
addCursorPositionListenerin interfaceWindProfileDisplayRenderer- Parameters:
listener- The change listener.
-
removeCursorPositionListener
Removes a listener for changes to the cursor position.- Specified by:
removeCursorPositionListenerin interfaceWindProfileDisplayRenderer- Parameters:
listener- The change listener.
-
getCursorInDisplayCoords
protected double[] getCursorInDisplayCoords()Returns the cursor position in (speed,direction,altitude) coordinates.- Returns:
- The cursor position.
-