List of all members.
Detailed Description
template<typename math_types>
class OpenTissue::function::ImplicitFunction< math_types >
Implicit Function interface
If you have an implicit function (surface) and want to be consistent with other IFs in OT, then derive from this interface and implement evaluate() and gradient(). Note: This interface is often employed as an integrated part of the signed distance function interface,
- See also:
- SignedDistanceFunction
- Parameters:
-
| math_types | The (almost) mandatory math types |
Member Typedef Documentation
template<typename math_types>
template<typename math_types>
Constructor & Destructor Documentation
template<typename math_types>
Member Function Documentation
template<typename math_types>
Evaluate the implicit function that defines the surface. All implicit functions must be designed in such way that: evaluate(x) < 0 --> x is inside the surface (or inside the volume), evaluate(x) = 0 --> x is on the surface, and evaluate(x) > 0 --> x is outside the surface.
template<typename math_types>
The gradient of the implicit function evaluated in x. The gradient will always point from low to high values wrt evaluate(x).
The documentation for this class was generated from the following file: