33 #ifndef LVRInteractorStylePolygonPick_h 
   34 #define LVRInteractorStylePolygonPick_h 
   36 #include "vtkInteractionStyleModule.h"  
   37 #include "vtkInteractorStyleTrackballCamera.h" 
   39 #include "vtkVector.h" 
   41 class vtkUnsignedCharArray;
 
   44   : 
public vtkInteractorStyleTrackballCamera
 
   49   void PrintSelf(ostream& os, vtkIndent indent) 
override;
 
   52   void SetPolygonTool();
 
   59   void OnMouseMove() 
override;
 
   60   void OnLeftButtonDown() 
override;
 
   61   void OnLeftButtonUp() 
override;
 
   62   void OnChar() 
override;
 
   63   void OnKeyDown() 
override;
 
   66   vtkSetMacro(DrawPolygonPixels, 
bool);
 
   67   vtkGetMacro(DrawPolygonPixels, 
bool);
 
   68   vtkBooleanMacro(DrawPolygonPixels, 
bool);
 
   70   std::vector<vtkVector2i> GetPolygonPoints();
 
   77   virtual void DrawPolygon();
 
   83   bool firstPoint = 
true;
 
   89   bool lassoToolSelected = 
true;