Package ucar.unidata.view.sounding
Class WindTrace
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.CompositeDisplayable
ucar.unidata.view.sounding.WindProfile
ucar.unidata.view.sounding.WindTrace
Provides support for displaying a wind profile as a trace.
- Version:
- $Id: WindTrace.java,v 1.24 2005/08/11 22:12:15 dmurray Exp $
- Author:
- Steven R. Emmerson
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classProvides support for displaying a wind profile as an (x,y,z) trace. -
Field Summary
Fields inherited from class ucar.unidata.view.sounding.WindProfile
DIRECTION, GEOPOTENTIAL_ALTITUDE, GEOPOTENTIAL_ALTITUDE_EXTENT, MAXIMUM_SPEED, PRESSURE, SPEED, WIND_PROFILEFields inherited from class ucar.visad.display.CompositeDisplayable
cnt, labelFields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs from another instance.WindTrace(LocalDisplay display) Constructs from the display types for the axes and a VisAD display. -
Method Summary
Modifier and TypeMethodDescriptionReturns a clone of this instance suitable for another VisAD display.booleanIndicates if this instance is identical to another object.protected FieldReturns the wind profile.inthashCode()Returns the hash code of this instance.voidResets the vertical profile of the horizontal wind to the profile of the last setProfile().voidsetProfile(Field profile) Sets the wind profile.voidsetWindLevels(Gridded1DSet levels) Set the levels of the wind profile.Methods inherited from class ucar.unidata.view.sounding.WindProfile
ensureCartesian, getDirection, getGeopotentialAltitude, getGeopotentialAltitudeExtent, getGeopotentialAltitudeRealType, getMaximumSpeed, getMissingWindField, getPressure, getSoutherlyWindRealType, getSpeed, getWesterlyWindRealType, profileChange, setAltitudeExtent, setDirection, setGeopotentialAltitude, setMaximumSpeed, setPressure, setSpeed, setSpeedAndDirectionMethods inherited from class ucar.visad.display.CompositeDisplayable
addConstantMap, addDisplayable, addListDataListener, clearDisplayables, debug, destroy, destroyAll, displayableCount, fireListDataContentsChanged, fireListDataIntervalAdded, fireListDataIntervalRemoved, getAnimationSet, getDisplayable, indexOf, iterator, lastDisplayable, myAddDataReferences, myRemoveDataReferences, removeDisplayable, removeDisplayable, removeListDataListener, setAdjustFlow, setColor, setColorPalette, setColorUnit, setConstantPosition, setDisplay, setDisplayable, setDisplayMaster, setDisplayUnit, setLineWidth, setManipulable, setPointMode, setPointSize, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, setVisible, setVisible, toFront, toStringMethods inherited from class ucar.visad.display.Displayable
addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getData, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, hasDataObject, isActive, isUnitCompatible, isVisible, logException, myAddConstantMaps, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setContourInfo, setDisplayActive, setDisplayInactive, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange
-
Constructor Details
-
WindTrace
Constructs from the display types for the axes and a VisAD display.- Parameters:
display- The VisAD display.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
WindTrace
Constructs from another instance.- Parameters:
that- The other instance.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
-
Method Details
-
setProfile
Sets the wind profile.- Specified by:
setProfilein classWindProfile- Parameters:
profile- The wind profile.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
setOriginalProfile
Resets the vertical profile of the horizontal wind to the profile of the last setProfile().- Specified by:
setOriginalProfilein classWindProfile- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
getProfile
Returns the wind profile.- Specified by:
getProfilein classWindProfile- Returns:
- The wind profile.
- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
setWindLevels
Set the levels of the wind profile.- Specified by:
setWindLevelsin classWindProfile- Parameters:
levels- new levels- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
equals
Indicates if this instance is identical to another object.- Overrides:
equalsin classWindProfile- Parameters:
obj- The other object.- Returns:
trueif and only if this instance is identical to the other object.
-
hashCode
public int hashCode()Returns the hash code of this instance.- Overrides:
hashCodein classWindProfile- Returns:
- The hash code of this instance.
-
cloneForDisplay
Returns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.- Overrides:
cloneForDisplayin classCompositeDisplayable- Returns:
- A clone of this instance.
- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-