]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkMaskPoint.h
Future random option in MasPoint box
[bbtk.git] / packages / vtk / src / bbvtkMaskPoint.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 __bbvtkMaskPoint_h_INCLUDED__
5 #define __bbvtkMaskPoint_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11 #include "vtkMaskPoints.h"
12 #include "vtkPolyData.h"
13
14
15 namespace bbvtk
16 {
17
18 class bbvtk_EXPORT MaskPoint
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(MaskPoint,bbtk::AtomicBlackBox);
23 //===== 
24 // 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)
25 //===== 
26   BBTK_DECLARE_INPUT(Active,bool);
27   BBTK_DECLARE_INPUT(In,vtkImageData*);
28   BBTK_DECLARE_INPUT(Ratio,int);
29   BBTK_DECLARE_INPUT(RandomType,int);
30   BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
31   BBTK_PROCESS(Process);
32   void Process();
33
34   private:
35    vtkMaskPoints *maskpoints;
36
37 //===== 
38 // 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)
39 //===== 
40 };
41
42 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MaskPoint,bbtk::AtomicBlackBox);
43   BBTK_NAME("MaskPoint");
44   BBTK_AUTHOR("ED at InfoDev Creatis");
45   BBTK_DESCRIPTION("vtkMaskPoint. See Vectors/Tensors Examples");
46   BBTK_CATEGORY("empty");
47
48   BBTK_INPUT(MaskPoint,Active,"(default true)  true/false",bool,"");
49   BBTK_INPUT(MaskPoint,In,"vtkImageData",vtkImageData*,"");
50   BBTK_INPUT(MaskPoint,Ratio,"(default 30) Ratio",int,"");
51   BBTK_INPUT(MaskPoint,RandomType,"(default -1)  -1:RandomOff  0:Random(0)  1:Random(1 not set)",int,"");
52
53   BBTK_OUTPUT(MaskPoint,Out,"vtkPolyData",vtkPolyData*,"");
54
55 BBTK_END_DESCRIBE_BLACK_BOX(MaskPoint);
56 //===== 
57 // 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)
58 //===== 
59 }
60 // EO namespace bbvtk
61
62 #endif // __bbvtkMaskPoint_h_INCLUDED__
63