//===== // 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) //===== #ifndef __bbcreaVtkVoxelGrid_h_INCLUDED__ #define __bbcreaVtkVoxelGrid_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkDataObject.h" #include "vtkPolyData.h" namespace bbcreaVtk { class bbcreaVtk_EXPORT VoxelGrid : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(VoxelGrid,bbtk::AtomicBlackBox); //===== // 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) //===== BBTK_DECLARE_INPUT(Image,vtkDataObject*); BBTK_DECLARE_INPUT(DivisionsX,int); BBTK_DECLARE_INPUT(DivisionsY,int); BBTK_DECLARE_INPUT(DivisionsZ,int); BBTK_DECLARE_OUTPUT(Out,vtkPolyData*); BBTK_PROCESS(Process); void Process(); //===== // 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) //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(VoxelGrid,bbtk::AtomicBlackBox); BBTK_NAME("VoxelGrid"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(VoxelGrid,Image,"Input image",vtkDataObject*,""); BBTK_INPUT(VoxelGrid,DivisionsX,"X divisions",int,""); BBTK_INPUT(VoxelGrid,DivisionsY,"Y divisions",int,""); BBTK_INPUT(VoxelGrid,DivisionsZ,"Z divisions",int,""); BBTK_OUTPUT(VoxelGrid,Out,"Output vtkPolydata",vtkPolyData*,""); BBTK_END_DESCRIBE_BLACK_BOX(VoxelGrid); //===== // 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) //===== } // EO namespace bbcreaVtk #endif // __bbcreaVtkVoxelGrid_h_INCLUDED__