]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTreeHandlerImageAdder.h
Remove timestamp_database and timestamp files (now management only with maintenance_d...
[creaImageIO.git] / src2 / creaImageIOTreeHandlerImageAdder.h
index 2fe9efd993e00563c461bca9ad2a56e981b2e70e..a9666eac07d6e93b94a78e8b61fc022cd76d0d53 100644 (file)
@@ -5,9 +5,8 @@
 #include <creaImageIOTimestampDatabaseHandler.h>
 #include <creaImageIOSynchron.h>
 #include <creaImageIOImageReader.h>
-#include <wx/wx.h>
-#include <wx/progdlg.h>
-#include <creaWx.h>
+//#include <creaImageIOImageWriter.h>
+
 // Signal/slot mechanism for progress events
 #include <boost/signal.hpp>
 #include <boost/bind.hpp>
@@ -125,6 +124,9 @@ namespace creaImageIO
                                                        std::vector<std::string> & newfiles);
        ///Copies the files indicated in the vector and updates all databases
        void CopyFiles(const std::vector<std::string>& filenames, const std::string directory  );
+       
+       ///Saves as the files indicated in the vector in a specific directory
+       void SaveAs(const std::vector<std::string>& filenames, std::vector<vtkImageData *> i_images);
        ///Finds the node that matches the specified parameters
        void FindNode(tree::Node* parent, int level, 
                const std::string& searchParam, 
@@ -142,6 +144,11 @@ namespace creaImageIO
        void DeleteDriveFromOtherDB(const std::string& drive);
        ///Edits the given field and sets the new parameters
        void EditField(tree::Node* node, const std::string& name, const std::string& key, const std::string& val);
+       ///Returns the demanded attributes for the given file
+       void GetAttributes(const std::vector<std::string>& params, 
+         const std::string& filename, 
+         std::vector<std::string>& results);
+  
   
   
  
@@ -163,6 +170,7 @@ namespace creaImageIO
        TimestampDatabaseHandler* mTimestampHandler;
        Synchronizer* mSynchronizer;
     ImageReader mReader;
+       //ImageWriter mWriter;
        std::string mCurrentDB;
     
     Progress mProgress;