|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef STOPPINGCRITERION_STOPPINGCRITERIA_CRITERIA_POSITION_H
27 #define STOPPINGCRITERION_STOPPINGCRITERIA_CRITERIA_POSITION_H
29 #include <MonitorIn.hxx>
61 #endif // STOPPINGCRITERION_STOPPINGCRITERIA_CRITERIA_POSITION_H
A simple criterion based on position calculation.
Definition: Position.h:40
Class which represents a simple criterion A criterion can be checked using checkCriterion method to k...
Definition: Criterion.h:47
std::string unit
unit
Definition: Criterion.h:112
void getOldPosition(double pos[3], unsigned int index)
get atom position for precedent step
Definition: MonitoringManager.cpp:335
~Position() override
destructor
Definition: Position.cpp:60
void getPosition(double pos[3]) const
get the position of the atom (array of 3 doubles)
Definition: Atom.h:121
PhysicalModel * getPml()
Definition: MonitoringManager.cpp:263
unsigned int getIndex() const
get the structure unique index (stored in its property)
Definition: Structure.cpp:30
std::string getName() override
get stopping criterion name
Definition: Position.cpp:80
std::string target
the monitor targets describe as an LML TargetList string (e.g. "1-4,5"),
Definition: Position.h:81
double factor
factor to multiplate for conversion to SI
Definition: Criterion.h:102
const std::string getName() const
get the name of the component
Definition: modeling/libraries/pml/Component.h:147
void next()
if iteration is not finished, advance to next atom
Definition: AtomIterator.cpp:72
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
Position(mml::Position *c, MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr)
constructor
Definition: Position.cpp:35
void write()
write values in the mmlOut file
Definition: Criterion.cpp:58
Atom * currentAtom()
return current atom
Definition: AtomIterator.cpp:79
MultipleCriterion * parent
parent stopping Criterion
Definition: StoppingCriterion.h:76
bool end()
return true if iterator is over the last atom
Definition: AtomIterator.cpp:67
std::vector< double > values
vector that stores current data of the stopping criteria
Definition: Criterion.h:104
Allow iteration over a set of atoms given by a target list (component name or index list)
Definition: AtomIterator.h:40
StructuralComponent * getAtoms() const
get all the atoms
Definition: PhysicalModel.h:380
class which represents a multiple criterion a multiple criterion is either an OrMUltipleCriterion or ...
Definition: MultipleCriterion.h:45
MonitoringManager * monitoringManager
monitoring manager
Definition: StoppingCriterion.h:74
void calculate() override
calculate stopping criteria data and store it into values vector
Definition: Position.cpp:63
void begin()
place iterator on first atom
Definition: AtomIterator.cpp:62