|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef MONITOR_MONITORS_MONITORDISTANCEY_H
27 #define MONITOR_MONITORS_MONITORDISTANCEY_H
32 #include <MonitorIn.hxx>
56 #endif // MONITOR_MONITORS_MONITORDISTANCEY_H
double dy
offset in y direction (if reference is not aligned)
Definition: Monitor.h:148
void getPosition(double pos[3]) const
get the position of the atom (array of 3 doubles)
Definition: Atom.h:121
void calculate() override
calculate current followed data and store them in values vector
Definition: MonitorDistanceY.cpp:38
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
unsigned int getIndex() const
get the structure unique index (stored in its property)
Definition: Structure.cpp:30
virtual void write()
write data stored in values vector into mmlOut file
Definition: Monitor.cpp:171
std::string getTypeName() override
return a string relative to monitor type
Definition: MonitorDistanceY.cpp:62
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
MonitorDistanceY(mml::Monitor *m, MonitoringManager *monitoringManager)
constructor
Definition: MonitorDistanceY.cpp:35
Atom * currentAtom()
return current atom
Definition: AtomIterator.cpp:79
bool end()
return true if iterator is over the last atom
Definition: AtomIterator.cpp:67
double getCurrentTime()
Definition: MonitoringManager.cpp:237
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
~MonitorDistanceY() override=default
destructor
A monitor that calculate the distance between two points.
Definition: MonitorDistanceY.h:38
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