Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Processor Class Reference

Base class for fractal image generators. More...

#include <Processor.h>

Inheritance diagram for Processor:

MandelbrotProcessor Z2PlusZProcessor Z3PlusZProcessor Z3Processor Z4Processor Z5Processor Z6Processor Z7Processor List of all members.

Public Methods

virtual ComplexNumber iterate (const ComplexNumber &z, const ComplexNumber &u) const=0
virtual unsigned short iterate_to_end (const ComplexNumber &initial_z, const ComplexNumber &u, unsigned short max_itns) const=0

Detailed Description

Base class for fractal image generators.

Derived classes must implement both methods. This is required for performance reasons, since ProgressiveImageGen needs to be able to iterate one step at a time, and FastImageGen and AAFractalImage process each pixel to completion. This can be done much more efficiently with one function call, rather than repeatedly calling iterate().


Member Function Documentation

virtual ComplexNumber Processor::iterate const ComplexNumber   z,
const ComplexNumber   u
const [pure virtual]
 

Implemented in MandelbrotProcessor, Z2PlusZProcessor, Z3PlusZProcessor, Z3Processor, Z4Processor, Z5Processor, Z6Processor, and Z7Processor.

virtual unsigned short Processor::iterate_to_end const ComplexNumber   initial_z,
const ComplexNumber   u,
unsigned short    max_itns
const [pure virtual]
 

Implemented in MandelbrotProcessor, Z3Processor, Z4Processor, Z5Processor, Z6Processor, and Z7Processor.


The documentation for this class was generated from the following file:
Generated on Sun Jul 21 11:52:18 2002 for FractalViewer by doxygen1.2.16