|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.RGBDisplayable
ucar.visad.display.IsoSurface
public abstract class IsoSurface
Provides support for a Displayable that comprises an iso-surface Supports color tables as well.
Instances of this class have the following bound properties:
| Name | Type | Access | Default | Description |
|---|---|---|---|---|
| surfaceValue | float | set/get | 0 | The displayed contour iso-surface value associated with this instance. |
| contourRealType | visad.RealType | set/get | null |
The VisAD type of the contoured quantity. |
| Field Summary | |
|---|---|
static String |
CONTOUR_REAL_TYPE
The name of the "contour real-type" property. |
static String |
SURFACE_VALUE
The name of the "surface value" property. |
| Fields inherited from class ucar.visad.display.RGBDisplayable |
|---|
COLOR_PALETTE, POLYGON_FILL, POLYGON_LINE, POLYGON_POINT, RGB_REAL_TYPE |
| Fields inherited from class ucar.visad.display.DisplayableData |
|---|
LINE_WIDTH, MANIPULABLE, VISIBLE |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
protected |
IsoSurface(IsoSurface that)
Constructs from another instance. |
|
IsoSurface(String name,
RealType contourRealType,
boolean alphaflag)
Constructs from a name for the Displayable and the type of the iso-surface parameter. |
| Method Summary | |
|---|---|
RealType |
getContourRealType()
Returns the RealType of the contoured parameter. |
float |
getSurfaceValue()
Gets the value of the isosurface |
protected void |
setContourRealType(RealType realType)
Sets the RealType of the contoured parameter. |
void |
setDisplayUnit(Unit unit)
Set the units for the displayed range |
protected void |
setScalarMaps(ScalarMapSet maps)
Sets the set of ScalarMap-s of this instance. |
void |
setSurfaceValue(float value)
Sets the "contour" value, the value of the isosurface. |
| Methods inherited from class ucar.visad.display.DisplayableData |
|---|
addAction, cloneForDisplay, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getLineWidth, getName, getPointSize, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setLineWidth, setManipulable, setPickable, setPointMode, setPointSize, setUseFastRendering, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String SURFACE_VALUE
public static final String CONTOUR_REAL_TYPE
| Constructor Detail |
|---|
public IsoSurface(String name,
RealType contourRealType,
boolean alphaflag)
throws VisADException,
RemoteException
name - The name for the displayable.contourRealType - The type of the iso-surface parameter. May be
null.alphaflag - boolean flag whether to use transparency
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected IsoSurface(IsoSurface that)
throws VisADException,
RemoteException
that - The other instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
protected void setContourRealType(RealType realType)
throws RemoteException,
VisADException
realType - The RealType of the contoured parameter. May
not be null.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setDisplayUnit(Unit unit)
throws VisADException,
RemoteException
setDisplayUnit in class RGBDisplayableunit - Unit for display
VisADException - VisAD failure.
RemoteException - Java RMI failure.public RealType getContourRealType()
null.
public final void setSurfaceValue(float value)
throws RemoteException,
VisADException
value - The value of the isosurface.
VisADException - VisAD failure.
RemoteException - Java RMI failure.SURFACE_VALUE
protected void setScalarMaps(ScalarMapSet maps)
throws BadMappingException
null for the old value and the new
set of ScalarMap-s for the new Value. Intermediate subclasses that
have their own ScalarMap-s should override this method and invoke
super.setScalarMaps(ScalarMapSet).
setScalarMaps in class RGBDisplayablemaps - The set of ScalarMap-s to be added.
BadMappingException - The RealType of the contour parameter
has not been set or its ScalarMap is alread in
the set.public final float getSurfaceValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||