#ifndef __bbUtilitiesMetaImageWriter_h_INCLUDED__ #define __bbUtilitiesMetaImageWriter_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" //INCLUDES #include "iostream" #include "vtkImageData.h" #include "vtkMetaImageWriter.h" namespace bbUtilities { class /*BBTK_EXPORT*/ MetaImageWriter : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(MetaImageWriter,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(FileName,std::string); BBTK_DECLARE_INPUT(InImage,vtkImageData*); BBTK_PROCESS(Process); void Process(); protected: vtkMetaImageWriter *writer ; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(MetaImageWriter,bbtk::AtomicBlackBox); BBTK_NAME("MetaImageWriter"); BBTK_AUTHOR("Monica Lozano, mo-lozan@uniandes.edu.co"); BBTK_DESCRIPTION("Writes a raw image"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(MetaImageWriter,FileName,"Path where the mhd description of the image that is wirtting",std::string, ""); BBTK_INPUT(MetaImageWriter,InImage,"Image to write",vtkImageData*, ""); BBTK_END_DESCRIBE_BLACK_BOX(MetaImageWriter); } // EO namespace bbUtilities #endif // __bbUtilitiesMetaImageWriter_h_INCLUDED__