27 #ifndef vtkInteractorStyleDrawPolygon_h
28 #define vtkInteractorStyleDrawPolygon_h
30 #include "vtkInteractionStyleModule.h"
59 vtkGetMacro(DrawPolygonPixels,
bool);
66 std::vector<vtkVector2i> GetPolygonPoints();
72 virtual void DrawPolygon();
87 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.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
dynamic, self-adjusting array of unsigned char
provide event-driven interface to the rendering window (defines trackball mode)
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.