All Packages Class Hierarchy This Package Previous Next Index
Class picture.directFractal.DirectFractal
java.lang.Object
|
+----picture.PicPipe
|
+----picture.directFractal.DirectFractal
- public abstract class DirectFractal
- extends PicPipe
This PicPipe returns the double at a point on a direct fractal.
There are a number of math routines defined that child classes can use.
The f(), g(), and c() functions and the BNF() method are abstract.
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
-
origT
-
-
origX
-
-
origY
-
-
origZ
-
-
seed
-
-
t
-
-
x
-
-
y
-
-
z
-
-
DirectFractal()
-
-
get(PicPipeList, Colors, double, double, double, double, double, double, double, double)
- Return the color of a point on the direct fractal.
-
parse(Parser, int)
- Parse the input file to get the parameters for this object.
-
unparse(Unparser, int)
- Output a description of this object that can be parsed with parse().
seed
protected static final double seed
origX
protected double origX
origY
protected double origY
origZ
protected double origZ
origT
protected double origT
x
protected double x
y
protected double y
z
protected double z
t
protected double t
DirectFractal
public DirectFractal()
unparse
public void unparse(Unparser u,
int lang)
- Output a description of this object that can be parsed with parse().
- Overrides:
- unparse in class PicPipe
- See Also:
- Parsable
parse
public Object parse(Parser p,
int lang) throws ParserException
- Parse the input file to get the parameters for this object.
- Throws: ParserException
- parser didn't find the required token
- Overrides:
- parse in class PicPipe
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 on the direct fractal.
- Overrides:
- get in class PicPipe
All Packages Class Hierarchy This Package Previous Next Index