Package 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
Provides support for a Displayable to show wind with the
conventional meteorological "wind barb" symbols.
- Author:
- IDV Development Team
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter -
Field Summary
Fields inherited from class ucar.visad.display.FlowDisplayable
COLOR, FLOW_TYPE, NH_ORIENTATION, SH_ORIENTATION, spdIndex, speedUnitFields inherited from class ucar.visad.display.RGBDisplayable
COLOR_PALETTE, POLYGON_FILL, POLYGON_LINE, POLYGON_POINT, RGB_REAL_TYPEFields inherited from class ucar.visad.display.DisplayableData
LINE_WIDTH, MANIPULABLE, renderer, VISIBLEFields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET -
Constructor Summary
ConstructorsConstructorDescriptionWindBarbDisplayable(String name, RealTupleType rTT) Constructs from a name for the Displayable and the type of the parameter.WindBarbDisplayable(String name, RealTupleType rTT, boolean useSpeedForColor) Constructs from a name for the Displayable and the type of the parameter. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck to see if this is 3D flowprotected DataRendererReturns theDataRendererassociated with this instance.voidsetFlowRange(double min, double max) Set the range of the flow mapsvoidsetRGBRealType(RealType realType) Sets the RealType of the RGB parameter.Methods inherited from class ucar.visad.display.FlowDisplayable
cloneForDisplay, getAdjustFlow, getBarbOrientation, getFlowTuple, getForward, getRibbonWidth, getSpeedTypeIndex, getStreamlinesEnabled, getTrajStartLevel, getTrajStartPoints, getTrajStartPointType, getTrajWidth, getZskip, isCartesianWind, loadData, loadTopoData, resetTrojectories, set3DFlow, setAdjustFlow, setArrowHead, setArrowHeadSize, setAutoScale, setBarbOrientation, setColor, setColoredByAnother, setFlowMaps, setFlowRange, setFlowScale, setForward, setGrid3D, setIgnoreExtraParameters, setIsTrajectories, setRibbonWidth, setScalarMaps, setSmoothFactor, setStartLevel, setStartPoints, setStreamline, setStreamlineDensity, setStreamlinesEnabled, setTracerType, setTrajFormType, setTrajOffset, setTrajStartLevel, setTrajStartPoints, setTrajStartPointType, setTrajWidth, setTrojectoriesEnabled, setTrojectoriesEnabled, setType, setUseSpeedForColor, setVectorLength, setZskip, useDisplayUnitForColorMethods 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, setVisADPaletteMethods 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, toStringMethods 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
-
Constructor Details
-
WindBarbDisplayable
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 benull.- 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 benull.useSpeedForColor- _more_- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
-
Method Details
-
getDataRenderer
Returns theDataRendererassociated with this instance.- Overrides:
getDataRendererin classDisplayableData- Returns:
- The
DataRendererassociated with this instance.
-
setRGBRealType
Sets the RealType of the RGB parameter.- Overrides:
setRGBRealTypein classRGBDisplayable- Parameters:
realType- The RealType of the RGB parameter. May not benull.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
setFlowRange
Set the range of the flow maps- Overrides:
setFlowRangein classFlowDisplayable- 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:
get3DFlowin classFlowDisplayable- Returns:
- false
-