public class SurfaceScalarMap extends IsoContourScalarMap
Display.IsoContour for displays of iso-surfaces.
Instances of this class have the the JavaBean properties of IsoContourScalarMap as well as the following, bound, JavaBean
properties:
| Name | Type | Access | Default | Description |
|---|---|---|---|---|
| value | Real |
set/get | new Real(Double.NaN) | The iso-surface value |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VALUE
The name of the iso-surface value property.
|
SCALAR_MAP, SCALAR_TYPE| Constructor and Description |
|---|
SurfaceScalarMap(visad.RealType realType,
DisplayAdapter display)
Constructs.
|
| Modifier and Type | Method and Description |
|---|---|
visad.Real |
getValue()
Returns the iso-surface value.
|
protected void |
setControl()
Sets the control of the underlying
ScalarMap. |
void |
setValue(float value)
Sets the iso-surface value.
|
void |
setValue(visad.Real value)
Sets the iso-surface value.
|
getContourControladdScalarMapListener, compareTo, equals, getControl, getDisplayType, getScalarType, hashCode, removeScalarMapListener, scalarMapChange, setRange, setScalarTypeaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getDisplayRealType, removePropertyChangeListener, removePropertyChangeListenerpublic static final java.lang.String VALUE
public SurfaceScalarMap(visad.RealType realType,
DisplayAdapter display)
throws visad.VisADException,
java.rmi.RemoteException
realType - The type of data to be iso-surface contoured.display - The adapted, VisAD display for rendering.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public final void setValue(float value)
throws java.rmi.RemoteException,
visad.VisADException
PropertyChangeEvent for VALUE with this instance
as the source and the old and new values appropriately set. The event
is fired synchronously -- so watch out for deadlock.value - The iso-surface value.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.VALUEpublic final void setValue(visad.Real value)
throws visad.UnitException,
java.rmi.RemoteException,
visad.VisADException
PropertyChangeEvent for VALUE with this instance
as the source and the old and new values appropriately set. The event
is fired synchronously -- so watch out for deadlock.value - The iso-surface value.visad.UnitException - The unit of the given value is not convertible
to the unit of the data type.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.VALUEpublic final visad.Real getValue()
protected void setControl()
throws visad.VisADException,
java.rmi.RemoteException
ScalarMap. This is a
template method.setControl in class ScalarMapAdaptervisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.