mmf
Class MMF_GeneralTransform

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

class 
UserTransform:MMF_GeneralTransform

offset,scale,offset,function,offset,scale,offset


Ultra Fractal Source

Toggle UF Source Code Display

 class MMF_GeneralTransform(common.ulb:UserTransform) {
 ; offset,scale,offset,function,offset,scale,offset<br>
 public:
   complex func Iterate(complex pz)
     return ( @p_func((pz + @p_offset)*@p_scale + @p_offset1) \
              + @p_offset2) * @p_scale1 + @p_offset3
   endfunc
 default:
   title = "General Transform"
   complex param p_offset
     caption = "Initial Pre-Offset"
     default = (0,0)
   endparam
   complex param p_scale
     caption = "Pre-Scale"
     default = (1,0)
   endparam
   complex param p_offset1
     caption = "Final Pre-Offset"
     default = (0,0)
   endparam
   func p_func
     caption = "Function"
     default = ident()
   endfunc
   complex param p_offset2
     caption = "Initial Post-Offset"
     default = (0,0)
   endparam
   complex param p_scale1
     caption = "Post-Scale"
     default = (1,0)
   endparam
   complex param p_offset3
     caption = "Final Post-Offset"
     default = (0,0)
   endparam
 }
 


Constructor Summary
MMF_GeneralTransform()
           
 
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_GeneralTransform

public MMF_GeneralTransform()
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