1 #ifndef _MANUAL_PAINT_MODEL_H_
2 #define _MANUAL_PAINT_MODEL_H_
4 #include "BrushFilter.h"
5 #include "FillFilter.h"
6 #include "regionStructUR.h"
7 #include "imageUndoRedo.h"
9 class ManualPaintModel {
12 virtual ~ManualPaintModel();
14 void SetTool( int tool );
15 void Set2D3D( int dim2D3D );
16 void SetImage(vtkImageData *image);
17 void SetGrayLevel( double graylevel );
18 void SetDirection(int direction);
19 void SetBrushSize( int brushsize );
20 void SetBrushForm( int brushform );
21 void SetToleranceFill(double tolerancefill);
22 void SetDistanceFill(int distancefill);
23 void PaintImage(int px,int py, int pz);
24 void SetRangeMin( int min );
25 void SetRangeMax( int max );
26 void GetScalarRange( double * range );
27 //void SetUndoImage();//DFCH
33 BrushFilter *_brushfilter;
34 FillFilter *_fillfilter;
35 //ImageUndoRedo *_imageUndoRedo;
42 #endif // _MANUAL_PAINT_MODEL_H_