]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOGimmickView.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOGimmickView.h
index 1bef90c0c0758b8eb24f01102e560d1047bf2f04..8407a9179cb22008dbcdd940e934862777b0f10d 100644 (file)
@@ -4,6 +4,7 @@
 #include <creaImageIOGimmick.h>
 #include <creaImageIOTreeView.h>
 #include <creaImageIOSystem.h>
+
 //#include <map>
 #include <vtkImageData.h>
 
@@ -48,15 +49,23 @@ namespace creaImageIO
 
       /// Finalize 
       virtual void Finalize();
-      
-      virtual void GetSelectedImages(std::vector<vtkImageData*>& s) {}
+         ///Returns the selected Images and validates to see if they comply with the given parameter(<4D)
+         vtkImageData* GetSelectedImage(int dim);
+      ///Adds the selected Images to the given vector and validates to see if they comply with the given parameter (4D)
+      virtual void GetSelectedImages(std::vector<vtkImageData*>& s, int dim) {}
+
       virtual void GetSelectedFiles(std::vector<std::string>& s) {}
 
       /// Create the tree views 
       void CreateTreeViews();
 
       /// Create the tree view for TreeHandler provided
-      virtual void CreateTreeView( TreeHandler* h) { GimmickError("INTERNAL ERROR : CreateTreeView not implemented"); }
+      virtual void CreateTreeView( TreeHandler*) 
+      { GimmickError("INTERNAL ERROR : CreateTreeView not implemented"); }
+
+      /// Updates the TreeView of given name from level l to bottom
+      /// (calls the virtual method TreeView::UpdateLevel(l))
+      virtual void UpdateTreeViewLevel(const std::string&, int l);
 
     private:
       /// Controller which manages the interaction with the model