26 #ifndef __vtkInteractorStyleDrawPolygon_h
27 #define __vtkInteractorStyleDrawPolygon_h
29 #include "vtkInteractionStyleModule.h"
30 #include "vtkInteractorStyle.h"
35 class vtkUnsignedCharArray;
42 void PrintSelf(ostream& os, vtkIndent indent);
46 virtual void OnMouseMove();
47 virtual void OnLeftButtonDown();
48 virtual void OnLeftButtonUp();
53 vtkSetMacro(DrawPolygonPixels,
bool);
54 vtkGetMacro(DrawPolygonPixels,
bool);
55 vtkBooleanMacro(DrawPolygonPixels,
bool);
59 std::vector<vtkVector2i> GetPolygonPoints();
65 virtual void DrawPolygon();
80 vtkInternal* Internal;
draw polygon during mouse move
vtkUnsignedCharArray * PixelArray