public abstract class IsoSurface extends RGBDisplayable
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. |
DisplayableData.DragAdapter| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTOUR_REAL_TYPE
The name of the "contour real-type" property.
|
static java.lang.String |
SURFACE_VALUE
The name of the "surface value" property.
|
COLOR_PALETTE, POLYGON_FILL, POLYGON_LINE, POLYGON_POINT, RGB_REAL_TYPELINE_WIDTH, MANIPULABLE, renderer, VISIBLEDISPLAY, parent, SCALAR_MAP_SET| Modifier | Constructor and Description |
|---|---|
protected |
IsoSurface(IsoSurface that)
Constructs from another instance.
|
|
IsoSurface(java.lang.String name,
visad.RealType contourRealType,
boolean alphaflag)
Constructs from a name for the Displayable and the type of the
iso-surface parameter.
|
| Modifier and Type | Method and Description |
|---|---|
visad.RealType |
getContourRealType()
Returns the RealType of the contoured parameter.
|
float |
getSurfaceValue()
Gets the value of the isosurface
|
protected void |
setContourRealType(visad.RealType realType)
Sets the RealType of the contoured parameter.
|
void |
setDisplayUnit(visad.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.
|
getAutoScaleColorRange, getColorPalette, getCurvedSize, getPolygonMode, getRangeforColor, getRangeForColor, getRGBRealType, getSelectRealType, getUseRGBTypeForSelect, hasRange, hasSelectedRange, makeCurvedSizeMap, setAutoScaleColorRange, setColor, setColorPalette, setColorUnit, setCurvedSize, setGreyPalette, setPolygonMode, setRange, setRangeForColor, setRangeForSelect, setRGBRealType, setSelectedRange, setSelectRealType, setUseRGBTypeForSelect, setVisADPalette, useDisplayUnitForColoraddAction, cloneForDisplay, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getLineWidth, getName, getPointSize, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setLineWidth, setManipulable, setPickable, setPointMode, setPointSize, setUseFastRendering, setVisible, showme, toStringaddConstantMap, 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, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setScalarMapSet, setSelectedRange, setUseTimesInAnimation, toFrontpublic static final java.lang.String SURFACE_VALUE
public static final java.lang.String CONTOUR_REAL_TYPE
public IsoSurface(java.lang.String name,
visad.RealType contourRealType,
boolean alphaflag)
throws visad.VisADException,
java.rmi.RemoteException
name - The name for the displayable.contourRealType - The type of the iso-surface parameter. May be
null.alphaflag - boolean flag whether to use transparencyvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected IsoSurface(IsoSurface that) throws visad.VisADException, java.rmi.RemoteException
that - The other instance.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setContourRealType(visad.RealType realType)
throws java.rmi.RemoteException,
visad.VisADException
realType - The RealType of the contoured parameter. May
not be null.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setDisplayUnit(visad.Unit unit)
throws visad.VisADException,
java.rmi.RemoteException
setDisplayUnit in class RGBDisplayableunit - Unit for displayvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.RealType getContourRealType()
null.public final void setSurfaceValue(float value)
throws java.rmi.RemoteException,
visad.VisADException
value - The value of the isosurface.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.SURFACE_VALUEprotected void setScalarMaps(ScalarMapSet maps) throws visad.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.visad.BadMappingException - The RealType of the contour parameter
has not been set or its ScalarMap is alread in
the set.public final float getSurfaceValue()