|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef MONITOR_MONITORS_MONITORPOINTFINALSETDISTANCE_H
27 #define MONITOR_MONITORS_MONITORPOINTFINALSETDISTANCE_H
32 #include <MonitorIn.hxx>
58 #endif // MONITOR_MONITORS_MONITORPOINTFINALSETDISTANCE_H
double dy
offset in y direction (if reference is not aligned)
Definition: Monitor.h:148
MonitorPointFinalSetDistance(mml::Monitor *m, MonitoringManager *monitoringManager)
constructor
Definition: MonitorPointFinalSetDistance.cpp:33
void getPosition(double pos[3]) const
get the position of the atom (array of 3 doubles)
Definition: Atom.h:121
std::string getTypeName() override
return a string relative to monitor type
Definition: MonitorPointFinalSetDistance.cpp:58
void calculate() override
calculate current followed data and store them in values vector
Definition: MonitorPointFinalSetDistance.cpp:36
~MonitorPointFinalSetDistance() override=default
destructor
PhysicalModel * getPml()
Definition: MonitoringManager.cpp:263
MonitoringManager * monitoringManager
monitoring manager
Definition: Monitor.h:140
std::vector< double > values
the vector which contains data monitored
Definition: Monitor.h:152
A monitor that calculate the distance between a point and a set of points.
Definition: MonitorPointFinalSetDistance.h:40
virtual void write()
write data stored in values vector into mmlOut file
Definition: Monitor.cpp:171
double dx
offset in x direction (if reference is not aligned)
Definition: Monitor.h:146
double dz
offset in z direction (if reference is not aligned)
Definition: Monitor.h:150
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
Atom * currentAtom()
return current atom
Definition: AtomIterator.cpp:79
bool end()
return true if iterator is over the last atom
Definition: AtomIterator.cpp:67
Allow iteration over a set of atoms given by a target list (component name or index list)
Definition: AtomIterator.h:40
std::string target
the name of the component targeted by the monitor
Definition: Monitor.h:134
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:49
std::vector< Reference * > references
references used when monitor need references
Definition: Monitor.h:132
void begin()
place iterator on first atom
Definition: AtomIterator.cpp:62