32 #ifndef pqTransferFunctionWidget_h 33 #define pqTransferFunctionWidget_h 35 #include "pqComponentsModule.h" 39 class vtkScalarsToColors;
40 class vtkPiecewiseFunction;
49 typedef QWidget Superclass;
58 void initialize(vtkScalarsToColors* stc,
bool stc_editable,
59 vtkPiecewiseFunction* pwf,
bool pwf_editable);
62 vtkIdType currentPoint()
const;
65 vtkIdType numberOfControlPoints()
const;
69 void setCurrentPoint(vtkIdType index);
74 void setCurrentPointPosition(
double xpos);
82 void currentPointChanged(vtkIdType index);
86 void controlPointsModified();
91 void onCurrentChangedEvent();
93 void renderInternal();
98 void onCurrentPointEditEvent();
104 pqInternals* Internals;