javax.media.jai
Class SequentialImage

java.lang.Object
  extended byjavax.media.jai.SequentialImage

Deprecated. as of JAI 1.1. Use AttributedImage instead.

public class SequentialImage
extends Object

A class representing an image that is associated with a time stamp and a camera position. This class is used with ImageSequence.

This class is equivalent to an AttributedImage with an attribute defined as:

 public class SequentialAttribute {
     protected Object position;
     protected Float timeStamp;

     public SequentialAttribute(Object position, float timeStamp);

     public Object getPosition();
     public float getTimeStamp();

     public boolean equals(Object o) {
         if(o instanceof SequentialAttribute) {
	       SequentialAttribute sa = (SequentialAttribute)o;
	       return sa.getPosition().equals(position) &&
	              sa.getTimeStamp().equals(timeStamp);
	   }
         return false;
     }
 }
 

See Also:
ImageSequence

Field Summary
 Object cameraPosition
          Deprecated. The camera position associated with the image.
 PlanarImage image
          Deprecated. The image.
 float timeStamp
          Deprecated. The time stamp associated with the image.
 
Constructor Summary
SequentialImage(PlanarImage pi, float ts, Object cp)
          Deprecated. Constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

image

public PlanarImage image
Deprecated. 
The image.


timeStamp

public float timeStamp
Deprecated. 
The time stamp associated with the image.


cameraPosition

public Object cameraPosition
Deprecated. 
The camera position associated with the image. The type of this parameter is Object so that the application may choose any class to represent a camera position based on the individual's needs.

Constructor Detail

SequentialImage

public SequentialImage(PlanarImage pi,
                       float ts,
                       Object cp)
Deprecated. 
Constructor.

Parameters:
pi - The specified planar image.
ts - The time stamp, as a float.
cp - The camera position object.
Throws:
IllegalArgumentException - if pi is null.