|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcommon:Generic
common:TrapShape
dmj5:DMJ_TrapShapeHeart2
class
class DMJ_TrapShapeHeart2(common.ulb:TrapShape) {
public:
import "common.ulb"
func DMJ_TrapShapeHeart2(Generic pparent)
TrapShape.TrapShape(pparent)
endfunc
float func Iterate(complex pz)
TrapShape.Iterate(pz)
complex zt = real(abs(pz)) + flip(imag(pz))
zt = real(zt * ((0,1) ^ (@p_skew/90.0))) + flip(imag(zt))
return cabs(zt)
endfunc
default:
title = "Heart 2"
int param v_dmj_trapshapeheart2
caption = "Version (DMJ_TrapShapeHeart2)"
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_trapshapeheart2 < 100
endparam
float param p_skew
caption = "Skew"
default = 45.0
hint = "Sets the skew angle of the two halves of the heart shape, in degrees. Increasing this value will make the heart shape narrower and more 'pointy'."
endparam
}
| Constructor Summary | |
|---|---|
DMJ_TrapShapeHeart2()
|
|
DMJ_TrapShapeHeart2(Generic pparent)
|
|
| Method Summary | |
|---|---|
float |
Iterate(complex pz)
call this for each iteration being trapped |
| Methods inherited from class common:TrapShape |
|---|
GetColorChannel, GetTextureValue, GetTransformedPoint, Init, IterateSilent, SetThreshold |
| Methods inherited from class common:Generic |
|---|
GetParent |
| Methods inherited from class Object |
|---|
|
| Constructor Detail |
|---|
public DMJ_TrapShapeHeart2(Generic pparent)
public DMJ_TrapShapeHeart2()
| Method Detail |
|---|
public float Iterate(complex pz)
TrapShape
Iterate in class TrapShape
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||