 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
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:39
Class which represents a simple criterion A criterion can be checked using checkCriterion method to k...
Definition: Criterion.h:46
std::string unit
unit
Definition: Criterion.h:110
void getOldPosition(double pos[3], unsigned int index)
get atom position for precedent step
Definition: MonitoringManager.cpp:334
~Position() override
destructor
Definition: Position.cpp:59
void getPosition(double pos[3]) const
get the position of the atom (array of 3 doubles)
Definition: Atom.h:120
PhysicalModel * getPml()
Definition: MonitoringManager.cpp:262
unsigned int getIndex() const
get the structure unique index (stored in its property)
Definition: Structure.cpp:29
std::string getName() override
get stopping criterion name
Definition: Position.cpp:82
std::string target
the monitor targets describe as an LML TargetList string (e.g. "1-4,5"),
Definition: Position.h:79
double factor
factor to multiplate for conversion to SI
Definition: Criterion.h:100
This is the main class of this project. Following a nice concept, a physical model is able to represe...
Definition: PhysicalModel.h:85
const std::string getName() const
get the name of the component
Definition: modeling/libraries/pml/Component.h:146
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:49
Position(mml::Position *c, MonitoringManager *monitoringManager, MultipleCriterion *parent=nullptr)
constructor
Definition: Position.cpp:34
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:75
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:102
Allow iteration over a set of atoms given by a target list (component name or index list)
Definition: AtomIterator.h:39
StructuralComponent * getAtoms() const
get all the atoms
Definition: PhysicalModel.h:379
class which represents a multiple criterion a multiple criterion is either an OrMUltipleCriterion or ...
Definition: MultipleCriterion.h:44
MonitoringManager * monitoringManager
monitoring manager
Definition: StoppingCriterion.h:73
void calculate() override
calculate stopping criteria data and store it into values vector
Definition: Position.cpp:62
void begin()
place iterator on first atom
Definition: AtomIterator.cpp:62