20 #ifndef MIRTK_ExternalForce_H 21 #define MIRTK_ExternalForce_H 23 #include "mirtk/PointSetForce.h" 25 #include "mirtk/ExternalForceTerm.h" 26 #include "mirtk/RegisteredImage.h" 94 virtual void Update(
bool =
true);
106 #endif // MIRTK_ExternalForce_H virtual ~ExternalForce()
Destructor.
static ExternalForce * New(ExternalForceTerm, const char *="", double=1.0)
Instantiate specified external force.
void CopyAttributes(const ExternalForce &)
Copy attributes of this class from another instance.
ExternalForce(const char *="", double=1.0)
Constructor.
GenericImage< VoxelType > ImageType
Non-abstract base type of input image.
ExternalForce & operator=(const ExternalForce &)
Assignment operator.
virtual double Evaluate()
Evaluate external force term.
RegisteredImage::VoxelType VoxelType
Type of input image voxel values.
virtual void Initialize()
Initialize external force once input and parameters have been set.
virtual void Update(bool=true)
Update moving input points and internal state of external force term.