]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkMeshCutByAxis.h
3195 creaVtk Feature New Normal - new Boxes ImageCutByAxis LightKit MeshCutByAxis
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkMeshCutByAxis.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 __bbcreaVtkMeshCutByAxis_h_INCLUDED__
5 #define __bbcreaVtkMeshCutByAxis_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9 #include <vtkPolyData.h>
10
11 namespace bbcreaVtk
12 {
13
14 class bbcreaVtk_EXPORT MeshCutByAxis
15  : 
16    public bbtk::AtomicBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(MeshCutByAxis,bbtk::AtomicBlackBox);
19 //===== 
20 // 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)
21 //===== 
22   BBTK_DECLARE_INPUT(In,vtkPolyData*);
23   BBTK_DECLARE_INPUT(Type,std::string);
24   BBTK_DECLARE_INPUT(InsideVol,bool);
25   BBTK_DECLARE_INPUT(Point,std::vector<int>);
26   BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
27   BBTK_PROCESS(Process);
28   void Process();
29 //===== 
30 // 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)
31 //===== 
32 };
33
34 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MeshCutByAxis,bbtk::AtomicBlackBox);
35   BBTK_NAME("MeshCutByAxis");
36   BBTK_AUTHOR("InfoDev");
37   BBTK_DESCRIPTION("MeshCutByAxis");
38   BBTK_CATEGORY("empty");
39   BBTK_INPUT(MeshCutByAxis,In,"Mesh to be cut",vtkPolyData*,"");
40   BBTK_INPUT(MeshCutByAxis,Type,"x y z  x+y+  x-y+ x+y- x-y-  y+z+  y+z- y-z+ y-z-  x+z+  x+z- x-z+ x-z-   x+y+z+ x-y+z+ x+y-z+ x+y+z- x-y-z+ x-y+z- x+y-z- x-y-z-",std::string,"");
41   BBTK_INPUT(MeshCutByAxis,InsideVol,"Inside volume",bool,"");
42   BBTK_INPUT(MeshCutByAxis,Point,"First input",std::vector<int>,"");
43   BBTK_OUTPUT(MeshCutByAxis,Out,"First output",vtkPolyData*,"");
44 BBTK_END_DESCRIBE_BLACK_BOX(MeshCutByAxis);
45 //===== 
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)
47 //===== 
48 }
49 // EO namespace bbcreaVtk
50
51 #endif // __bbcreaVtkMeshCutByAxis_h_INCLUDED__
52