#ifndef __bbUtilitiesDicomReader_h_INCLUDED__ #define __bbUtilitiesDicomReader_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" #include "iostream" #include #include namespace bbUtilities { class /*BBTK_EXPORT*/ DicomReader : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(DicomReader,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(In,std::string); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); BBTK_PROCESS(Process); void Process(); private: vtkDICOMImageReader* reader; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(DicomReader,bbtk::AtomicBlackBox); BBTK_NAME("DicomReader"); BBTK_AUTHOR("car-prie@uniandes.edu.co"); BBTK_DESCRIPTION("Reads a dicom directory"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(DicomReader,In,"Directory of the images",std::string,""); BBTK_OUTPUT(DicomReader,Out,"Output of the reader vtkImageData",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(DicomReader); } // EO namespace bbUtilities #endif // __bbUtilitiesDicomReader_h_INCLUDED__