QDialog * QGLPreviewOperation::getUI |
( |
QWidget * |
parent = 0 ) | |
|
|
virtual |
Obtain QWidget with user interface for the operation.
The returned widget will be reparented. That means it will be automatically freed by Qt when closed. Trying to free the the returned QWidget memory manually in the FotoSHOCKOperation desctructor will most likely cause crashes.
- Parameters
-
parent | the parent for the dialog. If the parent is not set in this function the UI may not be shown correctly. The parent must be set in the dialog constructor, otherwise the dialog will not be shown when calling the show() function (Qt bug?). This is important especially for the preview. |
- Returns
- UI for the operation
Implements IFotoSHOCKOperation.
Apply the operation.
Apply the operation on the given input ImageBuffers and output it in a destination buffer.
The source buffers and destination buffer can be considered as having the same PixelFormat except for some internal GraphManager operations.
- Parameters
-
sources | source buffers |
dest | destination buffers |
ROI | list of regions where the operation should be recalculated. The specified ROI is not a hard limit, the region recalculated can be bigger than ROI. |
stamp | identifier which the operation should use to identify itself. That means you should set the tile stamp to this value in the implementation. The stamp can used to check whether the requested region of a buffer has been already processed by the operation to reduce the amount of processed data |
Implements FotoSHOCKcore::ImageOperation.
The documentation for this class was generated from the following files:
- /home/lukas/development/C++/FotoSHOCK/src/fotoshock/operations/QGLPreview/QGLPreviewOperation.h
- /home/lukas/development/C++/FotoSHOCK/src/fotoshock/operations/QGLPreview/QGLPreviewOperation.cpp