20 #ifndef MIRTK_ImplicitSurfaceDistance_H 21 #define MIRTK_ImplicitSurfaceDistance_H 23 #include "mirtk/ImplicitSurfaceForce.h" 62 mirtkPublicAttributeMacro(
bool, NormalizeMagnitude);
66 mirtkPublicAttributeMacro(
bool, InvertMagnitude);
69 mirtkPublicAttributeMacro(
double, MinThreshold);
72 mirtkPublicAttributeMacro(
double, MaxThreshold);
100 virtual void Update(
bool =
true);
121 #endif // MIRTK_ImplicitSurfaceDistance_H ImplicitSurfaceDistance & operator=(const ImplicitSurfaceDistance &)
Assignment operator.
ImplicitSurfaceDistance(const char *="", double=1.0)
Constructor.
virtual void Update(bool=true)
Update moving input points and internal state of force term.
Implicit surface distance force.
virtual ~ImplicitSurfaceDistance()
Destructor.
virtual void Initialize()
Initialize force term once input and parameters have been set.
virtual double Evaluate()
Evaluate external force term.
void UpdateMagnitude()
Update force magnitude at surface points.
virtual void EvaluateGradient(double *, double, double)
Evaluate external force.