fileDlg->GetPaths(wxArray);
if(wxArray.size() >0)
{
+ infoimage=_T("FILE(s):")+wxArray[0];
std::vector<std::string> files;
for( int i = 0; i < wxArray.GetCount(); i++)
{
{
//TO DO WARNING MESSAGE;
}
- }
- else
- {
+ } else {
// TO DO WARNING MESSAGES
}
}
resultShowModal = dirDlg->ShowModal();
if ( resultShowModal==wxID_OK )
{
+ infoimage=_T("DIRECTORY:")+dirDlg->GetPath();
if(! m_view.readDirectory(crea::wx2std(dirDlg->GetPath()),m_results))
{
//TO DO WARNING MESSAGE;
dlg.ShowModal();
if (dlg.GetReturnCode() == wxID_OK)
{
+ infoimage=_T("DICOM: ???_EED_???");
//EED 07JUIN2010 dlg.GetSelectedImages(m_results,3);
std::vector<creaImageIO::OutStrGimmick> out;
std::vector<std::string> attr;
EndModal( dlg.GetReturnCode() );
}
+ wxString WxSimpleDlg::getInfoImage()
+ {
+ return infoimage;
+ }
+
//////////////////////////////////////////////////////////////////////
// Return the results vector //
//////////////////////////////////////////////////////////////////////
/// return a vtkImageData vector of selected images, if available
std::vector<vtkImageData*> getImagesSelected();
+
+ wxString getInfoImage();
private:
std::string namedescp;
std::string namedb;
+ wxString infoimage;
/// interface to read data
SimpleView m_view;