#include "bbtkAtomicBlackBox.h"
#include "iostream"
+#if defined USE_GDCM
#include "vtkGdcmReader.h"
+#endif
+#if defined USE_GDCM2
+#include "vtkGDCMImageReader.h"
+#endif
+
+#include "vtkImageData.h"
namespace bbgdcmvtk
{
void Process();
private:
+#if defined USE_GDCM
GDCM_NAME_SPACE::File *f;
- vtkGdcmReader *reader;
+ vtkGdcmReader *reader;
+#endif
+#if defined USE_GDCM2
+ vtkGDCMImageReader *reader;
+#endif
+
+
};
//=================================================================
BBTK_BEGIN_DESCRIBE_BLACK_BOX(GetInfoGdcmReader,bbtk::AtomicBlackBox);
BBTK_NAME("GetInfoGdcmReader");
BBTK_AUTHOR("jpr, eduardo");
-BBTK_DESCRIPTION("Get Dicom info and read (as a vtkImageData)");
+BBTK_DESCRIPTION("Get Dicom info (for a single File) and read (as a vtkImageData)");
BBTK_CATEGORY("");
BBTK_INPUT(GetInfoGdcmReader,In, "Dicom image file name", std::string,"");