|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic common:TrapMode common:TrapModeWithThreshold dmj5:DMJ_TrapModeSum
class
class DMJ_TrapModeSum(common.ulb:TrapModeWithThreshold) { public: import "common.ulb" func DMJ_TrapModeSum(Generic pparent) TrapModeWithThreshold.TrapModeWithThreshold(pparent) endfunc func Init(complex pz) TrapModeWithThreshold.Init(pz) m_Solid = true endfunc func Iterate(complex pz, complex pzt, float pdistance, float ptexture) TrapModeWithThreshold.Iterate(pz, pzt, pdistance, ptexture) if (pdistance < m_Threshold) m_Distances[0] = m_Distances[0] + pdistance m_Textures[0] = m_Textures[0] + ptexture m_UntransformedPoints[0] = m_UntransformedPoints[0] + pz m_TransformedPoints[0] = m_TransformedPoints[0] + pzt m_IterationPoints[0] = m_IterationPoints[0] + 1 m_Solid = false endif endfunc default: title = "Sum" int param v_dmj_trapmodesum caption = "Version (DMJ_TrapModeSum)" 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_trapmodesum < 100 endparam }
Constructor Summary | |
---|---|
DMJ_TrapModeSum()
|
|
DMJ_TrapModeSum(Generic pparent)
|
Method Summary | |
---|---|
void |
Init(complex pz)
call this at the beginning of each sequence |
void |
Iterate(complex pz,
complex pzt,
float pdistance,
float ptexture)
call this for each point |
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 |
---|
public DMJ_TrapModeSum(Generic pparent)
public DMJ_TrapModeSum()
Method Detail |
---|
public void Init(complex pz)
TrapMode
Init
in class TrapMode
public void Iterate(complex pz, complex pzt, float pdistance, float ptexture)
TrapMode
Iterate
in class TrapMode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |