#ifndef __bbSlicerCreateaDICOMSeries_h_INCLUDED__ #define __bbSlicerCreateaDICOMSeries_h_INCLUDED__ #include "bbSlicer_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include #include #include #include #include #include #include #include #include #include #include #include "CreationTool.h" namespace bbSlicer { class bbSlicer_EXPORT CreateaDICOMSeries : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE ( CreateaDICOMSeries , bbtk::AtomicBlackBox ) ; // GENERATED ARGS BBTK_DECLARE_INPUT ( patientName , std::string ); BBTK_DECLARE_INPUT ( patientID , std::string ); BBTK_DECLARE_INPUT ( patientComments , std::string ); BBTK_DECLARE_INPUT ( studyID , std::string ); BBTK_DECLARE_INPUT ( studyDate , std::string ); BBTK_DECLARE_INPUT ( studyComments , std::string ); BBTK_DECLARE_INPUT ( studyDescription , std::string ); BBTK_DECLARE_INPUT ( modality , std::string ); BBTK_DECLARE_INPUT ( manufacturer , std::string ); BBTK_DECLARE_INPUT ( model , std::string ); BBTK_DECLARE_INPUT ( seriesNumber , std::string ); BBTK_DECLARE_INPUT ( seriesDescription , std::string ); BBTK_DECLARE_INPUT ( rescaleIntercept , double ); BBTK_DECLARE_INPUT ( rescaleSlope , double ); BBTK_DECLARE_INPUT ( inputVolume , std::string ); BBTK_DECLARE_INPUT ( dicomDirectory , std::string ); BBTK_DECLARE_INPUT ( dicomPrefix , std::string ); BBTK_DECLARE_INPUT ( dicomNumberFormat , std::string ); BBTK_DECLARE_INPUT ( reverseImages , bool ); BBTK_DECLARE_INPUT ( useCompression , bool ); // EO GENERATED ARGS BBTK_PROCESS ( Process ) ; void Process ( ) ; private: void execute ( std::string lib , int _argc , char * _argv[] ) ; } ; BBTK_BEGIN_DESCRIBE_BLACK_BOX ( CreateaDICOMSeries , bbtk::AtomicBlackBox ) ; BBTK_NAME ( "CreateaDICOMSeries" ) ; BBTK_AUTHOR ( "Bill Lorensen" ) ; BBTK_DESCRIPTION ( "Create a DICOM Series from a Slicer volume. User can specify values for selected DICOM tags in the UI. Given the number of tags DICOM series have, it is impossible to expose all tags in UI. So only important tags can be set by the user." ) ; BBTK_CATEGORY ( "Converters" ) ; // GENERATED DESCRPTION BBTK_INPUT(CreateaDICOMSeries , patientName , "patientName" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , patientID , "patientID" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , patientComments , "patientComments" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , studyID , "studyID" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , studyDate , "studyDate" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , studyComments , "studyComments" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , studyDescription , "studyDescription" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , modality , "modality" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , manufacturer , "manufacturer" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , model , "model" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , seriesNumber , "seriesNumber" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , seriesDescription , "seriesDescription" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , rescaleIntercept , "rescaleIntercept" , double, ""); BBTK_INPUT(CreateaDICOMSeries , rescaleSlope , "rescaleSlope" , double, ""); BBTK_INPUT(CreateaDICOMSeries , inputVolume , "inputVolume" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , dicomDirectory , "dicomDirectory" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , dicomPrefix , "dicomPrefix" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , dicomNumberFormat , "dicomNumberFormat" , std::string, ""); BBTK_INPUT(CreateaDICOMSeries , reverseImages , "reverseImages" , bool, ""); BBTK_INPUT(CreateaDICOMSeries , useCompression , "useCompression" , bool, ""); // EO GENERATED DESCRIPTION BBTK_END_DESCRIBE_BLACK_BOX ( CreateaDICOMSeries ) ; } #endif // __bbSlicerCreateaDICOMSeries_h_INCLUDED__