Standard
Class Standard_TrapModeBase
Object
common:Generic
common:TrapMode
common:TrapModeWithThreshold
Standard:Standard_TrapModeBase
- Direct Known Subclasses:
- MMF_TrapModeIteration, Standard_TrapModeAlternatingAverage, Standard_TrapModeAverage, Standard_TrapModeClosest, Standard_TrapModeExponentialAverage, Standard_TrapModeFarthest, Standard_TrapModeFirst, Standard_TrapModeLast, Standard_TrapModeProduct, Standard_TrapModeSum, Standard_TrapModeTrapOnly, Standard_TrapModeTwoBase
class
- TrapModeWithThreshold:Standard_TrapModeBase
Implements a few common things that most trap modes need.
Ultra Fractal Source
Toggle UF Source Code Display
class Standard_TrapModeBase(common.ulb:TrapModeWithThreshold) {
; Implements a few common things that most trap modes need.
public:
; Calls the inherited Init() and also sets m_Solid to true because this is
; the initial condition for most trap modes.
func Init(complex pz)
TrapModeWithThreshold.Init(pz)
m_Solid = true
endfunc
protected:
; SetTrapInfo makes it a little easier to set the information for a trapped
; point. It just updates the member variables of the TrapMode base class.
func SetTrapInfo(int i, complex pz, complex pzt, float pdistance)
m_Distances[i] = pdistance
m_UntransformedPoints[i] = pz
m_TransformedPoints[i] = pzt
m_IterationPoints[i] = m_Iterations
endfunc
}
Method Summary |
void |
Init(complex pz)
Calls the inherited Init() and also sets m_Solid to true because this is
the initial condition for most trap modes. |
protected void |
SetTrapInfo(int i,
complex pz,
complex pzt,
float pdistance)
SetTrapInfo makes it a little easier to set the information for a trapped
point. |
Methods inherited from class Object |
|
Standard_TrapModeBase
public Standard_TrapModeBase()
Init
public void Init(complex pz)
- Calls the inherited Init() and also sets m_Solid to true because this is
the initial condition for most trap modes.
- Overrides:
Init
in class TrapMode
SetTrapInfo
protected void SetTrapInfo(int i,
complex pz,
complex pzt,
float pdistance)
- SetTrapInfo makes it a little easier to set the information for a trapped
point. It just updates the member variables of the TrapMode base class.