Computer Assisted Medical Intervention Tool Kit  version 6.0
Loading...
Searching...
No Matches
ForceCriterion Class Reference

A simple criterion based on force calculation. More...

#include <Force.h>

Public Member Functions

 ForceCriterion (mml::Force *c, MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr)
 constructor
std::string getName () override
 get stopping criterion name
 ~ForceCriterion () override
 destructor
Public Member Functions inherited from Criterion
bool checkCriterion () override
 return true if the criterion is reach
 Criterion (mml::Criteria *c, MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr)
 constructor
StoppingCriteriongetChild (const unsigned int i) override
 get the child repered by index, return null if no child
std::string getMethodString ()
 get Method Name
int getNumberOfChildren () override
 get number of childre; return -1 for non multiple criteria
std::string scopeToString ()
 get Method scope as string
 ~Criterion () override
 destructor
Public Member Functions inherited from StoppingCriterion
MultipleCriteriongetParent ()
 get parent multiple criteria
 StoppingCriterion (MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr)
 constructor
virtual ~StoppingCriterion ()=default
 destructor

Additional Inherited Members

Protected Member Functions inherited from Criterion
void write ()
 write values in the mmlOut file
Protected Attributes inherited from Criterion
double factor
 factor to multiplate for conversion to SI
mml::Criteria * mappedObject
 the xsdcxx object representing criterion, used for serialization
Methodmeth
 the computationnal method used to check if criterion is true
std::string unit
 unit
std::vector< double > values
 vector that stores current data of the stopping criteria
Protected Attributes inherited from StoppingCriterion
MonitoringManagermonitoringManager
 monitoring manager
MultipleCriterionparent
 parent stopping Criterion

Detailed Description

A simple criterion based on force calculation.

Constructor & Destructor Documentation

◆ ForceCriterion()

ForceCriterion::ForceCriterion ( mml::Force * c,
MonitoringManager * monitoringManager,
MultipleCriterion * parent = nullptr )

constructor

Parameters
cthe xsdcxx generated Force criterion

References Criterion::Criterion(), StoppingCriterion::monitoringManager, and StoppingCriterion::parent.

◆ ~ForceCriterion()

ForceCriterion::~ForceCriterion ( )
override

destructor

Member Function Documentation

◆ getName()

std::string ForceCriterion::getName ( )
overridevirtual

get stopping criterion name

Implements Criterion.


The documentation for this class was generated from the following files: