20 #ifndef MIRTK_SpringForce_H 21 #define MIRTK_SpringForce_H 23 #include "mirtk/SurfaceConstraint.h" 24 #include "mirtk/EdgeTable.h" 26 #include "vtkSmartPointer.h" 27 #include "vtkPolyData.h" 28 #include "vtkDataArray.h" 64 mirtkPublicAttributeMacro(
double, InwardNormalWeight);
67 mirtkPublicAttributeMacro(
double, OutwardNormalWeight);
70 mirtkPublicAttributeMacro(
double, TangentialWeight);
108 #endif // MIRTK_SpringForce_H
SpringForce(const char *="", double=1.0)
Constructor.
virtual ~SpringForce()
Destructor.
virtual double Evaluate()
Evaluate energy of internal force term.
virtual void EvaluateGradient(double *, double, double)
Evaluate internal force w.r.t. transformation parameters or surface nodes.
SpringForce & operator=(const SpringForce &)
Assignment operator.