public class VolumeDisplayable extends RGBDisplayable implements GridDisplayable
DisplayableData.DragAdapter
COLOR_PALETTE, POLYGON_FILL, POLYGON_LINE, POLYGON_POINT, RGB_REAL_TYPE
LINE_WIDTH, MANIPULABLE, renderer, VISIBLE
DISPLAY, parent, SCALAR_MAP_SET
Modifier | Constructor and Description |
---|---|
|
VolumeDisplayable(java.lang.String name)
Constructs an instance with the supplied name.
|
|
VolumeDisplayable(java.lang.String name,
visad.RealType rgbRealType,
float[][] colorPalette)
Constructs from a name for the Displayable and the type of the
RGB parameter.
|
protected |
VolumeDisplayable(VolumeDisplayable that)
Constructs from another instance.
|
Modifier and Type | Method and Description |
---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
void |
loadData(visad.FieldImpl field)
Set the data into the Displayable; set RGB Type and SelectRange
|
void |
loadData(visad.FieldImpl field,
int rgbIndex) |
void |
setColoredByAnother(boolean yesno)
Set whether this GridDisplayable should have the data colored
by another parameter.
|
getAutoScaleColorRange, getColorPalette, getCurvedSize, getPolygonMode, getRangeforColor, getRangeForColor, getRGBRealType, getSelectRealType, getUseRGBTypeForSelect, hasRange, hasSelectedRange, makeCurvedSizeMap, setAutoScaleColorRange, setColor, setColorPalette, setColorUnit, setCurvedSize, setDisplayUnit, setGreyPalette, setPolygonMode, setRange, setRangeForColor, setRangeForSelect, setRGBRealType, setScalarMaps, setSelectedRange, setSelectRealType, setUseRGBTypeForSelect, setVisADPalette, useDisplayUnitForColor
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 VolumeDisplayable(java.lang.String name) throws visad.VisADException, java.rmi.RemoteException
name
- a String identifiervisad.VisADException
- from construction of super classjava.rmi.RemoteException
- from construction of super classpublic VolumeDisplayable(java.lang.String name, visad.RealType rgbRealType, float[][] colorPalette) throws visad.VisADException, java.rmi.RemoteException
name
- The name for the displayable.rgbRealType
- The type of the RGB parameter. May be
null
.colorPalette
- The initial colorPalette to use. May be
null
(Vis5D palette used
as default).visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected VolumeDisplayable(VolumeDisplayable that) throws visad.VisADException, java.rmi.RemoteException
that
- The other instance.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void loadData(visad.FieldImpl field) throws visad.VisADException, java.rmi.RemoteException
loadData
in interface GridDisplayable
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, int rgbIndex) throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
java.rmi.RemoteException
public 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