26 #ifndef vtkInteractorStyleDrawPolygon_h 27 #define vtkInteractorStyleDrawPolygon_h 59 std::vector<vtkVector2i> GetPolygonPoints();
65 virtual void DrawPolygon();
80 vtkInternal* Internal;
virtual void OnLeftButtonDown()
draw polygon during mouse move
virtual void OnLeftButtonUp()
vtkUnsignedCharArray * PixelArray
static vtkInteractorStyle * New()
#define VTKINTERACTIONSTYLE_EXPORT
#define vtkGetMacro(name, type)
#define vtkTypeMacro(thisClass, superclass)
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
dynamic, self-adjusting array of unsigned char
provide event-driven interface to the rendering window (defines trackball mode)
#define vtkBooleanMacro(name, type)
virtual void OnMouseMove()
#define vtkSetMacro(name, type)