if(wxArray.size() >0)
{
m_results.clear();
- infoimage=_T("FILE(s):")+wxArray[0];
+ infoimage = wxArray[0];
+ infoimageSource = _T("FILE(s)");
std::vector<std::string> files;
for( int i = 0; i < wxArray.GetCount(); i++)
{
if ( resultShowModal==wxID_OK )
{
m_results.clear();
- infoimage=_T("DIRECTORY:")+dirDlg->GetPath();
+ infoimage = dirDlg->GetPath();
+ infoimageSource = _T("DIRECTORY");
if(! m_view.readDirectory(crea::wx2std(dirDlg->GetPath()) , m_attrDicomTags , m_resultsDicomAtr , m_results))
{
//TO DO WARNING MESSAGE;
// }
// }
+ infoimage = _T("EED Missing info <void> ???");
+ infoimageSource = _T("GIMMICK");
+
dlg.OnExit();
}
SetReturnCode( dlg.GetReturnCode() );
return infoimage;
}
+//-----------------------------------------------------------------------------
+ wxString WxSimpleDlg::getInfoImageSource()
+ {
+ return infoimageSource;
+ }
+
//////////////////////////////////////////////////////////////////////
// Return the results vector //
//////////////////////////////////////////////////////////////////////
vtkImageData* getVolumeSelected();
wxString getInfoImage();
+ wxString getInfoImageSource();
std::vector< std::map<std::string,std::string> > getDicomInfoImagesSelected();
void SetAttrDicomTags( std::vector<std::string> attr );
std::string namedescp;
std::string namedb;
wxString infoimage;
+ wxString infoimageSource;
/// interface to read data
SimpleView m_view;