class QuatFractCreator

Quaternion Fractal Creator class.

Public Methods

[more] QuatFractCreator( double a, double b, double c, double d)
Constructor.
[more]inline void set_method(pm m)
Set rendering method.
[more]inline void set_fparams(const FractParams& fp)
Set the fractal parameters.
[more]inline FractParams get_fparams()
Get the fractal parameters.
[more]bool konv(Quat &q)
Convergence check.
[more]void init_conv_map()
Initialize convergence cache.
[more]void tetra_polygonize()
Tetra polygonizing algorithm.
[more]void tetra_test()
Tetra test method.
[more]void cube_init()
Initialize the cube cache.
[more]void cube_polygonize()
Cube polygonizing algorithm.
[more]void cube_merge_n_draw()
Merge normals and draw fractal.
[more]void cube_test()
Cube polygonizing tests.
[more]void track_polygonize()
Surface tracking algorithm.


Documentation

Quaternion Fractal Creator class. This class provides the interface to the Creation of Julia sets of Quaternion Fractals. It is right now specialized for use with the Cube Polygonization Algorithm.
o QuatFractCreator( double a, double b, double c, double d)
Constructor. A Quaternion Fractal with C = [a b c d] is created.

oinline void set_method(pm m)
Set rendering method. By now only Cube rendering gives cool results but in future there should be several different rendering methods that one can choose from with this method.

oinline void set_fparams(const FractParams& fp)
Set the fractal parameters. Simply overwrites the actual fractal parameters saved in fparams with the given ones.

oinline FractParams get_fparams()
Get the fractal parameters. Should be clear.

obool konv(Quat &q)
Convergence check. Tests if the actual sequence converges at q.

ovoid init_conv_map()
Initialize convergence cache. Iterates through the area that will be rendered (defined by fparams) and sets up the convergence map.

ovoid tetra_polygonize()
Tetra polygonizing algorithm. Polygonize the fractal using tetraeders to calculate the polygons.

ovoid tetra_test()
Tetra test method. Do some debugging tests on tetra polygonizer.

ovoid cube_init()
Initialize the cube cache. For all 254 variants of cube edge configurations the polygons are defined by a list<char> containing indices to vectors pointing on the edges of the cube. The normals of each cube variant is cached, too.

ovoid cube_polygonize()
Cube polygonizing algorithm. Polygonize the fractal using cubes.

ovoid cube_merge_n_draw()
Merge normals and draw fractal. Merge the normals of neighbor cubes and draw the polygons in the cubes.

ovoid cube_test()
Cube polygonizing tests.

ovoid track_polygonize()
Surface tracking algorithm. It is not implemented yet


This class has no child classes.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.