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 __bbcreaVtkMeshCutByAxis_h_INCLUDED__
5 #define __bbcreaVtkMeshCutByAxis_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
9 #include <vtkPolyData.h>
14 class bbcreaVtk_EXPORT MeshCutByAxis
16 public bbtk::AtomicBlackBox
18 BBTK_BLACK_BOX_INTERFACE(MeshCutByAxis,bbtk::AtomicBlackBox);
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)
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);
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)
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);
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)
49 // EO namespace bbcreaVtk
51 #endif // __bbcreaVtkMeshCutByAxis_h_INCLUDED__