<include>creaImageIOWxSimpleDlg.h</include>
<!--========================================================================
INPUTS/OUTPUTS DECLARATION -->
-
<input name="Title" type="std::string" description="Title of the dialog"/>
-
-
-
<typedef>
<PRE>
typedef std::vector<std::string> VectorStringType;</PRE>
</typedef>
<input name="DicomTags" type="VectorStringType" description="Dicom Tags (vector of Dicom tags ex: D0028_0030 D0020_0037)"/>
-
<typedef>
<PRE>
typedef std::vector<vtkImageData*> OutputImagesType;</PRE>
</typedef>
<output name="Out" type="vtkImageData*" description="The selected image"/>
<output name="OutImages" type="OutputImagesType" description="Vector of selected images"/>
-
<typedef>
<PRE>
typedef std::map<std::string, std::string> MapInfoDicom;</PRE>
</typedef>
-
<typedef>
<PRE>
typedef std::vector< MapInfoDicom > VectorMapInfoDicom;</PRE>
</typedef>
-
<output name="DicomInfo" type="VectorMapInfoDicom" description="vector of maps of Dicom tags"/>
<output name="FileName" type="std::string" description="Selected file name"/>
-
<!--========================================================================
PROCESS section -->
-
<process>
<PRE>
-
-// creaImageIO::WxSimpleDlg dlg(0,crea::std2wx(bbGetInputTitle()),"localdatabase_Descriptor.dscp","Local Database");
- creaImageIO::WxSimpleDlg *dlg = new creaImageIO::WxSimpleDlg(0,crea::std2wx(bbGetInputTitle()),"localdatabase_Descriptor.dscp","Local Database");
+ creaImageIO::WxSimpleDlg *dlg = new creaImageIO::WxSimpleDlg(NULL,crea::std2wx(bbGetInputTitle()),"localdatabase_Descriptor.dscp","Local Database");
dlg->SetAttrDicomTags( bbGetInputDicomTags() );
dlg->ShowModal();
bbSetOutputDicomInfo( dlg->getDicomInfoImagesSelected() );
wxString i_title,
const std::string i_namedescp ,
const std::string i_namedb)
- : wxDialog(parent, -1,_T("SELECT IMAGE(S)"), wxDefaultPosition, wxSize(500,300))
+ : wxDialog(parent, -1,_T("SELECT IMAGE(S)"), wxPoint(80,80), wxSize(500,300), wxSTAY_ON_TOP | wxCAPTION | wxCLOSE_BOX)
{
namedescp = i_namedescp;
namedb = i_namedb;