public final class IrregularContourLevels extends ContourLevels
Instances of this class are immutable.
| Modifier and Type | Field and Description |
|---|---|
protected float[] |
levels
The set of contour levels.
|
| Constructor and Description |
|---|
IrregularContourLevels(float[] levels)
Constructs an instance from a list of contour values.
|
IrregularContourLevels(float[] levels,
float base)
Constructs an instance from a list of contour values and a base contour
level for dashed lines.
|
IrregularContourLevels(float[] levels,
float base,
boolean dash)
Constructs an instance from a list of contour values and a base contour
level for dashed lines.
|
| Modifier and Type | Method and Description |
|---|---|
float[] |
getLevels(float minimum,
float maximum)
Gets the contour levels given a data range.
|
void |
setControl(visad.ContourControl control)
Sets a VisAD ContourControl.
|
void |
setControl(visad.ContourControl control,
float minimum,
float maximum)
Sets a VisAD ContourControl.
|
getBasepublic IrregularContourLevels(float[] levels)
levels - The contour levels. They shall be ordered by
increasing value.public IrregularContourLevels(float[] levels,
float base)
levels - The contour levels. They shall be ordered by
increasing value.base - The base contour level. Contour lines below
this value will be dashed.public IrregularContourLevels(float[] levels,
float base,
boolean dash)
levels - The contour levels. They shall be ordered by
increasing value.base - The base contour level. Contour lines below
this value will be dashed.dash - dash contours below base if truepublic float[] getLevels(float minimum,
float maximum)
getLevels in class ContourLevelsminimum - The minimum data value.maximum - The maximum data value.public void setControl(visad.ContourControl control)
throws visad.VisADException,
java.rmi.RemoteException
setControl in class ContourLevelscontrol - The VisAD ContourControl to be set by this
object.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setControl(visad.ContourControl control,
float minimum,
float maximum)
throws visad.VisADException,
java.rmi.RemoteException
setControl in class ContourLevelscontrol - The VisAD ContourControl to be set by this
object.minimum - The minimum value. It shall not be
Float.NEGATIVE_INFINITYmaximum - The maximum value. It shall not be
Float.POSITIVE_INFINITYvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.