Package ucar.unidata.view.sounding
Class IntermediateRings
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.unidata.view.sounding.IntermediateRings
Provides support for intermediate-level rings in a 3D wind hodograph.
- Version:
- $Id: IntermediateRings.java,v 1.18 2005/05/13 18:33:31 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter
-
Field Summary
Fields inherited from class ucar.visad.display.DisplayableData
LINE_WIDTH, MANIPULABLE, renderer, VISIBLE
Fields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructs from another instance.IntermediateRings
(RealTupleType polarType) Constructs from a type for the vector space. -
Method Summary
Modifier and TypeMethodDescriptionReturns a clone of this instance suitable for another VisAD display.protected static Field
computeRingField
(Gridded1DSet altitudes, SampledSet ringSetTemplate) Computes the data object to be displayed from a set of altitudes and a ring template.void
setAltitudes
(Gridded1DSet altitudes) Sets the altitudes for the rings.void
setRingSpeeds
(Gridded1DSet speeds) Sets the speeds for the rings.Methods inherited from class ucar.visad.display.DisplayableData
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, 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, setAdjustFlow, setColor, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFront
-
Constructor Details
-
IntermediateRings
Constructs from a type for the vector space.- Parameters:
polarType
- The type for the vector space.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
IntermediateRings
Constructs from another instance.- Parameters:
that
- The other instance.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
-
Method Details
-
setAltitudes
Sets the altitudes for the rings.- Parameters:
altitudes
- The altitudes for the rings.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setRingSpeeds
Sets the speeds for the rings.- Parameters:
speeds
- The speeds for the rings.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
cloneForDisplay
Returns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.- Overrides:
cloneForDisplay
in classDisplayableData
- Returns:
- A clone of this instance.
- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
computeRingField
protected static Field computeRingField(Gridded1DSet altitudes, SampledSet ringSetTemplate) throws VisADException, RemoteException Computes the data object to be displayed from a set of altitudes and a ring template.- Parameters:
altitudes
- The set of altitudes.ringSetTemplate
- The ring template.- Returns:
- The Field of rings.
- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-