]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIODicomImageReader2.h
works with gdcm1.3
[creaImageIO.git] / src / creaImageIODicomImageReader2.h
index 08b01f3a8ca925d8504f60eca270c75f073be2ac..a267b2993f4ad36d32d772a0f7bb7607ad9644b8 100644 (file)
@@ -7,6 +7,7 @@
 #include <gdcmReader.h>
 #include <vtkGDCMImageReader.h>
 #include <gdcmScanner.h>
+#include <gdcmAttribute.h>
 #endif
 
 class vtkGDCMImageReader;
@@ -39,6 +40,8 @@ namespace creaImageIO
        void ReadAttributes2(const std::string& filename, 
                                tree::AttributeMapType& attr);
 
+       /// Another function to read attributes for a file
+       void getAttributes(const std::string filename, std::map <std::string , std::string> &infos, std::vector<std::string> i_attr);
   private:
          const std::string GetStringValueFromTag( const gdcm::DataElement& ds);
          vtkGDCMImageReader *mReader;