![]() |
iVS3D v2.0.0
|
The DataManager class is a Facade for the data holding classes in the model. It delegates most of it's tasks to model classes. More...
#include <DataManager.h>
Public Member Functions | |
| DataManager () | |
| DataManager Constructor it will create a new ProjektManager. | |
| int | open (QString path) |
| open Creates a new ModelInputPictures with the given path | |
| int | openProject (QString path) |
| openProject Opens the project by creating an empty ModelInputPictures and ModelAlgorithm and calling the ProjectManager | |
| void | saveProject () |
| saveProject Saves the current project with the ProjectManager | |
| void | saveProjectAs (QString projectName, QString projectPath) |
| saveProject Saves a new project with the ProjectManager | |
| void | createProject (QString projectName, QString projectPath) |
| createProject Creates a new project with the ProjectManager | |
| bool | isProjectLoaded () |
| isProjectLoaded Returns if a project is loaded | |
| QString | getProjectName () |
| getProjectName Returns the current project name from the ProjectManager | |
| QString | getProjectPath () |
| getProjectPath Returns the current project path from the ProjectManager | |
| ModelAlgorithm * | getModelAlgorithm () |
| getModelAlgorithm Returns the current ModelAlgorithm | |
| ModelInputPictures * | getModelInputPictures () |
| getModelInputPictures Returns the current ModelInputPictures | |
The DataManager class is a Facade for the data holding classes in the model. It delegates most of it's tasks to model classes.
| void DataManager::createProject | ( | QString | projectName, |
| QString | projectPath | ||
| ) |
createProject Creates a new project with the ProjectManager
| projectName | Name of the project |
| projectPath | Path of the project |
| ModelAlgorithm * DataManager::getModelAlgorithm | ( | ) |
getModelAlgorithm Returns the current ModelAlgorithm
| ModelInputPictures * DataManager::getModelInputPictures | ( | ) |
getModelInputPictures Returns the current ModelInputPictures
| QString DataManager::getProjectName | ( | ) |
getProjectName Returns the current project name from the ProjectManager
| QString DataManager::getProjectPath | ( | ) |
getProjectPath Returns the current project path from the ProjectManager
| bool DataManager::isProjectLoaded | ( | ) |
isProjectLoaded Returns if a project is loaded
| int DataManager::open | ( | QString | path | ) |
open Creates a new ModelInputPictures with the given path
| path | Import path |
| int DataManager::openProject | ( | QString | path | ) |
openProject Opens the project by creating an empty ModelInputPictures and ModelAlgorithm and calling the ProjectManager
| path | Path of the project |
| void DataManager::saveProjectAs | ( | QString | projectName, |
| QString | projectPath | ||
| ) |
saveProject Saves a new project with the ProjectManager
| projectName | Name of the project |
| projectPath | Path of the project |