]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuManualPaint_Model.h
ed8279a29064ab9e37cff52037432b253c4d0575
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuManualPaint_Model.h
1 //===== 
2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
3 //===== 
4 #ifndef __bbcreaMaracasVisuManualPaint_Model_h_INCLUDED__
5 #define __bbcreaMaracasVisuManualPaint_Model_h_INCLUDED__
6 #include "bbcreaMaracasVisu_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include <ManualPaintModel.h>
11
12 namespace bbcreaMaracasVisu
13 {
14
15 class bbcreaMaracasVisu_EXPORT ManualPaint_Model
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(ManualPaint_Model,bbtk::AtomicBlackBox);
20 //===== 
21 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
22 //===== 
23   BBTK_DECLARE_INPUT(Active,bool);
24   BBTK_DECLARE_INPUT(Tool,int);
25   BBTK_DECLARE_INPUT(2D3D,int);
26   BBTK_DECLARE_INPUT(Image,vtkImageData*);
27   BBTK_DECLARE_INPUT(GrayLevel,double);
28   BBTK_DECLARE_INPUT(Direction,int);
29   BBTK_DECLARE_INPUT(BrushSize,int);
30   BBTK_DECLARE_INPUT(BrushForm,int);
31   BBTK_DECLARE_INPUT(ToleranceFill,double);
32   BBTK_DECLARE_INPUT(DistanceFill,int);
33   BBTK_DECLARE_INPUT(Point,std::vector<int>);
34   BBTK_DECLARE_INPUT(Range,std::vector<double>);
35
36
37 //  BBTK_DECLARE_OUTPUT(Out,double);
38   BBTK_PROCESS(Process);
39   void Process();
40
41
42   ManualPaintModel *manualpaintmodel;
43
44 //===== 
45 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
46 //===== 
47 };
48
49 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ManualPaint_Model,bbtk::AtomicBlackBox);
50   BBTK_NAME("ManualPaint_Model");
51   BBTK_AUTHOR("InfoDev");
52   BBTK_DESCRIPTION("No Description.");
53   BBTK_CATEGORY("empty");
54
55   BBTK_INPUT(ManualPaint_Model,Active,"true (default) , false",bool,"");
56   BBTK_INPUT(ManualPaint_Model,Tool,"0=Brush, 1=Paint(default)",int,"");
57   BBTK_INPUT(ManualPaint_Model,2D3D,"0=2D, 1=3D (default)",int,"");
58   BBTK_INPUT(ManualPaint_Model,Image,"Image input",vtkImageData*,"");
59   BBTK_INPUT(ManualPaint_Model,GrayLevel,"Fill gray level (100 default)",double,"");
60   BBTK_INPUT(ManualPaint_Model,Direction,"Used in the 2D mode.   0=YZ , 1=XY , 2=XY(default) ",int,"");
61   BBTK_INPUT(ManualPaint_Model,BrushSize,"default 3",int,"");
62   BBTK_INPUT(ManualPaint_Model,BrushForm,"1 default   A) 2D 0=rect,1=circle    B) 3D 0=cube,1=sphere",int,"");
63   BBTK_INPUT(ManualPaint_Model,ToleranceFill,"default 50",double,"");
64   BBTK_INPUT(ManualPaint_Model,DistanceFill,"25 (default)",int,"");
65   BBTK_INPUT(ManualPaint_Model,Point,"[0,0,0] (default)",std::vector<int>,"");
66   BBTK_INPUT(ManualPaint_Model,Range,"min-max range [0 200] default",std::vector<double>,"");
67
68
69 //  BBTK_OUTPUT(ManualPaint_Model,Out,"First output",double,"");
70
71 BBTK_END_DESCRIBE_BLACK_BOX(ManualPaint_Model);
72 //===== 
73 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
74 //===== 
75 }
76 // EO namespace bbcreaMaracasVisu
77
78 #endif // __bbcreaMaracasVisuManualPaint_Model_h_INCLUDED__
79