|
| | BlendCubic (const double &, const double &=1.0) |
| | Creates a cubic polynomial potential function.
|
| |
| virtual double | Eval (const double &) const |
| | Computes the falloff function value.
|
| |
| virtual double | Gradient (const double &) const |
| | Computes the first derivative of the falloff function.
|
| |
| virtual double | K (const double &, const double &) const |
| | Returns the Lipschitz constant of the blend.
|
| |
|
virtual BlendCubic * | Copy () const |
| | Deep copy.
|
| |
| double | Radius (const double &) const |
| | Computes the radius of the blend given a threshold value.
|
| |
| void | Analytic (const Quadric &, Polynomial &) const |
| | Compute the closed form expression of the field along the ray.
|
| |
|
virtual double | K () const |
| | Returns the Lipschitz constant.
|
| |
|
| BlendCompact () |
| | Empty.
|
| |
| | BlendCompact (const double &, const double &) |
| | Stores the radius of influence and the strength (maximum intensity).
|
| |
|
virtual | ~BlendCompact () |
| | Empty.
|
| |
|
double | R () const |
| | Returns the radius of the blend.
|
| |
|
double | I () const |
| | Returns the strength (maximum intensity) of the blend.
|
| |
| virtual void | Scale (const double &) |
| | Scales the radius if the blending function.
|
| |
| virtual void | Alpha (const double &) |
| | Scales the maximum intensity of the blending function.
|
| |
|
virtual int | Memory () const |
| | Compute the size of a falloff node.
|
| |
Normalized blending functions (1-r2)3.
The Lipschitz constant is computed and stored.
The implementation of the cubic uses a specific optimized technique. The cubic polynomial function may be computed using Horner's scheme, which involves 3 adds and 3 multiplies.