visad.meteorology
Class ImageSequenceManager
- java.lang.Object
-
- visad.meteorology.ImageSequenceManager
-
public class ImageSequenceManager extends java.lang.ObjectA class to create and manage image sequences.
-
-
Constructor Summary
Constructors Constructor and Description ImageSequenceManager()Create an empty image sequence.ImageSequenceManager(SingleBandedImage[] images)Create an image sequence from the array of images.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description ImageSequenceaddImagesToSequence(java.util.List<SingleBandedImage> images)ImageSequenceaddImagesToSequence(SingleBandedImage[] images)Add an array of images to the the sequence this object is managing.ImageSequenceaddImageToSequence(SingleBandedImage image)Add an image to the the sequence this object is managing.voidclearSequence()Remove all images from the sequence.static ImageSequencecreateImageSequence(SingleBandedImage[] images)Create an image sequence from an array of images.ImageSequencegetImageSequence()Get the sequence that this object is to manage.ImageSequenceremoveImageAtTime(DateTime time)Remove an image from the sequence.voidsetImageSequence(ImageSequence newSequence)Set the sequence that this object is to manage.
-
-
-
Constructor Detail
-
ImageSequenceManager
public ImageSequenceManager() throws VisADException, java.rmi.RemoteExceptionCreate an empty image sequence.- Throws:
VisADException- Couldn't create an empty sequence.java.rmi.RemoteException- Couldn't create remote object.
-
ImageSequenceManager
public ImageSequenceManager(SingleBandedImage[] images) throws VisADException, java.rmi.RemoteException
Create an image sequence from the array of images.- Parameters:
images- array of images for the sequence.- Throws:
VisADException- Couldn't create the necessary VisAD objectjava.rmi.RemoteException- Couldn't create remote object.
-
-
Method Detail
-
createImageSequence
public static ImageSequence createImageSequence(SingleBandedImage[] images) throws VisADException, java.rmi.RemoteException
Create an image sequence from an array of images.- Parameters:
images- array of images for the sequence.- Returns:
- an ImageSequence
- Throws:
VisADException- Couldn't create the sequence.java.rmi.RemoteException- Couldn't create remote object.
-
addImageToSequence
public ImageSequence addImageToSequence(SingleBandedImage image) throws VisADException, java.rmi.RemoteException
Add an image to the the sequence this object is managing.- Parameters:
image- image to add- Returns:
- sequence containing the new image.
- Throws:
VisADException- Couldn't create the sequence.java.rmi.RemoteException- Couldn't create remote object.
-
addImagesToSequence
public ImageSequence addImagesToSequence(SingleBandedImage[] images) throws VisADException, java.rmi.RemoteException
Add an array of images to the the sequence this object is managing.- Parameters:
images- images to add- Returns:
- sequence containing the new images.
- Throws:
VisADException- Couldn't create the sequence.java.rmi.RemoteException- Couldn't create remote object.
-
addImagesToSequence
public ImageSequence addImagesToSequence(java.util.List<SingleBandedImage> images) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
removeImageAtTime
public ImageSequence removeImageAtTime(DateTime time) throws VisADException
Remove an image from the sequence.- Parameters:
time- time of image to remove- Throws:
VisADException- Couldn't create the sequence.
-
clearSequence
public void clearSequence()
Remove all images from the sequence.
-
setImageSequence
public void setImageSequence(ImageSequence newSequence) throws VisADException, java.rmi.RemoteException
Set the sequence that this object is to manage.- Parameters:
newSequence- sequence to use (can't be null)- Throws:
VisADException- Couldn't create the sequence.java.rmi.RemoteException- Couldn't create remote object.
-
getImageSequence
public ImageSequence getImageSequence()
Get the sequence that this object is to manage.- Returns:
- sequence that is being managed.
-
-
DMelt 3.0 © DataMelt by jWork.ORG