21 #ifndef __vtkDiscretizableColorTransferControlPointsItem_h 22 #define __vtkDiscretizableColorTransferControlPointsItem_h 24 #include "ctkVisualizationVTKCoreExport.h" 25 #include <vtkCompositeControlPointsItem.h> 27 class vtkContextMouseEvent;
34 :
public vtkCompositeControlPointsItem
38 vtkCompositeControlPointsItem)
41 bool MouseMoveEvent(
const vtkContextMouseEvent &mouse) VTK_OVERRIDE;
42 bool MouseButtonReleaseEvent(
const vtkContextMouseEvent &mouse) VTK_OVERRIDE;
43 bool MouseButtonPressEvent(
const vtkContextMouseEvent& mouse) VTK_OVERRIDE;
46 void StartProcessing();
55 bool PointNearPiecewiseFunction(
const double pos[2]);