mmf
Class MMF_PowerFunctions

Object
  extended by common:Generic
      extended by common:Transform
          extended by common:UserTransform
              extended by mmf:MMF_PowerFunctions

class 
UserTransform:MMF_PowerFunctions

fn(z)^power


Ultra Fractal Source

Toggle UF Source Code Display

 class MMF_PowerFunctions(common.ulb:UserTransform) {
 ; fn(z)^power<br>
 public:
   import "common.ulb"
   
   ; @param pparent the parent, generally "this" for the parent, or zero
   func MMF_PowerFunctions(Generic pparent)
     UserTransform.UserTransform(pparent)
   endfunc
 
   complex func Iterate(complex pz)
 ;    m_Iterations = m_Iterations + 1 not used in this transform
     return @p_fn(pz)^@p_power
   endfunc
 
 default:
   title = "Power Functions"
   heading
     text = "Simply function(z)^power."
   endheading
   func p_fn
     caption = "Function to use"
     default = ident()
     hint = "For most applications it's best not to use 'cabs'."
   endfunc
   complex param p_power
     caption = "Power"
     default = (2,0)
   endparam
 }
 


Constructor Summary
MMF_PowerFunctions()
           
MMF_PowerFunctions(Generic pparent)
           
 
Method Summary
 complex Iterate(complex pz)
          Transform a single point within a sequence
 
Methods inherited from class common:Transform
Init, IsSolid, IterateSilent
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

MMF_PowerFunctions

public MMF_PowerFunctions(Generic pparent)
Parameters:
pparent - the parent, generally "this" for the parent, or zero

MMF_PowerFunctions

public MMF_PowerFunctions()
Method Detail

Iterate

public complex Iterate(complex pz)
Description copied from class: Transform
Transform a single point within a sequence

After a sequence has been set up with Init(), this function will be called once for each value in the sequence. Note that all values in the sequence must be processed in order (they cannot be processed out of order). If the sequence contains only one value, Init() will still be called and then Iterate() will be called just once.

Overrides:
Iterate in class Transform
Parameters:
pz - the complex value to be transformed
Returns:
the transformed value