dmj5
Class DMJ_TrapModeAverage

Object
  extended by common:Generic
      extended by common:TrapMode
          extended by common:TrapModeWithThreshold
              extended by dmj5:DMJ_TrapModeSum
                  extended by dmj5:DMJ_TrapModeAverage

class 
DMJ_TrapModeSum:DMJ_TrapModeAverage



Ultra Fractal Source

Toggle UF Source Code Display

 class DMJ_TrapModeAverage(DMJ_TrapModeSum) {
 public:
   import "common.ulb"
 
   func DMJ_TrapModeAverage(Generic pparent)
     DMJ_TrapModeSum.DMJ_TrapModeSum(pparent)
   endfunc
 
   func Result()
     float ii = 1.0 / m_IterationPoints[0]
     m_Distances[0] = m_Distances[0] * ii
     m_Textures[0] = m_Textures[0] * ii
     m_UntransformedPoints[0] = m_UntransformedPoints[0] * ii
     m_TransformedPoints[0] = m_TransformedPoints[0] * ii
   endfunc
   
 default:
   title = "Average"
 
   int param v_dmj_trapmodeaverage
     caption = "Version (DMJ_TrapModeAverage)"
     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_dmj_trapmodeaverage < 100
   endparam
 }
 


Constructor Summary
DMJ_TrapModeAverage()
           
DMJ_TrapModeAverage(Generic pparent)
           
 
Method Summary
 void Result()
          call this to compute final results
 
Methods inherited from class dmj5:DMJ_TrapModeSum
Init, Iterate
 
Methods inherited from class common:TrapModeWithThreshold
GetThreshold, SetThreshold, UsesThreshold
 
Methods inherited from class common:TrapMode
GetDistance, GetIteration, GetTexture, GetTransformedPoint, GetUntransformedPoint, IsSolid, IterateSilent
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

DMJ_TrapModeAverage

public DMJ_TrapModeAverage(Generic pparent)

DMJ_TrapModeAverage

public DMJ_TrapModeAverage()
Method Detail

Result

public void Result()
Description copied from class: TrapMode
call this to compute final results

Overrides:
Result in class TrapMode