All Packages Class Hierarchy This Package Previous Next Index
Class picture.Animation
java.lang.Object
|
+----picture.PicPipe
|
+----picture.Gallery
|
+----picture.Animation
- public class Animation
- extends Gallery
An animation is a gallery of pictures that differ only in the
the time parameter. These pictures can be combined into a
movie.
This code is (c) 1996 Leemon Baird
<leemon@cs.cmu.edu>,
http://www.cs.cmu.edu/~baird
The source and object code may be redistributed freely.
If the code is modified, please state so in the comments.
- Version:
- 1.0, 28 March 96
- Author:
- Leemon Baird
-
dTime
-
-
first
-
-
frames
-
-
last
-
-
skipLast
-
-
source
-
-
time
-
-
Animation()
-
-
BNF(int)
- Return a BNF describing how this object parses its parameters.
-
get(PicPipeList, Colors, double, double, double, double, double, double, double, double)
- Return the color of a point (x,y) in the gallery where pixels are size (dx,dy).
-
parse(Parser, int)
- parse a series of pictures and combine into a tiled gallery.
-
unparse(Unparser, int)
- Output a description of this object that can be parsed with parse().
time
protected double time[]
dTime
protected double dTime
first
protected NumExp first
last
protected NumExp last
frames
protected IntExp frames
skipLast
protected boolean skipLast
source
protected PicPipePipeline source
Animation
public Animation()
get
public void get(PicPipeList source,
Colors color,
double x,
double y,
double z,
double t,
double dx,
double dy,
double dz,
double dt)
- Return the color of a point (x,y) in the gallery where pixels are size (dx,dy).
This is identical to Gallery, except it uses time[] and dTime to
set the time parameters for this picture.
- Overrides:
- get in class Gallery
BNF
public String BNF(int lang)
- Return a BNF describing how this object parses its parameters.
- Overrides:
- BNF in class Gallery
unparse
public void unparse(Unparser u,
int lang)
- Output a description of this object that can be parsed with parse().
- Overrides:
- unparse in class Gallery
- See Also:
- Parsable
parse
public Object parse(Parser p,
int lang) throws ParserException
- parse a series of pictures and combine into a tiled gallery.
- Throws: ParserException
- parser didn't find the required token
- Overrides:
- parse in class Gallery
All Packages Class Hierarchy This Package Previous Next Index