1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!--==========================================================================
3 STARTS THE DESCRIPTION OF THE BLACK BOX -->
4 <blackbox name="ImagesChooserDialogBox">
5 <!--========================================================================
6 THE BOX DOCUMENTATION -->
7 <author>cervenansky.frederic@creatis.insa-lyon.fr</author>
9 ImagesChooserDialogBox is a simple application to select file(s) or directory or data from Gimmick database and display them. It handles DICOM, jpg, tif, png, bmp and mhd.
11 <category>image;reader;dicom;</category>
13 <!--========================================================================
14 #include directives to be put in the .h generated
15 There must be one tag per file to include -->
16 <include>creaImageIOWxSimpleDlg.h</include>
17 <!--========================================================================
18 INPUTS/OUTPUTS DECLARATION -->
20 <input name="Title" type="std::string" description="Title of the dialog"/>
23 typedef std::vector<vtkImageData*> OutputImagesType;</PRE>
26 <output name="Out" type="vtkImageData*" description="The selected image"/>
27 <output name="OutImages" type="OutputImagesType" description="Vector of elected images"/>
29 <!--========================================================================
34 creaImageIO::WxSimpleDlg dlg(0,crea::std2wx(bbGetInputTitle()),"localdatabase_Descriptor.dscp","Local Database");
36 if (dlg.getImagesSelected().size()!=0){
37 bbSetOutputOut( dlg.getImagesSelected()[0] );
39 bbSetOutputOut( NULL );
41 bbSetOutputOutImages( dlg.getImagesSelected());
45 <!--======================================================================
46 CONSTRUCTORS / DESTRUCTORS (OPTIONAL) -->