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)
4 #ifndef __bbcreaMaracasVisuManualPaint_Model_h_INCLUDED__
5 #define __bbcreaMaracasVisuManualPaint_Model_h_INCLUDED__
6 #include "bbcreaMaracasVisu_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include <ManualPaintModel.h>
12 namespace bbcreaMaracasVisu
15 class bbcreaMaracasVisu_EXPORT ManualPaint_Model
17 public bbtk::AtomicBlackBox
19 BBTK_BLACK_BOX_INTERFACE(ManualPaint_Model,bbtk::AtomicBlackBox);
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)
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(Image2,vtkImageData*);
28 BBTK_DECLARE_INPUT(GrayLevel,double);
29 BBTK_DECLARE_INPUT(Direction,int);
30 BBTK_DECLARE_INPUT(BrushSize,int);
31 BBTK_DECLARE_INPUT(BrushForm,int);
32 BBTK_DECLARE_INPUT(ToleranceFill,double);
33 BBTK_DECLARE_INPUT(DistanceFill,int);
34 BBTK_DECLARE_INPUT(Point,std::vector<int>);
35 BBTK_DECLARE_INPUT(Range,std::vector<double>);
38 // BBTK_DECLARE_OUTPUT(Out,double);
39 BBTK_PROCESS(Process);
43 ManualPaintModel *manualpaintmodel;
46 // 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)
50 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ManualPaint_Model,bbtk::AtomicBlackBox);
51 BBTK_NAME("ManualPaint_Model");
52 BBTK_AUTHOR("InfoDev");
53 BBTK_DESCRIPTION("No Description.");
54 BBTK_CATEGORY("empty");
56 BBTK_INPUT(ManualPaint_Model,Active,"true (default) , false",bool,"");
57 BBTK_INPUT(ManualPaint_Model,Tool,"0=Brush, 1=Paint(default)",int,"");
58 BBTK_INPUT(ManualPaint_Model,2D3D,"0=2D, 1=3D (default)",int,"");
59 BBTK_INPUT(ManualPaint_Model,Image,"Image input / image result",vtkImageData*,"");
60 BBTK_INPUT(ManualPaint_Model,Image2,"Image result",vtkImageData*,"");
61 BBTK_INPUT(ManualPaint_Model,GrayLevel,"Fill gray level (100 default)",double,"");
62 BBTK_INPUT(ManualPaint_Model,Direction,"Used in the 2D mode. 0=YZ , 1=XY , 2=XY(default) ",int,"");
63 BBTK_INPUT(ManualPaint_Model,BrushSize,"default 3",int,"");
64 BBTK_INPUT(ManualPaint_Model,BrushForm,"1 default A) 2D 0=rect,1=circle B) 3D 0=cube,1=sphere",int,"");
65 BBTK_INPUT(ManualPaint_Model,ToleranceFill,"default 50",double,"");
66 BBTK_INPUT(ManualPaint_Model,DistanceFill,"25 (default)",int,"");
67 BBTK_INPUT(ManualPaint_Model,Point,"[0,0,0] (default)",std::vector<int>,"");
68 BBTK_INPUT(ManualPaint_Model,Range,"min-max range [0 200] default",std::vector<double>,"");
71 // BBTK_OUTPUT(ManualPaint_Model,Out,"First output",double,"");
73 BBTK_END_DESCRIBE_BLACK_BOX(ManualPaint_Model);
75 // 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)
78 // EO namespace bbcreaMaracasVisu
80 #endif // __bbcreaMaracasVisuManualPaint_Model_h_INCLUDED__