7 #ifndef __FWRENDERVTK_VTK_FWVTKWHEELWIDGET_HPP__ 8 #define __FWRENDERVTK_VTK_FWVTKWHEELWIDGET_HPP__ 10 #include "fwRenderVTK/config.hpp" 11 #include "fwRenderVTK/vtk/fwVtkWheelRepresentation.hpp" 13 #include <vtkAbstractWidget.h> 33 FWRENDERVTK_API
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
42 FWRENDERVTK_API
void CreateDefaultRepresentation() VTK_OVERRIDE;
44 FWRENDERVTK_API
void SetWheelUpdateCallback(std::function<
void (
double,
double,
double)> f);
57 static void SelectAction(vtkAbstractWidget*);
60 static void MoveAction(vtkAbstractWidget*);
63 static void EndSelectAction(vtkAbstractWidget*);
83 double m_initOrientation;
86 std::function< void (double, double, double) > m_wheelUpdateCallback;
89 #endif // __FWRENDERVTK_VTK_FWVTKWHEELWIDGET_HPP__
Representation of a wheel widget.