The Controller class is the main controller and the starting point of iVS3D. Its responsible for initializing the other controllers, the DataManager, the MainWindow, AlgorithmManager and TransformManager. This includes creating the instances and connecting their signal & slots. The Controller also handels user input on the menu bar.
More...
#include <controller.h>
|
|
void | slot_openInputFolder () |
| | slot_openInputFolder Slot is called when a folder should be loaded. It will show a file dialog and use the DataManager to import the selected folder.
|
| |
|
void | slot_openInputVideo () |
| | slot_openInputVideo Slot is called when a video should be loaded. It will show a file dialog and use the OpenExecutor to import the selected video.
|
| |
|
void | slot_openDragAndDrop (QString filePath) |
| | slot_openVideoDragAndDrop Slot is called when a file is drop on the VideoPlayer. It will try to import the drop file with the OpenExecutor.
|
| |
|
void | slot_openProject () |
| | slot_openProject Slot is called when a project should be loaded It will show a file dialog and use the OpenExecutor to import the selected project.
|
| |
|
void | slot_saveProjectAs () |
| | slot_saveProjectAs Slot is called when a project should be saved to a new location It will show a file dialog and use the DataManager to save the current project.
|
| |
|
void | slot_saveProject () |
| | slot_saveProject Slot is called when a project should be saved If the project is saved for the firs time slot_saveProjectAs is called Otherwise it will use the DataManager to save the current project.
|
| |
|
void | slot_addReconstructPath () |
| | slot_addReconstructPath Slot is called when 'Manage reconstrution tools' is clicked. It will execute a ReconstructionToolsDialog.
|
| |
|
void | slot_changeDefaultInputPath () |
| | slot_changeDefaultInputPath Slot is called when 'Set input Path' is clicked. It will show a file dialog and save the selected folder in ApplicationSettings.
|
| |
|
void | slot_toggleColorTheme () |
| | slot_toggleColorTheme Slot is called when color theme is changed by the user. Toggles between different themes.
|
| |
| void | slot_changeColorTheme (ColorTheme theme) |
| | slot_changeColorTheme Slot is called when a specific color theme is selected.
|
| |
| void | slot_changeUseCuda (bool useCuda) |
| | slot_changeUseCuda Slot is called when 'CUDA' is clicked.
|
| |
| void | slot_changeCreateLogFile (bool createLog) |
| | slot_changeUseCuda Slot is called when 'create log file' is clicked.
|
| |
| void | slot_changeInterpolateMetaData (bool interpolate) |
| | slot_changeInterpolateMetaData Slot is called when 'Interpolate missing meta data' is clicked.
|
| |
|
void | slot_openMetaData () |
| | slot_openMetaData Slot is called when Meta Data should be loaded
|
| |
|
|
void | onSuccessfulOpen () |
| | onSuccessfulOpen is called if a new import was successfully opend
|
| |
The Controller class is the main controller and the starting point of iVS3D. Its responsible for initializing the other controllers, the DataManager, the MainWindow, AlgorithmManager and TransformManager. This includes creating the instances and connecting their signal & slots. The Controller also handels user input on the menu bar.
If a new Import was successfully loaded Controller will delete all existing controllers and creat new instances of them.
- Author
- Daniel Brommer
- Date
- 2021/03/5
◆ sig_colorThemeChanged
| void Controller::sig_colorThemeChanged |
( |
ColorTheme |
theme | ) |
|
|
signal |
◆ sig_hasStatusMessage
| void Controller::sig_hasStatusMessage |
( |
QString |
message | ) |
|
|
signal |
[signal] sig_hasStatusMessage() is emitted when the status message is updated.
- Parameters
-
| message | QString with the new status |
◆ slot_changeColorTheme
| void Controller::slot_changeColorTheme |
( |
ColorTheme |
theme | ) |
|
|
slot |
slot_changeColorTheme Slot is called when a specific color theme is selected.
- Parameters
-
| theme | The selected color theme |
◆ slot_changeCreateLogFile
| void Controller::slot_changeCreateLogFile |
( |
bool |
createLog | ) |
|
|
slot |
slot_changeUseCuda Slot is called when 'create log file' is clicked.
- Parameters
-
| createLog | true if create log file is marked |
◆ slot_changeInterpolateMetaData
| void Controller::slot_changeInterpolateMetaData |
( |
bool |
interpolate | ) |
|
|
slot |
slot_changeInterpolateMetaData Slot is called when 'Interpolate missing meta data' is clicked.
- Parameters
-
| interpolate | true if missings meta data is interpolated |
◆ slot_changeUseCuda
| void Controller::slot_changeUseCuda |
( |
bool |
useCuda | ) |
|
|
slot |
slot_changeUseCuda Slot is called when 'CUDA' is clicked.
- Parameters
-
| useCuda | true if CUDA is marked |
The documentation for this class was generated from the following files:
- iVS3D/src/iVS3D-core/controller/controller.h
- iVS3D/src/iVS3D-core/controller/controller.cpp