iVS3D v2.0.0
Loading...
Searching...
No Matches
TransformManager Interface Reference

The TransformManager class manages transformation-plugins and provides them to the core application. More...

#include <transformmanager.h>

Inheritance diagram for TransformManager:

Classes

struct  TransformPlugin
 

Public Member Functions

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
 
ITransformRequestDequeuegetTransform (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
 

Static Public Member Functions

static TransformManagerinstance ()
 instance returns the singelton of this class
 

Detailed Description

The TransformManager class manages transformation-plugins and provides them to the core application.

Author
Dominik Wüst
Date
2021/04/12

Member Function Documentation

◆ enableCuda()

void TransformManager::enableCuda ( bool  enabled)

enableCuda enables or disables the usage of CUDA for the transformation plugins

Parameters
enabledtrue if CUDA should be used, false if not

◆ getSettings()

QMap< QString, QVariant > TransformManager::getSettings ( uint  idx)

getter for plugin's settings

Parameters
idid of the plugin
Returns
QMap with the settings

◆ getSettingsWidget()

QWidget * TransformManager::getSettingsWidget ( QWidget *  parent,
uint  idx 
)

getSettingsWidget returns the settings-widget for the settings configuration

Parameters
parentparentwidget
idxid of the plugin
Returns
widget with elements to configure all necessary settings of this plugin

◆ getTransform()

ITransformRequestDequeue * TransformManager::getTransform ( uint  id)

getTransform gets a desyncroniced version of the plugin

Parameters
idid of the plugin
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()

TransformManager & TransformManager::instance ( )
static

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
idid of the new plugin

◆ setSettings()

void TransformManager::setSettings ( QMap< QString, QVariant >  settings,
uint  idx 
)

setter for plugin's settings

Parameters
QMapwith the settings
idid 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
enabledtrue if activating, false if deactivating

The documentation for this interface was generated from the following files: