Standard
Class Standard_TrapModeTrapOnly

Object
  extended by common:Generic
      extended by common:TrapMode
          extended by common:TrapModeWithThreshold
              extended by Standard:Standard_TrapModeBase
                  extended by Standard:Standard_TrapModeTrapOnly

class 
Standard_TrapModeBase:Standard_TrapModeTrapOnly



Ultra Fractal Source

Toggle UF Source Code Display

 class Standard_TrapModeTrapOnly(Standard_TrapModeBase) {
 public:
   func Iterate(complex pz, complex pzt, float pdistance, float ptexture)
     Standard_TrapModeBase.Iterate(pz, pzt, pdistance, ptexture)
     if m_Iterations == 1
       SetTrapInfo(0, pz, pzt, pdistance / m_Threshold)
       if pdistance < m_Threshold
         m_Solid = false
       endif
     endif
   endfunc
 default:
   title = "Trap Only"
 }
 


Constructor Summary
Standard_TrapModeTrapOnly()
           
 
Method Summary
 void Iterate(complex pz, complex pzt, float pdistance, float ptexture)
          call this for each point
 
Methods inherited from class Standard:Standard_TrapModeBase
Init, SetTrapInfo
 
Methods inherited from class common:TrapModeWithThreshold
GetThreshold, SetThreshold, UsesThreshold
 
Methods inherited from class common:TrapMode
GetDistance, GetIteration, GetTexture, GetTransformedPoint, GetUntransformedPoint, IsSolid, IterateSilent, Result
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

Standard_TrapModeTrapOnly

public Standard_TrapModeTrapOnly()
Method Detail

Iterate

public void Iterate(complex pz,
                    complex pzt,
                    float pdistance,
                    float ptexture)
Description copied from class: TrapMode
call this for each point

Overrides:
Iterate in class TrapMode