public class Grid3DDisplayable extends IsoSurface implements GridDisplayable
DisplayableData.DragAdapter
CONTOUR_REAL_TYPE, SURFACE_VALUE
COLOR_PALETTE, POLYGON_FILL, POLYGON_LINE, POLYGON_POINT, RGB_REAL_TYPE
LINE_WIDTH, MANIPULABLE, renderer, VISIBLE
DISPLAY, parent, SCALAR_MAP_SET
Constructor and Description |
---|
Grid3DDisplayable(java.lang.String name,
boolean alphaflag)
Constructs an instance with the supplied name and alphaflag.
|
Modifier and Type | Method and Description |
---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
void |
loadData(visad.FieldImpl field)
Load data into this Displayable.
|
void |
setColoredByAnother(boolean yesno)
Set whether this GridDisplayable should have the data colored
by another parameter.
|
void |
setGrid3D(visad.FieldImpl field)
Set the data into the Displayable
|
protected boolean |
useDisplayUnitForColor()
Does this object use the displayUnit (or the colorUnit) for its
display unit.
|
getContourRealType, getSurfaceValue, setContourRealType, setDisplayUnit, setScalarMaps, setSurfaceValue
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
addAction, 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, toString
addConstantMap, 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, toFront
public Grid3DDisplayable(java.lang.String name, boolean alphaflag) throws visad.VisADException, java.rmi.RemoteException
name
- a String identifieralphaflag
- boolean flag whether to use transparencyvisad.VisADException
- from construction of super classjava.rmi.RemoteException
- from construction of super classprotected boolean useDisplayUnitForColor()
useDisplayUnitForColor
in class RGBDisplayable
public void setGrid3D(visad.FieldImpl field) throws visad.VisADException, java.rmi.RemoteException
field
- a VisAD FlatField with a 3D naturevisad.VisADException
- from construction of VisAd objectsjava.rmi.RemoteException
- from construction of VisAD objectspublic void loadData(visad.FieldImpl field) throws visad.VisADException, java.rmi.RemoteException
loadData
in interface GridDisplayable
field
- field representing the datajava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic Displayable cloneForDisplay() throws java.rmi.RemoteException, visad.VisADException
cloneForDisplay
in class DisplayableData
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setColoredByAnother(boolean yesno)
setColoredByAnother
in interface GridDisplayable
yesno
- true if colored by another