|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef MONITOR_MONITORS_MONITORDISPLACEMENT_H
27 #define MONITOR_MONITORS_MONITORDISPLACEMENT_H
32 #include <MonitorIn.hxx>
56 #endif // MONITOR_MONITORS_MONITORDISPLACEMENT_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
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
Atom * getAtom(const unsigned int id)
Get the atom that has the global index given in parameters.
Definition: PhysicalModel.h:385
unsigned int getIndex() const
get the structure unique index (stored in its property)
Definition: Structure.cpp:30
~MonitorDisplacement() override=default
destructor
std::string getTypeName() override
return a string relative to monitor type
Definition: MonitorDisplacement.cpp:58
A monitor that give the displacement (vector)
Definition: MonitorDisplacement.h:38
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
MonitorDisplacement(mml::Monitor *m, MonitoringManager *monitoringManager)
constructor
Definition: MonitorDisplacement.cpp:33
void calculate() override
calculate current followed data and store them in values vector
Definition: MonitorDisplacement.cpp:36
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
PhysicalModel * getInitPml()
Definition: MonitoringManager.cpp:258
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:49
void begin()
place iterator on first atom
Definition: AtomIterator.cpp:62