common
Class TrapColoring

Object
  extended by common:Generic
      extended by common:TrapColoring
Direct Known Subclasses:
DMJ_TrapColoringAngleToOrigin, DMJ_TrapColoringAngleToTrap, DMJ_TrapColoringDistance, DMJ_TrapColoringImaginary, DMJ_TrapColoringIteration, DMJ_TrapColoringMagnitude, DMJ_TrapColoringReal, DMJ_TrapColoringTexture, MMF_TrapColoring, MT_TrapColoringModulatedIter, REB_TrapColoringIteration, Standard_TrapColoringAngleToOrigin, Standard_TrapColoringAngleToOrigin2, Standard_TrapColoringAngleToTrap, Standard_TrapColoringDistance, Standard_TrapColoringImaginary, Standard_TrapColoringIteration, Standard_TrapColoringMagnitude, Standard_TrapColoringReal, TMA_TrapColoringAngleToOrigin, TMA_TrapColoringAngleToOrigin2, TMA_TrapColoringAngleToTrap, TMA_TrapColoringImaginary, TMA_TrapColoringIteration, TMA_TrapColoringMagnitude, TMA_TrapColoringModulatedIter, TMA_TrapColoringReal, TrapColoringDistance

class 
Generic:TrapColoring

This is a generic trap coloring mode formula. It takes the results of a trap mode and returns a color index


Ultra Fractal Source

Toggle UF Source Code Display

 class TrapColoring(Generic) {
   ; This is a generic trap coloring mode formula. It takes
   ; the results of a trap mode and returns a color index
   
 public:
   ; constructor
   func TrapColoring(Generic pparent)
     Generic.Generic(pparent)
   endfunc
   
   ; get a final result
   float func Result(TrapMode ptrapmode)
     return ptrapmode.GetDistance(0)
   endfunc
 
 default:
   int param v_trapcoloring
     caption = "Version (TrapColoring)"
     default = 100
     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_trapcoloring < 100
   endparam
 }
 


Constructor Summary
TrapColoring()
           
TrapColoring(Generic pparent)
          constructor
 
Method Summary
 float Result(TrapMode ptrapmode)
          get a final result
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

TrapColoring

public TrapColoring(Generic pparent)
constructor


TrapColoring

public TrapColoring()
Method Detail

Result

public float Result(TrapMode ptrapmode)
get a final result