|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic common:TrapMode common:TrapModeWithThreshold Standard:Standard_TrapModeBase Standard:Standard_TrapModeExponentialAverage
class
class Standard_TrapModeExponentialAverage(Standard_TrapModeBase) { public: func Iterate(complex pz, complex pzt, float pdistance, float ptexture) Standard_TrapModeBase.Iterate(pz, pzt, pdistance, ptexture) if pdistance < m_Threshold m_UntransformedPoints[0] = pz - m_UntransformedPoints[0] m_TransformedPoints[0] = pzt - m_TransformedPoints[0] m_Distances[0] = m_Distances[0] + exp(-pdistance) m_IterationPoints[0] = m_IterationPoints[0] + 1 m_Solid = false endif endfunc default: title = "Exponential Average" }
Constructor Summary | |
---|---|
Standard_TrapModeExponentialAverage()
|
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 |
---|
public Standard_TrapModeExponentialAverage()
Method Detail |
---|
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 |