]> Creatis software - creaImageIO.git/blob - src2/creaImageIOGimmickReaderDialog.h
a9fdf0ab7c5f0112a9784405388d46ad4a575ad0
[creaImageIO.git] / src2 / creaImageIOGimmickReaderDialog.h
1 #ifndef __creaImageIOGimmickReaderDialog_h_INCLUDED__
2 #define __creaImageIOGimmickReaderDialog_h_INCLUDED__
3
4 #include "creaImageIOSystem.h"
5 #include <vtkImageData.h>
6 #include <vector>
7
8
9 CREAIMAGEIO_EXPORT vtkImageData* getImageDataDialog();
10
11 namespace creaImageIO
12 {
13   /**
14    * \ingroup GUI
15    * \brief Pops up a WxGimmickReaderDialog 
16    * returns true if the user clicked 'Ok', false if 'Cancel'
17    *  and fills the vector of images
18    */
19   bool CREAIMAGEIO_EXPORT GimmickReaderDialog
20   (std::vector<vtkImageData*>& images,
21    const std::string i_namedescp , 
22    const std::string i_namedb = "Local Database",
23    const std::string& title = "Select images",
24    int posx = 0, int posy = 0,
25    int sizex = 1200, int sizey = 800,
26    int image_min_type = 2,
27    int image_max_type = 3,
28    int image_out_dim = 2,
29    int nb_threads = 1);
30   
31 }
32
33 #endif