|
virtual void | Initialize () |
| Initialize force term once input and parameters have been set.
|
|
virtual void | Reinitialize () |
|
virtual void | Update (bool=true) |
| Update moving input points and internal state of force term.
|
|
virtual void | WriteDataSets (const char *, const char *, bool=true) const |
| Write input of force term.
|
|
virtual void | WriteGradient (const char *, const char *) const |
| Write gradient of force term.
|
|
virtual | ~PointSetForce () |
| Destructor.
|
|
virtual enum EnergyMeasure | EnergyMeasure () const =0 |
| Energy measure implemented by this term.
|
|
void | Gradient (double *gradient, double step) |
|
virtual void | GradientStep (const double *gradient, double &min, double &max) const |
|
double | InitialValue () |
| Returns initial value of energy term.
|
|
void | NormalizedGradient (double *gradient, double step) |
|
virtual ParameterList | Parameter () const |
| Get parameter key/value as string map.
|
|
string | Prefix (const char *=NULL) const |
| Prefix to be used for debug output files.
|
|
virtual void | Print (Indent=0) const |
| Print debug information.
|
|
virtual double | RawValue (double) const |
|
double | RawValue () |
|
void | ResetInitialValue () |
| Reset initial value of energy term.
|
|
void | ResetValue () |
| Reset cached value of energy term.
|
|
virtual bool | Upgrade () |
| Update energy term after convergence.
|
|
double | Value () |
| Evaluate energy term.
|
|
virtual | ~EnergyTerm () |
| Destructor.
|
|
string | DefaultName () const |
|
virtual bool | Set (const char *, const char *) |
| Set parameter value from string.
|
|
virtual | ~Configurable () |
| Destructor.
|
|
void | AddObserver (Observer &) |
| Add observer.
|
|
void | Broadcast (Event, const void *=NULL) |
| Broadcast event to observers.
|
|
void | ClearObservers () |
| Delete all observers.
|
|
void | DeleteObserver (Observer &) |
| Delete observer.
|
|
void | NotifyObservers (Event, const void *=NULL) |
| Notify all observers about given event if this object has changed.
|
|
int | NumberOfObservers () const |
| Number of current observers.
|
|
virtual | ~Observable () |
| Destructor.
|
|
virtual const char * | NameOfClass () const =0 |
| Get name of class, which this object is an instance of.
|
|
bool | Parameter (const ParameterList &) |
| Set parameters from name/value pairs.
|
|
virtual | ~Object () |
| Destructor.
|
|
|
void | AddPointData (const char *name, vtkSmartPointer< vtkDataArray > &data, bool global=false) |
|
vtkDataArray * | AddPointData (const char *name, int c=1, int type=VTK_FLOAT, bool global=false) |
|
void | AllocateCount (int) |
| Allocate _Count memory.
|
|
void | AllocateGradient (int) |
| Allocate memory for (non-parametric) gradient.
|
|
void | CopyAttributes (const PointSetForce &) |
| Copy attributes of this class from another instance.
|
|
vtkPointSet * | DeformedPointSet () const |
| Get point set on which this force is acting on.
|
|
vtkPolyData * | DeformedSurface () const |
| Get point set on which this force is acting on.
|
|
const EdgeTable * | Edges () const |
| Get edge table of point set mesh.
|
|
virtual void | EvaluateGradient (double *gradient, double step, double weight) |
|
vtkSmartPointer< vtkPoints > | GetInitialPoints () const |
| Get initial points, possibly pre-transformed by global transformation.
|
|
void | Init () |
| Common (re-)initialization steps of this class only (non-virtual function!)
|
|
vtkDataArray * | InitialStatus () const |
| Get initial point status array.
|
|
| mirtkAggregateMacro (int, Count) |
|
| mirtkAttributeMacro (int, GradientSize) |
| Size of gradient vector.
|
|
| mirtkAttributeMacro (int, CountSize) |
| Size of count vector.
|
|
| mirtkAttributeMacro (bool, InitialUpdate) |
| Whether Update has not been called since initialization.
|
|
| mirtkComponentMacro (GradientType, Gradient) |
| Negative node forces/gradient of external force term.
|
|
| mirtkPublicAggregateMacro (RegisteredPointSet, PointSet) |
| Transformed point set.
|
|
| mirtkPublicAttributeMacro (int, GradientAveraging) |
| Number of gradient averaging iterations.
|
|
| mirtkPublicAttributeMacro (bool, AverageSignedGradients) |
|
| mirtkPublicAttributeMacro (bool, AverageGradientMagnitude) |
| Whether to only average the magnitude of the gradient vectors.
|
|
| mirtkReadOnlyAttributeMacro (bool, SurfaceForce) |
|
| mirtkReadOnlyAttributeMacro (int, NumberOfPoints) |
| Number of points.
|
|
const NodeNeighbors * | Neighbors (int=-1) const |
| Get edge-connectivity table of point set node neighbors.
|
|
vtkDataArray * | Normals () const |
| Get point normals array.
|
|
PointSetForce & | operator= (const PointSetForce &) |
| Assignment operator.
|
|
vtkPointSet * | OriginalPointSet () const |
| Get point set on which this force is acting on.
|
|
vtkPolyData * | OriginalSurface () const |
| Get point set on which this force is acting on.
|
|
vtkPointData * | PointData () const |
| Get point data.
|
|
vtkDataArray * | PointData (const char *name, bool optional=false) const |
|
vtkPoints * | Points () const |
| Get points of point set on which this force is acting on.
|
|
| PointSetForce (const char *="", double=1.0) |
| Constructor.
|
|
| PointSetForce (const PointSetForce &) |
| Copy constructor.
|
|
void | RemovePointData (const char *name) |
|
SharedPtr< const EdgeTable > | SharedEdgeTable () const |
| Get edge table of point set mesh.
|
|
vtkDataArray * | Status () const |
| Get point status array.
|
|
| EnergyTerm (const char *="", double=1.0) |
| Constructor.
|
|
| EnergyTerm (const EnergyTerm &) |
| Copy constructor.
|
|
virtual double | Evaluate ()=0 |
| Evaluate unweighted energy term.
|
|
EnergyTerm & | operator= (const EnergyTerm &) |
| Assignment operator.
|
|
virtual bool | SetWithoutPrefix (const char *, const char *) |
| Set parameter value from string.
|
|
virtual bool | SetWithPrefix (const char *, const char *) |
| Set parameter value from string.
|
|
| Configurable (const char *="") |
| Constructor.
|
|
| Configurable (const Configurable &) |
| Copy constructor.
|
|
string | DefaultPrefix () const |
| Get default object name prefix (if any)
|
|
bool | HasName () const |
| Whether this object has an explicit name.
|
|
bool | HasPrefix () const |
| Whether this object has either an explicit name or default prefix.
|
|
template<class T > |
bool | InsertWithPrefix (ParameterList &, string, T) const |
| Insert parameter into name/value list with object name prefix.
|
|
bool | InsertWithPrefix (ParameterList &, const ParameterList &) const |
| Insert parameters into name/value list with object name prefix.
|
|
Configurable & | operator= (const Configurable &) |
| Assignment operator.
|
|
string | ParameterNameWithoutPrefix (const char *) const |
| Get name of parameter without object name prefix.
|
|
string | ParameterNameWithPrefix (const string &) const |
| Get name of parameter with default object name prefix.
|
|
string | ParameterNameWithPrefix (const char *) const |
| Get name of parameter with default object name prefix.
|
|
| Observable () |
| Default constructor.
|
|
| Observable (const Observable &) |
| Copy constructor.
|
|
Observable & | operator= (const Observable &) |
| Assignment operator.
|
|
template<typename... Args> |
void | Throw (ErrorType err, const char *func, Args... args) const |
|
Base class for point set force terms
Subclasses implement in particular internal and external forces for deformable surface models. Internal force terms may further be used to regularize the deformation of a surface during image/point set registration.
Definition at line 45 of file PointSetForce.h.