|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef MONITORINGDIALOG_H
27 #define MONITORINGDIALOG_H
33 class QTreeWidgetItem;
114 Ui::MonitoringDialog*
ui;
129 #endif // MONITORINGDIALOG_H
std::string getMmlFileName()
Definition: MonitoringManager.cpp:295
Class which represents a simple criterion A criterion can be checked using checkCriterion method to k...
Definition: Criterion.h:47
Ui::MonitoringDialog * ui
the ui dialog designed in qtdesigner
Definition: MonitoringDialog.h:114
void dtModified()
Slot called after dt editing.
Definition: MonitoringDialog.cpp:356
void saveMmlOut()
Slot called when save MmlOut file is clicked.
Definition: MonitoringDialog.cpp:146
StoppingCriterion * getStoppingCriterion()
get Stopping Criterion
Definition: InteractiveMonitoringManager.cpp:100
double getStopAt()
Definition: Monitor.cpp:212
void simulateOneStep()
Slot called when the next step is clicked.
Definition: MonitoringDialog.cpp:199
void updatePml(QString fileName)
update pml
Definition: MonitoringGuiManager.cpp:228
double getDt()
Definition: MonitoringManager.cpp:227
double getCurrentStep()
Definition: MonitoringManager.cpp:242
void updateSimulation()
update simulation tab
Definition: MonitoringDialog.cpp:288
void rewind()
Slot called when the button Rewind is clicked.
Definition: MonitoringDialog.cpp:209
void browseMmlIn()
Slot called when Browse MmlIn file is clicked.
Definition: MonitoringDialog.cpp:137
void updateMonitors()
update monitors tab
Definition: MonitoringDialog.cpp:257
TODO Comment class here.
Definition: MonitoringDialog.h:50
bool saveMmlInFile(QString fileName)
Save MMLIn file.
Definition: MonitoringGuiManager.cpp:211
void reload()
reload simulation with current parameters
Definition: MonitoringGuiManager.cpp:170
double getComputingTime()
Definition: MonitoringManager.cpp:253
std::string getLmlFileName()
Definition: MonitoringManager.cpp:290
Monitor * getMonitor(const unsigned int i) const
get a monitor by its index in the list
Definition: MonitoringManager.cpp:378
void enableButtons(bool enable)
set the rew,play,pause,step buttons enable or not
Definition: MonitoringDialog.cpp:104
void init()
initialize dialog
Definition: MonitoringDialog.cpp:99
void monitorsChanged()
emitted
std::string getReferenceName()
Definition: Monitor.cpp:192
std::string getPmlFileName()
Definition: MonitoringManager.cpp:285
void updateAll()
update all tabs
Definition: MonitoringDialog.cpp:225
QColor bgColor
the initial bg color
Definition: MonitoringDialog.h:120
virtual std::string getName()=0
get stopping criterion name
bool isLmlPresent()
check if a lml is present
Definition: MonitoringManager.cpp:486
void refreshModified()
Slot called after refresh editing.
Definition: MonitoringDialog.cpp:361
std::string getTargetName()
Definition: Monitor.cpp:217
Definition: SettingsDialog.h:31
void saveMmlIn()
Slot called when save MmlIn file is clicked.
Definition: MonitoringDialog.cpp:162
A GUI to manipulate mml documents.
Definition: MonitoringGuiManager.h:45
virtual StoppingCriterion * getChild(const unsigned int i)=0
get the child repered by index, return nullptr if no child
unsigned int numberOfMonitor() const
get the number of monitors stored in the list
Definition: MonitoringManager.cpp:388
bool loadMmlInFile(QString fileName)
Load a MMLIn file.
Definition: MonitoringGuiManager.cpp:181
void saveCsv()
Slot called when save as csv file is clicked.
Definition: MonitoringDialog.cpp:154
void pause()
pause simulation
Definition: MonitoringGuiManager.cpp:156
void updateSimulatorWidget()
update simulator specific widget
Definition: MonitoringDialog.cpp:314
Simulator * getSimulator()
Definition: MonitoringManager.cpp:306
void simulateOneStep()
do one step of simulation
Definition: MonitoringGuiManager.cpp:144
bool saveMmlOutFile(QString fileName)
Save MMLout file.
Definition: MonitoringGuiManager.cpp:198
double getRefresh()
Definition: MonitoringManager.cpp:232
MonitoringGuiManager * guiManager
the monitoring manager
Definition: MonitoringDialog.h:117
void pause()
do one step of simulation
Definition: MonitoringDialog.cpp:204
virtual int getNumberOfChildren()=0
get number of childre; return -1 for non multiple criteria
QTableWidget * getMonitorsTableWidget()
get the monitors table
Definition: MonitoringDialog.cpp:365
class which represent the stopping criterion to check to stop simulation a StoppingCriterion is eithe...
Definition: StoppingCriterion.h:48
void simulate()
do simulation lopp
Definition: MonitoringGuiManager.cpp:132
void simulate()
Slot called when the button Play is clicked.
Definition: MonitoringDialog.cpp:218
void updateDt(double dt)
update dt
Definition: MonitoringGuiManager.cpp:218
void updateLml(QString fileName)
update lml
Definition: MonitoringGuiManager.cpp:233
virtual std::string getTypeName()=0
void updateStoppingCriteria()
update stopping criteria tab
Definition: MonitoringDialog.cpp:301
QString getMmlInFileName()
get MmlIn file name
Definition: MonitoringDialog.cpp:351
void updateRefresh(double refresh)
update refresh
Definition: MonitoringGuiManager.cpp:223
MonitoringManager * getMonitoringManager()
get Monitoring Manager
Definition: MonitoringGuiManager.cpp:74
double getCurrentTime()
Definition: MonitoringManager.cpp:237
QTreeWidgetItem * createItem(StoppingCriterion *sc, QTreeWidgetItem *parent)
Definition: MonitoringDialog.cpp:333
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:49
~MonitoringDialog() override
Destructor.
Definition: MonitoringDialog.cpp:85
Interactice managers are managers linked with an interactive simulator.
Definition: InteractiveMonitoringManager.h:51
MonitoringDialog(MonitoringGuiManager *guiManager, QWidget *parent=nullptr)
Default Constructor.
Definition: MonitoringDialog.cpp:44
double getStartAt()
Definition: Monitor.cpp:207
bool saveCsvFile(QString fileName)
Save csv file.
Definition: MonitoringGuiManager.cpp:204
MonitoringDriver * getDriver()
get driver
Definition: MonitoringGuiManager.cpp:69
double getStepComputingTime()
Definition: MonitoringManager.cpp:247
void browsePml()
Slot called when Browse Pml file is clicked.
Definition: MonitoringDialog.cpp:185
void rewind()
rewind simulation
Definition: MonitoringGuiManager.cpp:161
void browseLml()
Slot called when Browse Lml file is clicked.
Definition: MonitoringDialog.cpp:171
bool isPmlPresent()
check if a scn is present instead of pmlFileName
Definition: MonitoringManager.cpp:481