mt
Class MT_TrapShape_Transform
Object
common:Generic
common:TrapShape
mt:MT_TrapShape_Transform
class
- TrapShape:MT_TrapShape_Transform
Mark Townsend, June 2008
Ultra Fractal Source
Toggle UF Source Code Display
class MT_TrapShape_Transform(common.ulb:TrapShape) {
;
; Mark Townsend, June 2008
;
public:
func MT_TrapShape_Transform(Generic pparent)
TrapShape.TrapShape(pparent)
fTransform = new @p_transform(this)
endfunc
func init(complex pz)
fTransform.init(pz)
endfunc
float func Iterate(complex pz)
m_LastZ = fTransform.Iterate(pz)
if @mode == "Magnitude"
return cabs(m_LastZ)
else
return cabs(pz - m_LastZ)
endif
endfunc
private:
UserTransform fTransform
default:
title = "Transform"
param mode
caption = "Mode"
enum = "Magnitude" "Distance"
endparam
UserTransform param p_transform
caption = "Transform"
default = MT_GravitationalLens
endparam
}
Methods inherited from class Object |
|
MT_TrapShape_Transform
public MT_TrapShape_Transform(Generic pparent)
MT_TrapShape_Transform
public MT_TrapShape_Transform()
init
public void init(complex pz)
Iterate
public float Iterate(complex pz)
- Description copied from class:
TrapShape
- call this for each iteration being trapped
- Overrides:
Iterate
in class TrapShape