The TransformManager class manages transformation-plugins and provides them to the core application.
More...
#include <transformmanager.h>
|
| QWidget * | getSettingsWidget (QWidget *parent, uint idx) |
| | getSettingsWidget returns the settings-widget for the settings configuration
|
| |
| QStringList | getTransformList () |
| | getTransformList gets a list of names all availabe transformation-plugins
|
| |
| int | getTransformCount () |
| | getTransformCount gets the amount of available transformation-plugins
|
| |
| ITransformRequestDequeue * | getTransform (uint id) |
| | getTransform gets a desyncroniced version of the plugin
|
| |
| void | selectTransform (uint id) |
| | selectTransform signals that the selected plugin has changed
|
| |
| void | setTransformationEnabled (bool enabled) |
| | setTransformationEnabled signals that the user wants to activate the transformation preview on the gui this has to be activated extra because calculating the transformaiton is usually expensive
|
| |
| bool | isTransformEnabled () |
| | isTransformEnabled returns if the transformaiton is currently active
|
| |
|
void | exit () |
| | exit ends excecution of the thread that is excecuting the plugin and frees the plugins resources
|
| |
| void | enableCuda (bool enabled) |
| | enableCuda enables or disables the usage of CUDA for the transformation plugins
|
| |
| void | setSettings (QMap< QString, QVariant > settings, uint idx) |
| | setter for plugin's settings
|
| |
| QMap< QString, QVariant > | getSettings (uint idx) |
| | getter for plugin's settings
|
| |
The TransformManager class manages transformation-plugins and provides them to the core application.
- Author
- Dominik Wüst
- Date
- 2021/04/12
◆ enableCuda()
| void TransformManager::enableCuda |
( |
bool |
enabled | ) |
|
enableCuda enables or disables the usage of CUDA for the transformation plugins
- Parameters
-
| enabled | true if CUDA should be used, false if not |
◆ getSettings()
| QMap< QString, QVariant > TransformManager::getSettings |
( |
uint |
idx | ) |
|
getter for plugin's settings
- Parameters
-
- Returns
- QMap with the settings
◆ getSettingsWidget()
| QWidget * TransformManager::getSettingsWidget |
( |
QWidget * |
parent, |
|
|
uint |
idx |
|
) |
| |
getSettingsWidget returns the settings-widget for the settings configuration
- Parameters
-
| parent | parentwidget |
| idx | id of the plugin |
- Returns
- widget with elements to configure all necessary settings of this plugin
◆ getTransform()
getTransform gets a desyncroniced version of the plugin
- Parameters
-
- Returns
- plugin
◆ getTransformCount()
| int TransformManager::getTransformCount |
( |
| ) |
|
getTransformCount gets the amount of available transformation-plugins
- Returns
- numer of list elements
◆ getTransformList()
| QStringList TransformManager::getTransformList |
( |
| ) |
|
getTransformList gets a list of names all availabe transformation-plugins
- Returns
- stringlist with plugin names
◆ instance()
instance returns the singelton of this class
- Returns
- transformmanager instance
◆ isTransformEnabled()
| bool TransformManager::isTransformEnabled |
( |
| ) |
|
isTransformEnabled returns if the transformaiton is currently active
- Returns
- true if active, false if deactive
◆ selectTransform()
| void TransformManager::selectTransform |
( |
uint |
id | ) |
|
selectTransform signals that the selected plugin has changed
- Parameters
-
◆ setSettings()
| void TransformManager::setSettings |
( |
QMap< QString, QVariant > |
settings, |
|
|
uint |
idx |
|
) |
| |
setter for plugin's settings
- Parameters
-
| QMap | with the settings |
| id | id of the plugin |
◆ setTransformationEnabled()
| void TransformManager::setTransformationEnabled |
( |
bool |
enabled | ) |
|
setTransformationEnabled signals that the user wants to activate the transformation preview on the gui this has to be activated extra because calculating the transformaiton is usually expensive
- Parameters
-
| enabled | true if activating, false if deactivating |
The documentation for this interface was generated from the following files:
- iVS3D/src/iVS3D-core/plugin/transformmanager.h
- iVS3D/src/iVS3D-core/plugin/transformmanager.cpp