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

Variable Index

 o origT
 o origX
 o origY
 o origZ
 o seed
 o t
 o x
 o y
 o z

Constructor Index

 o DirectFractal()

Method Index

 o get(PicPipeList, Colors, double, double, double, double, double, double, double, double)
Return the color of a point on the direct fractal.
 o parse(Parser, int)
Parse the input file to get the parameters for this object.
 o unparse(Unparser, int)
Output a description of this object that can be parsed with parse().

Variables

 o seed
 protected static final double seed
 o origX
 protected double origX
 o origY
 protected double origY
 o origZ
 protected double origZ
 o origT
 protected double origT
 o x
 protected double x
 o y
 protected double y
 o z
 protected double z
 o t
 protected double t

Constructors

 o DirectFractal
 public DirectFractal()

Methods

 o 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
 o 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
 o 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