]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOGimmickView.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOGimmickView.h
index a9298b9def91013991e36e78f282fb7177416ec2..8407a9179cb22008dbcdd940e934862777b0f10d 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <creaImageIOGimmick.h>
 #include <creaImageIOTreeView.h>
+#include <creaImageIOSystem.h>
+
 //#include <map>
 #include <vtkImageData.h>
 
@@ -47,10 +49,24 @@ 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*) 
+      { 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
       Gimmick* mGimmick;