|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.ContourLevels
ucar.visad.display.IrregularContourLevels
public final class IrregularContourLevels
Provides support for irregular contours, which are characterized by an explicit set of contour levels.
Instances of this class are immutable.
| Field Summary | |
|---|---|
protected float[] |
levels
The set of contour levels. |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
float[] |
getLevels(float minimum,
float maximum)
Gets the contour levels given a data range. |
void |
setControl(ContourControl control)
Sets a VisAD ContourControl. |
void |
setControl(ContourControl control,
float minimum,
float maximum)
Sets a VisAD ContourControl. |
| Methods inherited from class ucar.visad.display.ContourLevels |
|---|
getBase |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final float[] levels
| Constructor Detail |
|---|
public 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 true| Method Detail |
|---|
public float[] getLevels(float minimum,
float maximum)
getLevels in class ContourLevelsminimum - The minimum data value.maximum - The maximum data value.
public void setControl(ContourControl control)
throws VisADException,
RemoteException
setControl in class ContourLevelscontrol - The VisAD ContourControl to be set by this
object.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setControl(ContourControl control,
float minimum,
float maximum)
throws VisADException,
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_INFINITY
VisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||