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);
87 vtkInternal* Internal;
std::vector< vtkVector2i > GetPolygonPoints()
Get the current polygon points in display units.
void OnMouseMove() override
Event bindings.
~vtkInteractorStyleDrawPolygon() override
void OnLeftButtonUp() override
virtual void DrawPolygon()
dynamic, self-adjusting array of unsigned char
vtkUnsignedCharArray * PixelArray
draw polygon during mouse move
a simple class to control print indentation
void OnLeftButtonDown() override
provide event-driven interface to the rendering window (defines trackball mode)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInteractorStyleDrawPolygon()
static vtkInteractorStyleDrawPolygon * New()