reb
Class REB_TrapShapeSum

Object
  extended by common:Generic
      extended by common:TrapShape
          extended by reb:REB_TrapShapeSum

class 
TrapShape:REB_TrapShapeSum

This shape is the sum of the real and imaginary components of z.


Ultra Fractal Source

Toggle UF Source Code Display

 class REB_TrapShapeSum(common.ulb:TrapShape) {
  ; This shape is the sum of the real and imaginary components of z. <br>
  public:
    import "common.ulb"
 
 ; Constructor
    func REB_TrapShapeSum(Generic pparent)
      TrapShape.TrapShape(pparent)
    endfunc
    
   ; Call this for each iteration being trapped.
    float func Iterate(complex pz)
     TrapShape.Iterate(pz)
      m_LastZ = flip(pz)
      return 5*abs(real(pz)+imag(pz))
    endfunc
    
  default:
    title = "Sum"
   int param v_trapshapesum
     caption = "Version (Trap Shape Sum)"
     default = 101
     hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used."
     visible = @v_trapshapesum < 101
   endparam
  }
 


Constructor Summary
REB_TrapShapeSum()
           
REB_TrapShapeSum(Generic pparent)
          Constructor
 
Method Summary
 float Iterate(complex pz)
          Call this for each iteration being trapped.
 
Methods inherited from class common:TrapShape
GetColorChannel, GetTextureValue, GetTransformedPoint, Init, IterateSilent, SetThreshold
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

REB_TrapShapeSum

public REB_TrapShapeSum(Generic pparent)
Constructor


REB_TrapShapeSum

public REB_TrapShapeSum()
Method Detail

Iterate

public float Iterate(complex pz)
Call this for each iteration being trapped.

Overrides:
Iterate in class TrapShape