X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOGimmickView.h;h=8407a9179cb22008dbcdd940e934862777b0f10d;hb=3e7eac431db6401f86374784eaa66ad276af1bac;hp=1bef90c0c0758b8eb24f01102e560d1047bf2f04;hpb=79be5edd158476cd0f21d3146223594234ef06fc;p=creaImageIO.git diff --git a/src2/creaImageIOGimmickView.h b/src2/creaImageIOGimmickView.h index 1bef90c..8407a91 100644 --- a/src2/creaImageIOGimmickView.h +++ b/src2/creaImageIOGimmickView.h @@ -4,6 +4,7 @@ #include #include #include + //#include #include @@ -48,15 +49,23 @@ namespace creaImageIO /// Finalize virtual void Finalize(); - - virtual void GetSelectedImages(std::vector& 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& s, int dim) {} + virtual void GetSelectedFiles(std::vector& 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