|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef MONITORINGGUIMANAGER_H
27 #define MONITORINGGUIMANAGER_H
120 #endif // MONITORINGGUIMANAGER_H
void setRefresh(double refresh)
change refresh and save modification into mmlIn
Definition: MonitoringManager.cpp:399
bool doOneStep()
do one step of simulation
Definition: MonitoringGuiManager.cpp:80
MonitoringDialog * dialog
the dialog box
Definition: MonitoringGuiManager.h:109
void startTimer()
starts the timer that will repeatedly call play and emit doOneStep
Definition: MonitoringDriver.cpp:68
void updatePml(QString fileName)
update pml
Definition: MonitoringGuiManager.cpp:228
void setDt(double dt)
change dt and save modification into mmlIn
Definition: MonitoringManager.cpp:393
void setLmlFileName(const char *file)
change lml file name and save modification into mmlIn
Definition: MonitoringManager.cpp:405
double lastRefreshTime
last refresh time
Definition: MonitoringGuiManager.h:115
void updateSimulation()
update simulation tab
Definition: MonitoringDialog.cpp:288
TODO Comment class here.
Definition: MonitoringDialog.h:50
MonitoringDialog * getDialog()
get dialog
Definition: MonitoringGuiManager.cpp:64
bool saveMmlInFile(QString fileName)
Save MMLIn file.
Definition: MonitoringGuiManager.cpp:211
void reload()
reload simulation with current parameters
Definition: MonitoringGuiManager.cpp:170
MonitoringManager * monitoringManager
Monitoring manager.
Definition: MonitoringGuiManager.h:113
void init()
initialize dialog
Definition: MonitoringDialog.cpp:99
TODO Comment class here.
Definition: MonitoringDriver.h:41
void writeOutput(const char *fileName)
Write all saved monitors' states into mmlOut file.
Definition: MonitoringManager.cpp:137
void updateAll()
update all tabs
Definition: MonitoringDialog.cpp:225
bool isTimerActive()
is the timer currently running
Definition: MonitoringDriver.cpp:78
void stopTimer()
stop the timer
Definition: MonitoringDriver.cpp:73
void saveMmlIn(const char *fileName)
save current version of mml in
Definition: MonitoringManager.cpp:417
A GUI to manipulate mml documents.
Definition: MonitoringGuiManager.h:45
bool loadMmlInFile(QString fileName)
Load a MMLIn file.
Definition: MonitoringGuiManager.cpp:181
MonitoringGuiManager()
constructor
Definition: MonitoringGuiManager.cpp:35
void pause()
pause simulation
Definition: MonitoringGuiManager.cpp:156
~MonitoringGuiManager() override
destructor
Definition: MonitoringGuiManager.cpp:47
void simulateOneStep()
do one step of simulation
Definition: MonitoringGuiManager.cpp:144
void rewind()
Rewind simulation.
Definition: MonitoringManager.cpp:445
bool saveMmlOutFile(QString fileName)
Save MMLout file.
Definition: MonitoringGuiManager.cpp:198
virtual bool init()=0
Initialize manager.
void setPmlFileName(const char *file)
change pml file name and save modification into mmlIn
Definition: MonitoringManager.cpp:411
double getRefresh()
Definition: MonitoringManager.cpp:232
void changed()
emitted when one step of simulation is done, there was changes, so maybe there are some display to up...
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
virtual void doMove()=0
Do one step of simulation and save monitors for this step.
void simulate()
do simulation lopp
Definition: MonitoringGuiManager.cpp:132
void updateDt(double dt)
update dt
Definition: MonitoringGuiManager.cpp:218
void writeCsv(const char *fileName)
Write all saved monitors'state into csv file.
Definition: MonitoringManager.cpp:168
void updateLml(QString fileName)
update lml
Definition: MonitoringGuiManager.cpp:233
MonitoringDriver * driver
the simulation driver
Definition: MonitoringGuiManager.h:111
void updateRefresh(double refresh)
update refresh
Definition: MonitoringGuiManager.cpp:223
MonitoringManager * getMonitoringManager()
get Monitoring Manager
Definition: MonitoringGuiManager.cpp:74
virtual bool checkStop()=0
Check if simulation is finished.
double getCurrentTime()
Definition: MonitoringManager.cpp:237
static MonitoringManager * createManager(const char *mml)
create an interactive or noninteractive manager according to simulator type
Definition: MonitoringManagerFactory.cpp:32
void refresh()
refresh the display
void reload(bool delPml=true)
reload simulation with current parameters
Definition: MonitoringManager.cpp:462
void init()
Definition: MonitoringDriver.cpp:46
bool saveCsvFile(QString fileName)
Save csv file.
Definition: MonitoringGuiManager.cpp:204
MonitoringDriver * getDriver()
get driver
Definition: MonitoringGuiManager.cpp:69
void rewind()
rewind simulation
Definition: MonitoringGuiManager.cpp:161