Standard
Class Standard_Default

Object
  extended by common:Generic
      extended by common:Coloring
          extended by common:GradientColoring
              extended by Standard:Standard_Default

class 
GradientColoring:Standard_Default

Object version of Default in Standard.ucl. Reproduces the iterations coloring algorithm found in most fractal software. This is the coloring algorithm that is used by default in Ultra Fractal when no coloring algorithm is loaded. See also the Basic coloring algorithm.


Ultra Fractal Source

Toggle UF Source Code Display

 class Standard_Default(common.ulb:GradientColoring) {
 ;
 ; Object version of Default in Standard.ucl.
 ;
 ; Reproduces the iterations coloring algorithm found in most fractal
 ; software. This is the coloring algorithm that is used by default in
 ; Ultra Fractal when no coloring algorithm is loaded. See also the
 ; Basic coloring algorithm.
 ;
 public:
   float func ResultIndex(complex pz)
     return 0.01 * m_Iterations
   endfunc
 
 default:
   title = "Default"
   helpfile = "Uf*.chm"
   helptopic = "Html/coloring/standard/none.html"
 }
 


Constructor Summary
Standard_Default()
           
 
Method Summary
 float ResultIndex(complex pz)
          Produce a resulting color index after a sequence is finished
 
Methods inherited from class common:GradientColoring
Init, IsGradient, IsSolid, Iterate, Result
 
Methods inherited from class common:Coloring
GetPixel
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

Standard_Default

public Standard_Default()
Method Detail

ResultIndex

public float ResultIndex(complex pz)
Description copied from class: GradientColoring
Produce a resulting color index after a sequence is finished

This corresponds to the final: section in a coloring formula. Once it is called, no further calls to Iterate() should be made without calling Init() first.

Overrides:
ResultIndex in class GradientColoring
Returns:
the gradient index (corresponding to #index in a coloring formula)