1 #ifndef _MANUAL_PAINT_MODEL_H_
2 #define _MANUAL_PAINT_MODEL_H_
4 #include <vtkImageData.h>
7 class ManualPaintModel {
10 virtual ~ManualPaintModel();
12 void SetImage(vtkImageData *image);
13 void PaintImage(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 );
20 void FillTool(int px,int py, int pz);
21 void FillToolRecursive(int px,int py, int pz);
23 void BrushTool(int px,int py, int pz);
24 void SetToleranceFill(double tolerancefill);
25 void SetDistanceFill(int distancefill);
26 void SetDirection(int direction);
41 double _tolerancefill;
43 double _graylevelbasefill;
52 long int _countRecursiveFill;
53 long int _countRecursiveFillProblem;
54 vtkImageData *_auxImageFill;
55 bool _usingAuxImageFill;
56 bool _auxGrayLevelValidationFill;
57 long int _countProgressingFill;
58 long int _limitRecursionFill;
61 void SetAuxImageFill(int px,int py, int pz);
68 #endif // _MANUAL_PAINT_MODEL_H_