pqPresetToPixmap is a helper class to generate QPixmap from a color/opacity preset.
More...
#include <pqPresetToPixmap.h>
Inherits QObject.
pqPresetToPixmap is a helper class to generate QPixmap from a color/opacity preset.
Use pqPresetToPixmap::render() to generate a QPixmap for a transfer function.
Definition at line 54 of file pqPresetToPixmap.h.
◆ pqPresetToPixmap()
pqPresetToPixmap::pqPresetToPixmap |
( |
QObject * |
parent = 0 | ) |
|
◆ ~pqPresetToPixmap()
virtual pqPresetToPixmap::~pqPresetToPixmap |
( |
| ) |
|
|
virtual |
◆ render()
QPixmap pqPresetToPixmap::render |
( |
const Json::Value & |
preset, |
|
|
const QSize & |
resolution |
|
) |
| const |
Render a preset to a pixmap for the given resolution.
◆ renderColorTransferFunction()
QPixmap pqPresetToPixmap::renderColorTransferFunction |
( |
vtkScalarsToColors * |
stc, |
|
|
vtkPiecewiseFunction * |
pf, |
|
|
const QSize & |
resolution |
|
) |
| const |
|
protected |
Renders a color transfer function preset.
◆ renderIndexedColorTransferFunction()
QPixmap pqPresetToPixmap::renderIndexedColorTransferFunction |
( |
vtkScalarsToColors * |
stc, |
|
|
const QSize & |
resolution |
|
) |
| const |
|
protected |
Renders a color transfer function preset.
The documentation for this class was generated from the following file: