CC-Fractal-Suite
Public Member Functions | Public Attributes | List of all members
CC::Pickover Class Reference

Class that implements the 'Pickover Stalk' fractal. More...

#include <Mandelbrot.h>

Inheritance diagram for CC::Pickover:
CC::Mandelbrot CC::Fractal

Public Member Functions

 Pickover (PickoverStashData &pickoverData)
 
virtual FractalCoordsInfo calculate (COMPLEX coords)
 Calculates the Mandelbrot fractal. More...
 
fpreal distance_to_point (COMPLEX z, COMPLEX point)
 Z is the current iteration in a recursive fractal calculation, and point is a reference point. More...
 
fpreal distance_to_line (COMPLEX z, COMPLEX offset, fpreal theta)
 Z is the current iteration in a recursive fractal calculation, offset is a translation that will be applied to the line, and theta is a number of degrees to rotate the line. More...
 
- Public Member Functions inherited from CC::Mandelbrot
 Mandelbrot (MandelbrotStashData &mandelData)
 
COMPLEX calculate_z (COMPLEX z, COMPLEX c)
 Calculate Z runs only the fractal math calculation. More...
 

Public Attributes

PickoverStashData data
 PickoverStashData, like Pickover, is subclassed from a Mandelbrot related object. More...
 
- Public Attributes inherited from CC::Mandelbrot
MandelbrotStashData data
 

Detailed Description

Class that implements the 'Pickover Stalk' fractal.

In fractal terms, it is calculated the same way as a Mandelbrot, but renders the fractal data differently. While Mandelbrot returns a number of iterations, Pickover measures the distance from a number in the Mandelbrot set to user-specified 2-D geometry. The CCFS has implemented Point and line as types to measure distance against.

Member Function Documentation

§ calculate()

CC::FractalCoordsInfo CC::Pickover::calculate ( COMPLEX  coords)
virtual

Calculates the Mandelbrot fractal.

Reimplemented from CC::Mandelbrot.

§ distance_to_line()

fpreal CC::Pickover::distance_to_line ( COMPLEX  z,
COMPLEX  offset,
fpreal  theta 
)

Z is the current iteration in a recursive fractal calculation, offset is a translation that will be applied to the line, and theta is a number of degrees to rotate the line.

§ distance_to_point()

fpreal CC::Pickover::distance_to_point ( COMPLEX  z,
COMPLEX  point 
)

Z is the current iteration in a recursive fractal calculation, and point is a reference point.

Member Data Documentation

§ data

PickoverStashData CC::Pickover::data

PickoverStashData, like Pickover, is subclassed from a Mandelbrot related object.


The documentation for this class was generated from the following files: