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);
76 vtkInternal* Internal;
a simple class to control print indentation
draw polygon during mouse move
void OnLeftButtonUp() override
Event bindings.
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
Event bindings.
provide event-driven interface to the rendering window (defines trackball mode)
dynamic, self-adjusting array of unsigned char