common
Class TrapMode

Object
  extended by common:Generic
      extended by common:TrapMode
Direct Known Subclasses:
DMJ_TrapModeChangeAverage, DMJ_TrapModeSignAverage, MMF_TrapModeSmooth, TrapModeWithThreshold

class 
Generic:TrapMode

This is a generic trap mode formula. It takes a sequence of complex point pairs (untransformed and transformed) and distances and produces a final result


Ultra Fractal Source

Toggle UF Source Code Display


Constructor Summary
TrapMode()
           
TrapMode(Generic pparent)
          constructor
 
Method Summary
 float GetDistance(int pindex)
          get a final distance
 float GetIteration(int pindex)
          get a final iteration
 float GetTexture(int pindex)
          get a final texture
 float GetThreshold()
          get threshold value
 complex GetTransformedPoint(int pindex)
          get a final transformed point
 complex GetUntransformedPoint(int pindex)
          get a final untransformed point
 void Init(complex pz)
          call this at the beginning of each sequence
 boolean IsSolid()
          call this to determine if the last sequence produced a solid point
 void Iterate(complex pz, complex pzt, float pdistance, float ptexture)
          call this for each point
 void IterateSilent()
          call this for each point that is ignored
 void Result()
          call this to compute final results
 void SetThreshold(float pthreshold)
           
 boolean UsesThreshold()
          get whether threshold is even used
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

TrapMode

public TrapMode(Generic pparent)
constructor


TrapMode

public TrapMode()
Method Detail

Init

public void Init(complex pz)
call this at the beginning of each sequence


Iterate

public void Iterate(complex pz,
                    complex pzt,
                    float pdistance,
                    float ptexture)
call this for each point


IterateSilent

public void IterateSilent()
call this for each point that is ignored


Result

public void Result()
call this to compute final results


IsSolid

public boolean IsSolid()
call this to determine if the last sequence produced a solid point


GetUntransformedPoint

public complex GetUntransformedPoint(int pindex)
get a final untransformed point


GetTransformedPoint

public complex GetTransformedPoint(int pindex)
get a final transformed point


GetDistance

public float GetDistance(int pindex)
get a final distance


GetTexture

public float GetTexture(int pindex)
get a final texture


GetIteration

public float GetIteration(int pindex)
get a final iteration


GetThreshold

public float GetThreshold()
get threshold value


SetThreshold

public void SetThreshold(float pthreshold)

UsesThreshold

public boolean UsesThreshold()
get whether threshold is even used