Quaternion Fractal Creator class.
Public Methods
-
QuatFractCreator( double a, double b, double c, double d)
- Constructor.
-
inline void set_method(pm m)
- Set rendering method.
-
inline void set_fparams(const FractParams& fp)
- Set the fractal parameters.
-
inline FractParams get_fparams()
- Get the fractal parameters.
-
bool konv(Quat &q)
- Convergence check.
-
void init_conv_map()
- Initialize convergence cache.
-
void tetra_polygonize()
- Tetra polygonizing algorithm.
-
void tetra_test()
- Tetra test method.
-
void cube_init()
- Initialize the cube cache.
-
void cube_polygonize()
- Cube polygonizing algorithm.
-
void cube_merge_n_draw()
- Merge normals and draw fractal.
-
void cube_test()
- Cube polygonizing tests.
-
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.
- QuatFractCreator( double a, double b, double c, double d)
- Constructor. A Quaternion Fractal with C = [a b c d] is created.
- inline 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.
- inline void set_fparams(const FractParams& fp)
- Set the fractal parameters. Simply overwrites the actual fractal parameters
saved in fparams with the given ones.
- inline FractParams get_fparams()
- Get the fractal parameters. Should be clear.
- bool konv(Quat &q)
- Convergence check. Tests if the actual sequence converges at q.
- void init_conv_map()
- Initialize convergence cache. Iterates through the area that will be
rendered (defined by fparams) and sets up the convergence map.
- void tetra_polygonize()
- Tetra polygonizing algorithm. Polygonize the fractal using tetraeders
to calculate the polygons.
- void tetra_test()
- Tetra test method. Do some debugging tests on tetra polygonizer.
- void 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.
- void cube_polygonize()
- Cube polygonizing algorithm. Polygonize the fractal using cubes.
- void cube_merge_n_draw()
- Merge normals and draw fractal. Merge the normals of neighbor cubes
and draw the polygons in the cubes.
- void cube_test()
- Cube polygonizing tests.
- void 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++.