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 __bbcreaVtkVoxelGrid_h_INCLUDED__
5 #define __bbcreaVtkVoxelGrid_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
12 #include "vtkDataObject.h"
13 #include "vtkPolyData.h"
19 class bbcreaVtk_EXPORT VoxelGrid
21 public bbtk::AtomicBlackBox
23 BBTK_BLACK_BOX_INTERFACE(VoxelGrid,bbtk::AtomicBlackBox);
25 // 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)
27 BBTK_DECLARE_INPUT(Image,vtkDataObject*);
28 BBTK_DECLARE_INPUT(DivisionsX,int);
29 BBTK_DECLARE_INPUT(DivisionsY,int);
30 BBTK_DECLARE_INPUT(DivisionsZ,int);
31 BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
32 BBTK_PROCESS(Process);
35 // 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 BBTK_BEGIN_DESCRIBE_BLACK_BOX(VoxelGrid,bbtk::AtomicBlackBox);
40 BBTK_NAME("VoxelGrid");
41 BBTK_AUTHOR("InfoDev");
42 BBTK_DESCRIPTION("No Description.");
43 BBTK_CATEGORY("empty");
45 BBTK_INPUT(VoxelGrid,Image,"Input image",vtkDataObject*,"");
46 BBTK_INPUT(VoxelGrid,DivisionsX,"X divisions",int,"");
47 BBTK_INPUT(VoxelGrid,DivisionsY,"Y divisions",int,"");
48 BBTK_INPUT(VoxelGrid,DivisionsZ,"Z divisions",int,"");
50 BBTK_OUTPUT(VoxelGrid,Out,"Output vtkPolydata",vtkPolyData*,"");
51 BBTK_END_DESCRIBE_BLACK_BOX(VoxelGrid);
53 // 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 // EO namespace bbcreaVtk
58 #endif // __bbcreaVtkVoxelGrid_h_INCLUDED__