public class WindStaffDisplay extends WindProfileDisplay
ACTIVE_MEAN_WIND, ACTIVE_PROFILE, GEOPOTENTIAL_ALTITUDE, PROFILE_DIRECTION, PROFILE_SPEEDbehavior, defaultMouseFunctions, log_, POINT_MODE| Constructor and Description |
|---|
WindStaffDisplay()
Constructs from nothing.
|
WindStaffDisplay(visad.Real minZ,
visad.Real maxZ)
Constructs with a given altitude extent.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addScalarMaps()
Adds the set of ScalarMap-s specific to this instance.
|
protected void |
displayAltitudeExtentChange()
Handles a change to the displayed altitude extent
|
static void |
main(java.lang.String[] args)
Tests this class.
|
protected Displayable |
newMeanWind()
Returns the MeanWind Displayable with a missing mean-wind.
|
protected Displayable |
newMeanWind(visad.DataReference meanWindRef)
Returns a MeanWind Displayable corresponding to a data reference for a
mean-wind Tuple.
|
protected Displayable |
newMeanWind(visad.Tuple meanWind)
Returns a MeanWind Displayable corresponding to a mean-wind Tuple.
|
protected WindProfile |
newWindProfile()
Returns the displayable
WindProfile appropriate to this instance. |
void |
setBackgroundVisible(boolean visable)
Display or hide the background
|
protected void |
setCenterPoleExtent()
Sets the extent of the center pole.
|
void |
setCenterPoleVisible(boolean visible)
Sets the visibility of the center pole.
|
protected void |
setCursorPosition(double[] position)
Sets the cursor position.
|
addProfile, clear, computeIncrement, getAltitudeUnit, getCursorPosition, getDefaultMaxAltitude, getDefaultMinAltitude, getGeopotentialAltitude, getMaxDisplayAltitude, getMaxProfileAltitude, getMinDisplayAltitude, getMinProfileAltitude, getProfileDirection, getProfileSpeed, getWindProfile, getWindProfileSet, isAutoscaleAltitude, removeMeanWind, removeProfile, setActiveMeanWind, setActiveWindProfile, setAltitudeColorMapRange, setAltitudeMapRange, setAltitudeScaleVisible, setAltitudeUnit, setAutoscaleAltitude, setDisplayAltitudeExtent, setDisplayAltitudeExtent, setGeopotentialAltitude, setMeanWind, setMeanWind, setMeanWindVisible, setProfileVisibleaddDisplayable, addDisplayListener, addKeyboardBehavior, addPropertyChangeListener, addPropertyChangeListener, addScalarMap, addScalarMaps, addVetoableChangeListener, addVetoableChangeListener, buildAnimationSet, dataChange, destroy, draw, ensureInactive, equals, finalize, firePropertyChange, firePropertyChange, getAnimationSetFromDisplayables, getAnimationStringVisible, getBackground, getComponent, getDestroyed, getDisplay, getDisplayableCount, getDisplayables, getDisplayables, getDisplayAspect, getDisplayComponent, getDisplayScale, getForeground, getImage, getMouseBehavior, getMouseFunctionMap, getOffscreenDimension, getProjectionMatrix, getRotation, getSavedProjectionMatrix, getScale, getScreenBounds, getStereoAvailable, getWaitMessageVisible, handleMouseWheelMoved, hashCode, indexOf, init, is3D, isActive, isPointMode, printMatrix, printMe, rebuild, rebuildDisplay, reDisplayAll, removeDisplayable, removeDisplayables, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, removeScalarMaps, removeVetoableChangeListener, removeVetoableChangeListener, replaceScalarMap, reScale, resetMouseFunctions, resetProjection, rotate, rotateX, rotateY, rotateZ, saveCurrentDisplay, saveCurrentDisplay, saveCurrentDisplay, saveProjection, setActive, setAnimation, setAnimationStringVisible, setBackground, setDefaultMouseFunctions, setDisplayables, setDisplayables, setDisplayActive, setDisplayAspect, setDisplayInactive, setEyePosition, setForeground, setKeyboardBehavior, setKeyboardEventMap, setKeyboardEventMap, setMouseFunctions, setOffscreenDimension, setPointMode, setProjectionMatrix, setRebuildNecessary, setWaitMessageVisible, setWheelEventMap, translate, zoom, zoompublic WindStaffDisplay()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public WindStaffDisplay(visad.Real minZ,
visad.Real maxZ)
throws visad.VisADException,
java.rmi.RemoteException
minZ - The minimum geopotential altitude.maxZ - The maximum geopotential altitude.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected WindProfile newWindProfile() throws visad.VisADException, java.rmi.RemoteException
WindProfile appropriate to this instance.
This is a template method.newWindProfile in class WindProfileDisplayvisad.VisADException - if a core VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.protected void addScalarMaps()
throws visad.VisADException
visad.VisADException - VisAD failure.protected void displayAltitudeExtentChange()
throws visad.VisADException,
java.rmi.RemoteException
displayAltitudeExtentChange in class WindProfileDisplayvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setCenterPoleExtent()
throws java.rmi.RemoteException,
visad.VisADException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setCursorPosition(double[] position)
throws visad.VisADException,
java.rmi.RemoteException
setCursorPosition in class WindProfileDisplayposition - The cursor position.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setBackgroundVisible(boolean visable)
throws visad.VisADException,
java.rmi.RemoteException
setBackgroundVisible in class WindProfileDisplayvisable - Display background if true, otherwise hide the
backgroundvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setCenterPoleVisible(boolean visible)
throws visad.VisADException,
java.rmi.RemoteException
visible - Whether or not the center pole should be
visible.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected Displayable newMeanWind(visad.Tuple meanWind) throws visad.VisADException, java.rmi.RemoteException
newMeanWind in class WindProfileDisplaymeanWind - the mean-wind Tuplevisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected Displayable newMeanWind(visad.DataReference meanWindRef) throws visad.VisADException, java.rmi.RemoteException
newMeanWind in class WindProfileDisplaymeanWindRef - The data reference for the mean-wind Tuple.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected Displayable newMeanWind()
newMeanWind in class WindProfileDisplaypublic static void main(java.lang.String[] args)
throws java.lang.Exception
args - Test arguments. Ignored.java.lang.Exception - Something went wrong.