WxGimmickReaderDialog dlg(0,-1,
namedescp,
namedb,
- _T("Select image(s) - Gimmick! (c) CREATIS-LRMN 2008"),
+ _T("Select image(s) - Gimmick! (c)"),
wxDefaultPosition,
wxSize(810,750),
GIMMICK_2D_IMAGE_SELECTION,
GIMMICK_3D_IMAGE_SELECTION,
_3D,
- 1);
+ 0);
dlg.ShowModal();
if (dlg.GetReturnCode() == wxID_OK)
{
- dlg.stopReading();
-
- std::vector<creaImageIO::OutStrGimmick> outStrGimmick;
- dlg.getSelected(outStrGimmick, m_attrDicomTags,true,"");
-
+ dlg.stopReading();
+ std::vector<creaImageIO::OutStrGimmick> outStrGimmick;
+printf("EED WxSimpleDlg::OnReadGimmick 1 \n");
+ dlg.getSelected(outStrGimmick, m_attrDicomTags,true,"");
+printf("EED WxSimpleDlg::OnReadGimmick 2 \n");
m_results.clear();
int size=(int)outStrGimmick.size();
int ii;
infoimage = _T("EED Missing info <void> ???");
infoimageSource = _T("GIMMICK");
-
dlg.OnExit();
}
SetReturnCode( dlg.GetReturnCode() );
memcpy(out->GetScalarPointer(0,0,slice), img->GetScalarPointer(0,0,0), imsize);
//img->Delete();
} // for slice
-
+ out->Modified();
//EED This is NOT working. The iteration over the pointer vtkImageData
// int slice=0;
// std::vector<vtkImageData*>::iterator it;
result = NULL;
} // getImagesSelected().size()!=0
-
+ result->Modified();
return result;
}