Go to the documentation of this file.
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;
dynamic, self-adjusting array of unsigned char
vtkUnsignedCharArray * PixelArray
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.
draw polygon during mouse move
virtual void OnLeftButtonDown()
a simple class to control print indentation
provide event-driven interface to the rendering window (defines trackball mode)
virtual void OnLeftButtonUp()
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.