]> Creatis software - creaImageIO.git/blob - src2/creaImageIOGimmickReaderDialog.h
09a70f17d5885b692888246e2fad3aa7c3e0cea6
[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 namespace creaImageIO
10 {
11   /**
12    * \ingroup GUI
13    * \brief Pops up a WxGimmickReaderDialog 
14    * returns true if the user clicked 'Ok', false if 'Cancel'
15    *  and fills the vector of images
16    */
17   bool CREAIMAGEIO_EXPORT GimmickReaderDialog
18   (std::vector<vtkImageData*>& images,
19    const std::string& title = "Select images",
20    int posx = 0, int posy = 0,
21    int sizex = 1200, int sizey = 800,
22    int image_min_type = 2,
23    int image_max_type = 3,
24    int image_out_dim = 2,
25    int nb_threads = 1);
26   
27 }
28
29 #endif