Package ucar.visad.display
Class Radials
Provides support for a Displayable comprising a set of Radials
- Version:
- $Revision: 1.6 $
- Author:
- Don Murray
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter
-
Field Summary
Fields inherited from class ucar.visad.display.LineDrawing
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE
Fields inherited from class ucar.visad.display.DisplayableData
MANIPULABLE, renderer, VISIBLE
Fields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addScalarMaps
(LocalDisplay display) Add ScalarMaps for the display.Returns a clone of this instance suitable for another VisAD display.boolean
Indicates if this Radials is semantically identical to another object.void
setRadials
(Radials radials) Sets the radials according to another Radials.void
setRadials
(Real maximum, double inc) Sets the radials according to the maximum distance from the center and the increment (in degrees).void
setRadials
(Real minimum, Real maximum, double inc) Sets the radials according to the maximum distance from the center and the increment (in degrees).Methods inherited from class ucar.visad.display.PolarLineDrawing
getBearingIndex, getBearingIndex, getBearingType, getPolarType, getRangeIndex, getRangeType, hashCode
Methods inherited from class ucar.visad.display.LineDrawing
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA
Methods inherited from class ucar.visad.display.DisplayableData
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, 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, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFront
-
Constructor Details
-
Radials
public Radials(String name, RealTupleType polarType, Color color) throws RemoteException, VisADException Constructs from a Displayable name and the type of the polar coordinate system.- Parameters:
name
- The name for the Displayable.polarType
- The type of the (rho, theta) polar coordinate system.color
- color for the radials- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
Radials
Constructs from another instance.- Parameters:
that
- The other instance.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
-
Method Details
-
setRadials
Sets the radials according to the maximum distance from the center and the increment (in degrees).- Parameters:
maximum
- The maximum distance from the center.inc
- The increment between radials- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setRadials
public void setRadials(Real minimum, Real maximum, double inc) throws VisADException, RemoteException Sets the radials according to the maximum distance from the center and the increment (in degrees).- Parameters:
minimum
- The minimum distance from the center.maximum
- The maximum distance from the center.inc
- The increment between radials- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
setRadials
Sets the radials according to another Radials.- Parameters:
radials
- The other radials- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
equals
Indicates if this Radials is semantically identical to another object.- Overrides:
equals
in classPolarLineDrawing
- Parameters:
obj
- The other object.- Returns:
true
if and only if this Radials is semantically identical toobj
.
-
addScalarMaps
Add ScalarMaps for the display. This is a no-op.- Parameters:
display
- display to add to
-
cloneForDisplay
Returns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.- Overrides:
cloneForDisplay
in classDisplayableData
- Returns:
- A semi-deep clone of this instance.
- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-