ucar.visad.display
Class WindBarbDisplayable
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.RGBDisplayable
ucar.visad.display.FlowDisplayable
ucar.visad.display.WindBarbDisplayable
- All Implemented Interfaces:
- GridDisplayable
public class WindBarbDisplayable
- extends FlowDisplayable
Provides support for a Displayable to show wind with the
conventional meteorological "wind barb" symbols.
- Author:
- IDV Development Team
| Methods inherited from class ucar.visad.display.FlowDisplayable |
cloneForDisplay, getAdjustFlow, getBarbOrientation, getFlowTuple, getSpeedTypeIndex, getStreamlinesEnabled, isCartesianWind, loadData, set3DFlow, setAdjustFlow, setAutoScale, setBarbOrientation, setColor, setColoredByAnother, setFlowMaps, setFlowRange, setFlowScale, setGrid3D, setIgnoreExtraParameters, setScalarMaps, setStreamlineDensity, setStreamlinesEnabled, setType, setUseSpeedForColor, useDisplayUnitForColor |
| Methods inherited from class ucar.visad.display.RGBDisplayable |
getAutoScaleColorRange, getColorPalette, getCurvedSize, getPolygonMode, getRangeforColor, getRangeForColor, getRGBRealType, getSelectRealType, getUseRGBTypeForSelect, hasRange, hasSelectedRange, makeCurvedSizeMap, setAutoScaleColorRange, setColorPalette, setColorUnit, setCurvedSize, setDisplayUnit, setGreyPalette, setPolygonMode, setRange, setRangeForColor, setRangeForSelect, setSelectedRange, setSelectRealType, setUseRGBTypeForSelect, setVisADPalette |
| Methods inherited from class ucar.visad.display.DisplayableData |
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getLineWidth, getName, getPointSize, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setLineWidth, setManipulable, setPickable, setPointMode, setPointSize, setUseFastRendering, setVisible, showme, toString |
| Methods inherited from class ucar.visad.display.Displayable |
addConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, isActive, isUnitCompatible, isVisible, logException, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setScalarMapSet, setSelectedRange, setUseTimesInAnimation, toFront |
WindBarbDisplayable
public WindBarbDisplayable(String name,
RealTupleType rTT)
throws VisADException,
RemoteException
- Constructs from a name for the Displayable and the type of the
parameter.
- Parameters:
name - The name for the displayable.rTT - The VisAD RealTupleType of the parameter. May be
null.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
WindBarbDisplayable
public WindBarbDisplayable(String name,
RealTupleType rTT,
boolean useSpeedForColor)
throws VisADException,
RemoteException
- Constructs from a name for the Displayable and the type of the
parameter.
- Parameters:
name - The name for the displayable.rTT - The VisAD RealTupleType of the parameter. May be
null.useSpeedForColor - _more_
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
getDataRenderer
protected DataRenderer getDataRenderer()
- Returns the
DataRenderer associated with this instance.
- Overrides:
getDataRenderer in class DisplayableData
- Returns:
- The
DataRenderer associated with this
instance.
setRGBRealType
public void setRGBRealType(RealType realType)
throws RemoteException,
VisADException
- Sets the RealType of the RGB parameter. Override so that
we set the units to be KNOTS since wind barbs are always
in knots
- Overrides:
setRGBRealType in class RGBDisplayable
- Parameters:
realType - The RealType of the RGB parameter. May
not be null.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
setFlowRange
public void setFlowRange(double min,
double max)
throws VisADException,
RemoteException
- Set the range of the flow maps
- Overrides:
setFlowRange in class FlowDisplayable
- Parameters:
min - min valuemax - max value
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
get3DFlow
public boolean get3DFlow()
- Check to see if this is 3D flow
- Overrides:
get3DFlow in class FlowDisplayable
- Returns:
- false