|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef MONITOR_MONITORS_MONITORNORMDISPLACEMENT_H
27 #define MONITOR_MONITORS_MONITORNORMDISPLACEMENT_H
31 #include <MonitorIn.hxx>
55 #endif // MONITOR_MONITORS_MONITORNORMDISPLACEMENT_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
~MonitorNormDisplacement() 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
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
virtual void write()
write data stored in values vector into mmlOut file
Definition: Monitor.cpp:171
MonitorNormDisplacement(mml::Monitor *m, MonitoringManager *monitoringManager)
constructor
Definition: MonitorNormDisplacement.cpp:33
double dx
offset in x direction (if reference is not aligned)
Definition: Monitor.h:146
void calculate() override
calculate current followed data and store them in values vector
Definition: MonitorNormDisplacement.cpp:36
A monitor that give the norm of the displacement.
Definition: MonitorNormDisplacement.h:37
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
std::string getTypeName() override
return a string relative to monitor type
Definition: MonitorNormDisplacement.cpp:56
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