 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
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:251
mml::Monitor * mappedObject
the xsdcxx object representing monitor, used for serialization
Definition: Monitor.h:136
double volume()
Compute the volume of the cell.
Definition: Cell.cpp:542
PhysicalModel * getPml()
Definition: MonitoringManager.cpp:262
MonitoringManager * monitoringManager
monitoring manager
Definition: Monitor.h:138
MonitorVolume(mml::Monitor *m, MonitoringManager *monitoringManager)
constructor
Definition: MonitorVolume.cpp:29
std::vector< double > values
the vector which contains data monitored
Definition: Monitor.h:150
std::string getTypeName() override
return a string relative to monitor type
Definition: MonitorVolume.cpp:55
~MonitorVolume() override
destructor
Definition: MonitorVolume.cpp:32
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:51
void calculate() override
calculate current followed data and store them in values vector
Definition: MonitorVolume.cpp:35
A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:45
Component * getComponentByName(const std::string n)
get a structural or multi component by its name.
Definition: PhysicalModel.cpp:552
A monitor that calculate Volume.
Definition: MonitorVolume.h:37
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:49
Structure * getStructure(const unsigned int) const
get a structure by its index (fisrt structure is at index 0)
Definition: StructuralComponent.h:219
std::string target
the name of the component targeted by the monitor
Definition: Monitor.h:132
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:48
void write() override
write data stored in values vector into mmlOut file
Definition: MonitorVolume.cpp:60