]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOMultiThreadImageReader.h
new Output format and structure for Gimmick. Based on creaImageIO Output document...
[creaImageIO.git] / src / creaImageIOMultiThreadImageReader.h
index c5a9ef9574081937cf4849933c0eed44409a62da..461d2c31397c2a83d6865ed1c24a134bc0214607 100644 (file)
@@ -105,7 +105,10 @@ namespace creaImageIO
     void OnMultiThreadImageReaderEvent( const std::string& filename,
                                        EventType type,
                                        vtkImageData* image);
-    
+   
+    /// 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);
+
   protected:
          bool mDone;
     int GetMaximalPriorityWithoutLocking();
@@ -140,6 +143,8 @@ namespace creaImageIO
       int& UnloadIndex() { return mUnloadIndex; }
       vtkImageData* GetImage() const { return mImage; }
       void SetImage( vtkImageData* i ) { mImage=i; }
+
+         std::map<std::string, std::string> getAttributes(const std::vector<std::string> i_attr);
     private:
       MultiThreadImageReaderUser* mUser;
       std::string mFilename;