27 #ifndef vtkInteractorStyleDrawPolygon_h 28 #define vtkInteractorStyleDrawPolygon_h 30 #include "vtkInteractionStyleModule.h" 58 vtkSetMacro(DrawPolygonPixels,
bool);
59 vtkGetMacro(DrawPolygonPixels,
bool);
60 vtkBooleanMacro(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.
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.