|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef MONITOR_MONITORS_MONITORVOLUME_H
27 #define MONITOR_MONITORS_MONITORVOLUME_H
32 #include <MonitorIn.hxx>
55 void write()
override;
58 #endif // MONITOR_MONITORS_MONITORVOLUME_H
unsigned int getNumberOfStructures() const
get the number of structures
Definition: StructuralComponent.h:252
mml::Monitor * mappedObject
the xsdcxx object representing monitor, used for serialization
Definition: Monitor.h:138
double volume()
Compute the volume of the cell.
Definition: Cell.cpp:545
PhysicalModel * getPml()
Definition: MonitoringManager.cpp:263
MonitoringManager * monitoringManager
monitoring manager
Definition: Monitor.h:140
MonitorVolume(mml::Monitor *m, MonitoringManager *monitoringManager)
constructor
Definition: MonitorVolume.cpp:30
std::vector< double > values
the vector which contains data monitored
Definition: Monitor.h:152
std::string getTypeName() override
return a string relative to monitor type
Definition: MonitorVolume.cpp:56
~MonitorVolume() override
destructor
Definition: MonitorVolume.cpp:33
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:52
void calculate() override
calculate current followed data and store them in values vector
Definition: MonitorVolume.cpp:36
A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:46
Component * getComponentByName(const std::string n)
get a structural or multi component by its name.
Definition: PhysicalModel.cpp:553
A monitor that calculate Volume.
Definition: MonitorVolume.h:38
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
Structure * getStructure(const unsigned int) const
get a structure by its index (fisrt structure is at index 0)
Definition: StructuralComponent.h:220
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
void write() override
write data stored in values vector into mmlOut file
Definition: MonitorVolume.cpp:61