public class RingSet extends PolarLineDrawing
DisplayableData.DragAdapter
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE
MANIPULABLE, renderer, VISIBLE
DISPLAY, parent, SCALAR_MAP_SET
Modifier | Constructor and Description |
---|---|
protected |
RingSet(RingSet that)
Constructs from another instance.
|
|
RingSet(java.lang.String name,
visad.RealTupleType polarType)
Constructs from a name and a vector space.
|
|
RingSet(java.lang.String name,
visad.RealTupleType polarType,
java.awt.Color color)
Constructs from a name and a vector space and Color.
|
Modifier and Type | Method and Description |
---|---|
void |
addScalarMaps(visad.LocalDisplay display)
Adds this instance's
ScalarMap s to a given
LocalDisplay . |
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
static visad.SampledSet |
newUnionSet(visad.RealTupleType polarType,
visad.Gridded1DSet values)
Creates a set of rings from a vector space and a set of distances.
|
void |
setRingValues(visad.Linear1DSet ringValues)
Sets the distances of the rings from a set of evenly-spaced values.
|
void |
setRingValues(visad.Real rangeInc,
visad.Real rangeMax)
Sets the distances of the rings from an interval and a maximum distance.
|
void |
setRingValues(RingSet that)
Sets the ring distances of this instance from another instance.
|
equals, getBearingIndex, getBearingIndex, getBearingType, getPolarType, getRangeIndex, getRangeType, hashCode
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA
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
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
public RingSet(java.lang.String name, visad.RealTupleType polarType) throws java.rmi.RemoteException, visad.VisADException
name
- The name for this instance.polarType
- The vector space for this instance.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public RingSet(java.lang.String name, visad.RealTupleType polarType, java.awt.Color color) throws java.rmi.RemoteException, visad.VisADException
name
- The name for this instance.polarType
- The vector space for this instance.color
- ring colorvisad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected RingSet(RingSet that) throws java.rmi.RemoteException, visad.VisADException
that
- The other instance.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setRingValues(visad.Linear1DSet ringValues) throws visad.VisADException, java.rmi.RemoteException
ringValues
- The distances for the rings.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setRingValues(visad.Real rangeInc, visad.Real rangeMax) throws visad.VisADException, java.rmi.RemoteException
rangeInc
- The ring interval.rangeMax
- The maximum distance to be displayed.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public static visad.SampledSet newUnionSet(visad.RealTupleType polarType, visad.Gridded1DSet values) throws visad.VisADException, java.rmi.RemoteException
polarType
- The polar vector-space.values
- The set of distances.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setRingValues(RingSet that) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
that
- The other instance.visad.TypeException
- if a necessary VisAD RealType
couldn't be created.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void addScalarMaps(visad.LocalDisplay display)
ScalarMap
s to a given
LocalDisplay
. This implementation does nothing.display
- The LocalDisplay
to which to
add this instance's ScalarMap
s.public Displayable cloneForDisplay() throws java.rmi.RemoteException, visad.VisADException
cloneForDisplay
in class DisplayableData
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.