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 "vtkVersion.h"
12 #include <vtkImageData.h>
18 class bbvtk_EXPORT MetaImageWriter
20 public bbtk::AtomicBlackBox
22 BBTK_BLACK_BOX_INTERFACE(MetaImageWriter,bbtk::AtomicBlackBox);
24 // 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)
26 BBTK_DECLARE_INPUT(In,vtkImageData*);
27 BBTK_DECLARE_INPUT(Filename,std::string);
28 BBTK_DECLARE_INPUT(Compression,bool);
29 BBTK_DECLARE_INPUT(SizeBlock,int);
30 // BBTK_DECLARE_OUTPUT(Out,double);
31 BBTK_PROCESS(Process);
34 void Save_mhdb( std::string filename , vtkImageData* img , int sizeB);
37 // 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)
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MetaImageWriter,bbtk::AtomicBlackBox);
42 BBTK_NAME("MetaImageWriter");
43 BBTK_AUTHOR("InfoDev");
44 BBTK_DESCRIPTION("No Description.");
45 BBTK_CATEGORY("empty");
47 BBTK_INPUT(MetaImageWriter,In,"Input image",vtkImageData*,"");
48 BBTK_INPUT(MetaImageWriter,Filename,"Name of the file to write",std::string,"file name");
49 BBTK_INPUT(MetaImageWriter,Compression,"default(false) true/false",bool,"");
50 BBTK_INPUT(MetaImageWriter,SizeBlock,"(default 50) Size block (for .mhdb format)",int,"");
52 //BBTK_OUTPUT(MetaImageWriter,Out,"First output",double,"");
54 BBTK_END_DESCRIBE_BLACK_BOX(MetaImageWriter);
56 // 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)
61 #endif // __bbvtkMetaImageWriter_h_INCLUDED__