Package ucar.visad.display
Class ImageSequenceDisplayable
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.RGBDisplayable
ucar.visad.display.Grid2DDisplayable
ucar.visad.display.ImageSequenceDisplayable
- All Implemented Interfaces:
GridDisplayable
Provides support for displaying ImageSequences
- Version:
- $Revision: 1.27 $
- Author:
- Don Murray
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter -
Field Summary
Fields inherited from class ucar.visad.display.RGBDisplayable
COLOR_PALETTE, POLYGON_FILL, POLYGON_LINE, POLYGON_POINT, RGB_REAL_TYPEFields inherited from class ucar.visad.display.DisplayableData
LINE_WIDTH, MANIPULABLE, renderer, VISIBLEFields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET -
Constructor Summary
ConstructorsModifierConstructorDescriptionImageSequenceDisplayable(String name, RealType imageType) Create a new ImageSequenceDisplayable with the given name and using the given typeImageSequenceDisplayable(String name, RealType imageType, float[][] initialColorPalette) Create an ImageSequenceDisplayableprotectedConstruct an ImageSequenceDisplayable using the data an properties of another -
Method Summary
Modifier and TypeMethodDescriptionReturns a clone of this instance suitable for another VisAD display.protected DataRendererGet the DataRenderer used for this Displayable.booleanGet whether this is textured or smoothedvoidsetAlpha(float alpha) Set the alpha.voidsetColorPalette(float[][] colorPalette) Set the color palette for the displayvoidsetImageSequence(FieldImpl sequence) Set the data into this Displayable.voidsetImageSequence(ImageSequence sequence) Set the data into this DisplayablevoidsetReUseScenes(boolean on) Set reuse frames propertyvoidOverride superclass method to avoid adding a ConstantMap.Methods inherited from class ucar.visad.display.Grid2DDisplayable
getCurvedSize, getMissingTransparent, getUseDefaultRenderer, loadData, makeTextureMap, myAddConstantMaps, setColoredByAnother, setCurvedSize, setGrid2D, setMissingTransparent, setTextureEnable, setUseDefaultRendererMethods inherited from class ucar.visad.display.RGBDisplayable
getAutoScaleColorRange, getColorPalette, getPolygonMode, getRangeforColor, getRangeForColor, getRGBRealType, getSelectRealType, getUseRGBTypeForSelect, hasRange, hasSelectedRange, makeCurvedSizeMap, setAutoScaleColorRange, setColor, setColorUnit, setDisplayUnit, setGreyPalette, setPolygonMode, setRange, setRangeForColor, setRangeForSelect, setRGBRealType, setScalarMaps, setSelectedRange, setSelectRealType, setUseRGBTypeForSelect, setVisADPalette, useDisplayUnitForColorMethods inherited from class ucar.visad.display.DisplayableData
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getLineWidth, getName, getPointSize, hasData, hasDataObject, isManipulable, isPickable, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setLineWidth, setManipulable, setPickable, setPointMode, setPointSize, setUseFastRendering, setVisible, showme, toStringMethods inherited from class ucar.visad.display.Displayable
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
-
Constructor Details
-
ImageSequenceDisplayable
public ImageSequenceDisplayable(String name, RealType imageType) throws VisADException, RemoteException Create a new ImageSequenceDisplayable with the given name and using the given type- Parameters:
name- name for this displayableimageType- RealType for image data- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
ImageSequenceDisplayable
public ImageSequenceDisplayable(String name, RealType imageType, float[][] initialColorPalette) throws VisADException, RemoteException Create an ImageSequenceDisplayable- Parameters:
name- name for this displayableimageType- RealType for image datainitialColorPalette- initial color palette- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
ImageSequenceDisplayable
protected ImageSequenceDisplayable(ImageSequenceDisplayable that) throws VisADException, RemoteException Construct an ImageSequenceDisplayable using the data an properties of another- Parameters:
that- the other ImageSequenceDisplayable- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
-
Method Details
-
setImageSequence
Set the data into this Displayable- Parameters:
sequence- sequence of images- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
setAlpha
Set the alpha. Unused.- Parameters:
alpha- alpha- Throws:
RemoteException- On badnessVisADException- On badness
-
setImageSequence
Set the data into this Displayable. Data does not have to be an ImageSequence, but does have to be a sequence of images- Parameters:
sequence- sequence of images- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
getDataRenderer
Get the DataRenderer used for this Displayable.- Overrides:
getDataRendererin classGrid2DDisplayable- Returns:
- the DataRenderer
-
setColorPalette
Set the color palette for the display- Overrides:
setColorPalettein classRGBDisplayable- Parameters:
colorPalette- colorPalette to use- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
cloneForDisplay
Returns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.- Overrides:
cloneForDisplayin classGrid2DDisplayable- Returns:
- A semi-deep clone of this instance.
- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
setTextureProperties
Override superclass method to avoid adding a ConstantMap.- Overrides:
setTexturePropertiesin classGrid2DDisplayable- Parameters:
grid- grid to use to set the properties. Can be null.- Throws:
RemoteException- problem with remote dataVisADException- problem with local data
-
getTextureEnable
public boolean getTextureEnable()Get whether this is textured or smoothed- Overrides:
getTextureEnablein classGrid2DDisplayable- Returns:
- true
-
setReUseScenes
Set reuse frames property- Parameters:
on- true to reuse the scene graphs- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-