Package ucar.unidata.view.sounding
Class WindBarbProfile
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.CompositeDisplayable
ucar.unidata.view.sounding.WindProfile
ucar.unidata.view.sounding.WindBarbProfile
Provides support for the display of a wind profile on in an
 AerologicalDisplay as a set of as a set of wind barbs.  Winds must
 be of form CartesianHorizontalWindOfPressure;
- Version:
- $Id: WindBarbProfile.java,v 1.8 2005/05/13 18:33:40 jeffmc Exp $
- Author:
- Unidata Development Team
- 
Field SummaryFields inherited from class ucar.unidata.view.sounding.WindProfileDIRECTION, GEOPOTENTIAL_ALTITUDE, GEOPOTENTIAL_ALTITUDE_EXTENT, MAXIMUM_SPEED, PRESSURE, SPEED, WIND_PROFILEFields inherited from class ucar.visad.display.CompositeDisplayablecnt, labelFields inherited from class ucar.visad.display.DisplayableDISPLAY, parent, SCALAR_MAP_SET
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstructs from another instance.WindBarbProfile(LocalDisplay display) Constructs from a VisAD display.WindBarbProfile(LocalDisplay display, AerologicalCoordinateSystem cs) Constructs from a VisAD display.
- 
Method SummaryModifier and TypeMethodDescriptionReturns a clone of this instance suitable for another VisAD display.booleanIndicates if this instance is identical to another object.Set the coordinate system for this display.protected FlatFieldReturns an instance of a wind field with no values.protected FieldReturns the wind profile.inthashCode()Returns the hash code of this instance.voidSet the coordinate system for this display.voidResets the vertical profile of the horizontal wind to the profile of the last setProfile().voidsetProfile(Field profile) Sets the wind profile.protected voidSets the wind speed and direction properties.voidsetWindLevels(Gridded1DSet levels) Set the levels of the wind profile to display.Methods inherited from class ucar.unidata.view.sounding.WindProfileensureCartesian, getDirection, getGeopotentialAltitude, getGeopotentialAltitudeExtent, getGeopotentialAltitudeRealType, getMaximumSpeed, getPressure, getSoutherlyWindRealType, getSpeed, getWesterlyWindRealType, profileChange, setAltitudeExtent, setDirection, setGeopotentialAltitude, setMaximumSpeed, setPressure, setSpeedMethods inherited from class ucar.visad.display.CompositeDisplayableaddConstantMap, 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.DisplayableaddConstantMaps, 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- 
WindBarbProfileConstructs from a VisAD display.- Parameters:
- display- The VisAD display. (not used)
- Throws:
- VisADException- VisAD failure.
- RemoteException- Java RMI failure.
 
- 
WindBarbProfilepublic WindBarbProfile(LocalDisplay display, AerologicalCoordinateSystem cs) throws VisADException, RemoteException Constructs from a VisAD display.- Parameters:
- display- The VisAD display. (not used)
- cs- The AerologicalCoordinateSystem
- Throws:
- VisADException- VisAD failure.
- RemoteException- Java RMI failure.
 
- 
WindBarbProfileConstructs from another instance.- Parameters:
- that- The other instance.
- Throws:
- VisADException- VisAD failure.
- RemoteException- Java RMI failure.
 
 
- 
- 
Method Details- 
setCoordinateSystempublic void setCoordinateSystem(AerologicalCoordinateSystem acs) throws VisADException, RemoteException Set the coordinate system for this display.- Parameters:
- acs- the coordinate system
- Throws:
- RemoteException- Java RMI failure
- VisADException- VisAD failure
 
- 
getCoordinateSystemSet the coordinate system for this display.- Returns:
- the coordinate system for this display (may be null)
 
- 
getMissingWindFieldReturns an instance of a wind field with no values.- Overrides:
- getMissingWindFieldin class- WindProfile
- Returns:
- A wind field with no values.
 
- 
setProfileSets the wind profile.- Specified by:
- setProfilein class- WindProfile
- Parameters:
- profile- The wind profile.
- Throws:
- VisADException- VisAD failure.
- RemoteException- Java RMI failure.
 
- 
setOriginalProfileResets the vertical profile of the horizontal wind to the profile of the last setProfile().- Specified by:
- setOriginalProfilein class- WindProfile
- Throws:
- VisADException- VisAD failure.
- RemoteException- Java RMI failure.
 
- 
getProfileReturns the wind profile.- Specified by:
- getProfilein class- WindProfile
- Returns:
- The wind profile.
- Throws:
- RemoteException
- VisADException
 
- 
setWindLevelsSet the levels of the wind profile to display.- Specified by:
- setWindLevelsin class- WindProfile
- Parameters:
- levels- the set of levels (if null, display all);
- Throws:
- VisADException- VisAD failure.
- RemoteException- Java RMI failure.
 
- 
setSpeedAndDirectionSets the wind speed and direction properties. Override superclass method to evaluate on pressure instead of geopotential altitude- Overrides:
- setSpeedAndDirectionin class- WindProfile
- Throws:
- VisADException- VisAD failure.
- RemoteException- Java RMI failure.
 
- 
equalsIndicates if this instance is identical to another object.- Overrides:
- equalsin class- WindProfile
- Parameters:
- obj- The other object.
- Returns:
- trueif and only if this instance is identical to the other object.
 
- 
hashCodepublic int hashCode()Returns the hash code of this instance.- Overrides:
- hashCodein class- WindProfile
- Returns:
- The hash code of this instance.
 
- 
cloneForDisplayReturns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.- Overrides:
- cloneForDisplayin class- CompositeDisplayable
- Returns:
- A clone of this instance.
- Throws:
- VisADException- VisAD failure.
- RemoteException- Java RMI failure.
 
 
-