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 __bbcreaImageIOReadImages_h_INCLUDED__
5 #define __bbcreaImageIOReadImages_h_INCLUDED__
7 #include "bbcreaImageIO_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
10 #include <vtkImageData.h>
12 namespace bbcreaImageIO
16 typedef std::map<std::string, std::string> MapInfoDicom;
17 typedef std::vector< MapInfoDicom > VectorMapInfoDicom;
19 class bbcreaImageIO_EXPORT ReadImages
21 public bbtk::AtomicBlackBox
23 BBTK_BLACK_BOX_INTERFACE(ReadImages,bbtk::AtomicBlackBox);
25 // 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)
27 BBTK_DECLARE_INPUT(Active,bool);
28 BBTK_DECLARE_INPUT(DicomTags,std::vector<std::string>);
29 BBTK_DECLARE_INPUT(LstNameImages,std::vector<std::string>);
30 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
31 BBTK_DECLARE_OUTPUT(OutImages,std::vector<vtkImageData*>);
32 BBTK_DECLARE_OUTPUT(DicomInfo,VectorMapInfoDicom);
33 BBTK_PROCESS(Process);
36 // 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)
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReadImages,bbtk::AtomicBlackBox);
41 BBTK_NAME("ReadImages");
42 BBTK_AUTHOR("InfoDev");
43 BBTK_DESCRIPTION("No Description.");
44 BBTK_CATEGORY("empty");
46 BBTK_INPUT(ReadImages,Active,"(default true) Active true/false",bool,"");
47 BBTK_INPUT(ReadImages,DicomTags,"Dicom Tags (vector of Dicom tags ex: D0028_0030 D0020_0037)",std::vector<std::string>,"");
48 BBTK_INPUT(ReadImages,LstNameImages,"List path to images",std::vector<std::string>,"");
50 BBTK_OUTPUT(ReadImages,Out,"Output Image",vtkImageData*,"");
51 BBTK_OUTPUT(ReadImages,OutImages,"List of Output Image",std::vector<vtkImageData*>,"");
52 BBTK_OUTPUT(ReadImages,DicomInfo,"vector of maps of Dicom tags",VectorMapInfoDicom,"");
54 BBTK_END_DESCRIBE_BLACK_BOX(ReadImages);
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)
59 // EO namespace bbcreaImageIO
61 #endif // __bbcreaImageIOReadImages_h_INCLUDED__