iVS3D v2.0.9
Loading...
Searching...
No Matches
SamplingWidget Class Reference

The SamplingWidget class is a graphical user interface to select and edit sampling algorithms and transforms. The algorithm settings can be modified using the QWidget provided by IAlgorithm::getSettingsWidget(). The transfrom settings can be modified using the QWidget provided by ITransform::getSettingsWidget(). The user can select algorithms provided by AlgorithmManager::instance and transforms provided by TransformManager::instance as well as define the image base. Image bases are: More...

#include <samplingwidget.h>

Inheritance diagram for SamplingWidget:

Signals

void sig_startSampling ()
 [signal] sig_startSampling(...) is emitted on start sampling button pressed.
 
void sig_enablePreviewChanged (bool enabled)
 [signal] sig_enablePreviewChanged(...) is emitted on enable preview checkbox state changed.
 
void sig_resChanged (QString resolution)
 [signal] sig_resChanged(...) is emitted if the resolution in the combo box is changed
 

Public Member Functions

 SamplingWidget (QWidget *parent=nullptr)
 Creates a SamplingWidget with the title displayed up top and the algorithmList to select algorithms from. Returned indices refer to this algorithmList.
 
void showPluginSettings (QWidget *settingsWidget)
 showAlgorithmSettings shows the given QWidget to the user.
 

Detailed Description

The SamplingWidget class is a graphical user interface to select and edit sampling algorithms and transforms. The algorithm settings can be modified using the QWidget provided by IAlgorithm::getSettingsWidget(). The transfrom settings can be modified using the QWidget provided by ITransform::getSettingsWidget(). The user can select algorithms provided by AlgorithmManager::instance and transforms provided by TransformManager::instance as well as define the image base. Image bases are:

  • all images
  • keyframes only
  • all images (use boundaries)
  • keyframes only (use boundaries)

The SamplingWidget provides signals on selected algorithm changed and start button pressed as well as selected transform changed.

Author
Dominik Wüst
Date
2021/03/03

Constructor & Destructor Documentation

◆ SamplingWidget()

SamplingWidget::SamplingWidget ( QWidget *  parent = nullptr)
explicit

Creates a SamplingWidget with the title displayed up top and the algorithmList to select algorithms from. Returned indices refer to this algorithmList.

Parameters
parentThe parent QWidget for this widget
titleText to display up top
algorithmListThe algorithms the user can select
transformListThe transforms the user can select
See also
IAlgorithm, ITransform

Member Function Documentation

◆ showPluginSettings()

void SamplingWidget::showPluginSettings ( QWidget *  settingsWidget)

showAlgorithmSettings shows the given QWidget to the user.

Parameters
algoSettingsthe QWidget to display

◆ sig_enablePreviewChanged

void SamplingWidget::sig_enablePreviewChanged ( bool  enabled)
signal

[signal] sig_enablePreviewChanged(...) is emitted on enable preview checkbox state changed.

Parameters
enabledIs true if enable preview is checked, false otherwise.

◆ sig_resChanged

void SamplingWidget::sig_resChanged ( QString  resolution)
signal

[signal] sig_resChanged(...) is emitted if the resolution in the combo box is changed

Parameters
resolutionThe selected resolution as a string

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