reb
Class REB_TrapShapeProduct

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

class 
TrapShape:REB_TrapShapeProduct

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


Ultra Fractal Source

Toggle UF Source Code Display

 class REB_TrapShapeProduct(common.ulb:TrapShape) {
  ; This shape is the product of the real and imaginary components of z. <br>
  public:
    import "common.ulb"
 
 ; Constructor
    func REB_TrapShapeProduct(Generic pparent)
      TrapShape.TrapShape(pparent)
    endfunc
    
   ; Call this for each iteration being trapped.
    float func Iterate(complex pz)
     TrapShape.Iterate(pz)
      m_LastZ = pz- real(pz)*imag(pz)
      return 101*abs(real(pz)*imag(pz))
    endfunc
    
  default:
    title = "Product"
   int param v_trapshapeproduct
     caption = "Version (Trap Shape Product)"
     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_trapshapeproduct < 101
   endparam
  }
 


Constructor Summary
REB_TrapShapeProduct()
           
REB_TrapShapeProduct(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_TrapShapeProduct

public REB_TrapShapeProduct(Generic pparent)
Constructor


REB_TrapShapeProduct

public REB_TrapShapeProduct()
Method Detail

Iterate

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

Overrides:
Iterate in class TrapShape