]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkMaskPoint.h
#3273 BBTK Bug New Normal - Bug MaskPoint 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_OUTPUT(Out,vtkPolyData*);
30   BBTK_PROCESS(Process);
31   void Process();
32
33   private:
34    vtkMaskPoints *maskpoints;
35
36 //===== 
37 // 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)
38 //===== 
39 };
40
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MaskPoint,bbtk::AtomicBlackBox);
42   BBTK_NAME("MaskPoint");
43   BBTK_AUTHOR("ED at InfoDev Creatis");
44   BBTK_DESCRIPTION("vtkMaskPoint. See Vectors/Tensors Examples");
45   BBTK_CATEGORY("empty");
46
47   BBTK_INPUT(MaskPoint,Active,"(default true)  true/false",bool,"");
48   BBTK_INPUT(MaskPoint,In,"vtkImageData",vtkImageData*,"");
49   BBTK_INPUT(MaskPoint,Ratio,"Ratio",int,"");
50
51   BBTK_OUTPUT(MaskPoint,Out,"vtkPolyData",vtkPolyData*,"");
52
53 BBTK_END_DESCRIBE_BLACK_BOX(MaskPoint);
54 //===== 
55 // 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)
56 //===== 
57 }
58 // EO namespace bbvtk
59
60 #endif // __bbvtkMaskPoint_h_INCLUDED__
61