]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTreeHandlerImageAdder.h
move directory
[creaImageIO.git] / src2 / creaImageIOTreeHandlerImageAdder.h
index 521f0ffc13bf31d4d7fe8a6c1b45b0d44f7aa89c..41ff0a63969818dc6bf209e925176b37767d1167 100644 (file)
@@ -2,12 +2,10 @@
 #define __creaImageIOTreeHandlerImageAdder_h_INCLUDED__
 
 #include <creaImageIOTreeHandler.h>
-#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>
@@ -33,8 +31,7 @@ namespace creaImageIO
     ~TreeHandlerImageAdder();
     /// Sets the TreeHandler
     void SetTreeHandler(TreeHandler* tree) { mTreeHandler = tree;}
-       /// Sets the TimestampDatabaseHandler
-    void SetTimestampHandler(TimestampDatabaseHandler* tdh) { mTimestampHandler = tdh;}
+       
        /// Sets the synchronizer
        void SetSynchronizer(Synchronizer* s){mSynchronizer=s;}
        /// Sets the synchronizer
@@ -125,6 +122,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, 
@@ -165,9 +165,9 @@ namespace creaImageIO
                           const std::string &addKey);
 
     TreeHandler* mTreeHandler;
-       TimestampDatabaseHandler* mTimestampHandler;
        Synchronizer* mSynchronizer;
     ImageReader mReader;
+       //ImageWriter mWriter;
        std::string mCurrentDB;
     
     Progress mProgress;