X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaImageIOWxSimpleDlg.h;h=bd8c3b5c2cec5fd94c33693b6919b4bf30eb0fcd;hb=efe10f4ac0d8de45d26ca7b1f74f3676802c1b90;hp=5e3f5f00f4220c2000f5e7c6757a74b1df39443d;hpb=68975087396fa3f3e1adb04073cd30dc79b535a3;p=creaImageIO.git diff --git a/src/creaImageIOWxSimpleDlg.h b/src/creaImageIOWxSimpleDlg.h index 5e3f5f0..bd8c3b5 100644 --- a/src/creaImageIOWxSimpleDlg.h +++ b/src/creaImageIOWxSimpleDlg.h @@ -10,7 +10,7 @@ # This software is governed by the CeCILL-B license under French law and # abiding by the rules of distribution of free software. You can use, # modify and/ or redistribute the software under the terms of the CeCILL-B -# license as circulated by CEA, CNRS and INRIA at the following URL +# license as circulated by CEA, CNRS and INRIA at the following URL m_view # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # or in the file LICENSE.txt. # @@ -39,7 +39,7 @@ namespace creaImageIO { public: /// Ctor - WxSimpleDlg( wxWindow *parent, + WxSimpleDlg( wxWindow *parent, wxString i_title =_T(""), const std::string i_namedescp = "localdatabase_Descriptor.dscp", const std::string i_namedb = "Local Database" @@ -58,7 +58,10 @@ namespace creaImageIO /// return a vtkImageData vector of selected images, if available std::vector getImagesSelected(); + vtkImageData* getVolumeSelected(); + wxString getInfoImage(); + wxString getInfoImageSource(); std::vector< std::map > getDicomInfoImagesSelected(); void SetAttrDicomTags( std::vector attr ); @@ -72,20 +75,18 @@ namespace creaImageIO std::vector getMapInfos(){return m_resultsInfo;} private: - bool bInfo; - std::string namedescp; - std::string namedb; - wxString infoimage; - + wxFrame* m_parentFrame; + bool bInfo; + std::string namedescp; + std::string namedb; + wxString infoimage; + wxString infoimageSource; /// interface to read data - SimpleView m_view; - + SimpleView m_view; /// vtkImageData vector - std::vector m_results; + std::vector m_results; std::vector< std::map > m_resultsDicomAtr; - std::vector m_attrDicomTags; // DXXXX_YYYY DAAAA_BBBB ... - - std::vector m_resultsInfo; - + std::vector m_attrDicomTags; // DXXXX_YYYY DAAAA_BBBB ... + std::vector m_resultsInfo; }; }