24 #ifndef vtkInteractorStyleDrawPolygon_h
25 #define vtkInteractorStyleDrawPolygon_h
27 #include "vtkInteractionStyleModule.h"
55 vtkSetMacro(DrawPolygonPixels,
bool);
56 vtkGetMacro(DrawPolygonPixels,
bool);
57 vtkBooleanMacro(DrawPolygonPixels,
bool);
84 vtkInternal* Internal;
a simple class to control print indentation
draw polygon during mouse move
void OnLeftButtonUp() override
void OnMouseMove() override
Event bindings.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkInteractorStyleDrawPolygon * New()
vtkInteractorStyleDrawPolygon()
std::vector< vtkVector2i > GetPolygonPoints()
Get the current polygon points in display units.
virtual void DrawPolygon()
~vtkInteractorStyleDrawPolygon() override
vtkUnsignedCharArray * PixelArray
void OnLeftButtonDown() override
provide event-driven interface to the rendering window (defines trackball mode)
dynamic, self-adjusting array of unsigned char