//===== // 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 __bbvtkMetaImageWriter_h_INCLUDED__ #define __bbvtkMetaImageWriter_h_INCLUDED__ #include "bbvtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkVersion.h" #include namespace bbvtk { class bbvtk_EXPORT MetaImageWriter : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(MetaImageWriter,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(In,vtkImageData*); BBTK_DECLARE_INPUT(Filename,std::string); BBTK_DECLARE_INPUT(Compression,bool); BBTK_DECLARE_INPUT(SizeBlock,int); // BBTK_DECLARE_OUTPUT(Out,double); BBTK_PROCESS(Process); void Process(); void Save_mhdb( std::string filename , vtkImageData* img , int sizeB); //===== // 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(MetaImageWriter,bbtk::AtomicBlackBox); BBTK_NAME("MetaImageWriter"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(MetaImageWriter,In,"Input image",vtkImageData*,""); BBTK_INPUT(MetaImageWriter,Filename,"Name of the file to write",std::string,"file name"); BBTK_INPUT(MetaImageWriter,Compression,"default(false) true/false",bool,""); BBTK_INPUT(MetaImageWriter,SizeBlock,"(default 50) Size block (for .mhdb format)",int,""); //BBTK_OUTPUT(MetaImageWriter,Out,"First output",double,""); BBTK_END_DESCRIBE_BLACK_BOX(MetaImageWriter); //===== // 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 bbvtk #endif // __bbvtkMetaImageWriter_h_INCLUDED__