1 #ifndef _BRUSH_FILTER_H_
2 #define _BRUSH_FILTER_H_
4 #include <vtkImageData.h>
10 virtual ~BrushFilter();
12 void SetImage(vtkImageData *image);
13 void SetPoint(int px,int py, int pz);
14 void SetBrushSize( int brushsize );
15 void SetBrushForm( int brushform );
16 void SetBrushTool( int brushtool );
17 void Set2D3D( int dim2D3D );
18 void SetGrayLevel( double graylevel );
19 void SetDirection(int direction);
20 void FindMinMaxBrush(int &minxX,int &maxX,int &minY,int &maxY,int &minZ,int &maxZ,int &size);
21 void ResetGeneralMinMax();
22 void SetGeneralMinMax(int minX,int maxX,int minY,int maxY,int minZ,int maxZ);
29 int _px; // start point of the brush
32 int _pMinX; // General min max of many brush actions
38 int _minX; // min max of the image
52 // double _tolerancefill;
54 // double _graylevelbasefill;
59 // double _distbasefill;
60 // double _tmpDistfill;
61 // double _tmpiglfill;
62 // long int _countRecursiveFill;
63 // long int _countRecursiveFillProblem;
64 // vtkImageData *_auxImageFill;
65 // bool _usingAuxImageFill;
66 // bool _auxGrayLevelValidationFill;
67 // long int _countProgressingFill;
68 // long int _limitRecursionFill;
69 // void SetAuxImageFill(int px,int py, int pz);
76 #endif // _BRUSH_FILTER_H_