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 __bbvtkMetaImageWriter_h_INCLUDED__
5 #define __bbvtkMetaImageWriter_h_INCLUDED__
7 #include "bbvtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include <vtkImageData.h>
17 class bbvtk_EXPORT MetaImageWriter
19 public bbtk::AtomicBlackBox
21 BBTK_BLACK_BOX_INTERFACE(MetaImageWriter,bbtk::AtomicBlackBox);
23 // 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 BBTK_DECLARE_INPUT(In,vtkImageData*);
26 BBTK_DECLARE_INPUT(Filename,std::string);
27 BBTK_DECLARE_INPUT(Compression,bool);
28 BBTK_DECLARE_INPUT(SizeBlock,int);
29 // BBTK_DECLARE_OUTPUT(Out,double);
30 BBTK_PROCESS(Process);
33 void Save_mhdb( std::string filename , vtkImageData* img , int sizeB);
36 // 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)
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MetaImageWriter,bbtk::AtomicBlackBox);
41 BBTK_NAME("MetaImageWriter");
42 BBTK_AUTHOR("InfoDev");
43 BBTK_DESCRIPTION("No Description.");
44 BBTK_CATEGORY("empty");
46 BBTK_INPUT(MetaImageWriter,In,"Input image",vtkImageData*,"");
47 BBTK_INPUT(MetaImageWriter,Filename,"Name of the file to write",std::string,"file name");
48 BBTK_INPUT(MetaImageWriter,Compression,"default(false) true/false",bool,"");
49 BBTK_INPUT(MetaImageWriter,SizeBlock,"(default 50) Size block (for .mhdb format)",int,"");
51 //BBTK_OUTPUT(MetaImageWriter,Out,"First output",double,"");
53 BBTK_END_DESCRIBE_BLACK_BOX(MetaImageWriter);
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)
60 #endif // __bbvtkMetaImageWriter_h_INCLUDED__