22 #ifndef __vtkImageFillROI_h 23 #define __vtkImageFillROI_h 28 #include <vtkImageAlgorithm.h> 30 #define SHAPE_POLYGON 1 32 #define SHAPE_POINTS 3 41 void PrintSelf(ostream& os, vtkIndent indent)
override;
43 vtkSetMacro(Value,
double);
44 vtkGetMacro(Value,
double);
68 if (strcmp(str,
"Polygon") == 0)
69 this->SetShapeToPolygon();
70 else if (strcmp(str,
"Lines") == 0)
71 this->SetShapeToLines();
73 this->SetShapeToPoints();
76 vtkSetMacro(Radius,
int);
77 vtkGetMacro(Radius,
int);
79 virtual void SetPoints(vtkPoints*);
80 vtkGetObjectMacro(Points, vtkPoints);
93 int RequestData(vtkInformation* request,
94 vtkInformationVector** inputVectors,
95 vtkInformationVector* outputVector)
override;
void SetShapeString(const char *str)
const char * GetShapeString()