15 #ifndef vtkInteractorStyleDrawPolygon_h
16 #define vtkInteractorStyleDrawPolygon_h
18 #include "vtkInteractionStyleModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
47 vtkSetMacro(DrawPolygonPixels,
bool);
48 vtkGetMacro(DrawPolygonPixels,
bool);
49 vtkBooleanMacro(DrawPolygonPixels,
bool);
55 std::vector<vtkVector2i> GetPolygonPoints();
61 virtual void DrawPolygon();
76 vtkInternal* Internal;
virtual void OnLeftButtonDown()
draw polygon during mouse move
virtual void OnLeftButtonUp()
vtkUnsignedCharArray * PixelArray
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of unsigned char
provide event-driven interface to the rendering window (defines trackball mode)
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.