pqTransferFunction2DWidget provides a widget that can edit control boxes in a 2D histogram to represent a 2D transfer function.
More...
#include <pqTransferFunction2DWidget.h>
Inherits QWidget.
pqTransferFunction2DWidget provides a widget that can edit control boxes in a 2D histogram to represent a 2D transfer function.
It is used by the pqColorOpacityEditorWidget, for example, to show 2D transfer function editor for color and opacity for a PVLookupTable proxy.
Definition at line 23 of file pqTransferFunction2DWidget.h.
◆ pqTransferFunction2DWidget()
pqTransferFunction2DWidget::pqTransferFunction2DWidget |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~pqTransferFunction2DWidget()
pqTransferFunction2DWidget::~pqTransferFunction2DWidget |
( |
| ) |
|
|
override |
◆ histogram()
vtkImageData* pqTransferFunction2DWidget::histogram |
( |
| ) |
const |
◆ setHistogram()
virtual void pqTransferFunction2DWidget::setHistogram |
( |
vtkImageData * |
| ) |
|
|
virtual |
◆ initialize()
◆ isInitialized()
bool pqTransferFunction2DWidget::isInitialized |
( |
| ) |
|
◆ chart()
vtkChart* pqTransferFunction2DWidget::chart |
( |
| ) |
const |
Get access to the internal chart.
◆ transferFunction()
Get access to the 2D transfer function passed to initialize.
◆ render
void pqTransferFunction2DWidget::render |
( |
| ) |
|
|
slot |
re-renders the transfer function view.
This doesn't render immediately, schedules a render.
◆ transferFunctionModified
void pqTransferFunction2DWidget::transferFunctionModified |
( |
| ) |
|
|
signal |
Signal fired to indicate that the transfer function was modified either by adding/deleting/editing 2D boxes.
◆ showUsageStatus
void pqTransferFunction2DWidget::showUsageStatus |
( |
| ) |
|
|
protectedslot |
Show usage info in the application status bar.
The documentation for this class was generated from the following file: