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