1 #ifndef __creaImageIOWxGimmickReaderDialog_h_INCLUDED__
2 #define __creaImageIOWxGimmickReaderDialog_h_INCLUDED__
6 #include <creaImageIOWxGimmickView.h>
15 //=====================================================================
16 //=====================================================================
17 class CREAIMAGEIO_EXPORT WxGimmickReaderDialog : public wxDialog
20 WxGimmickReaderDialog();
21 WxGimmickReaderDialog(wxWindow *parent,
26 int image_min_dim = GIMMICK_2D_IMAGE_SELECTION,
27 int image_max_dim = GIMMICK_3D_IMAGE_SELECTION,
28 int output_dim = NATIVE,
31 boost::shared_ptr<Gimmick> GetGimmick() { return mGimmick; }
32 // typedef WxGimmick ViewType;
33 typedef WxGimmickView::EventType EventType;
35 ~WxGimmickReaderDialog();
37 //===============================================================================================
39 //===============================================================================================
41 void GetSelectedImages(std::vector<vtkImageData*>& s, int dim)
42 { mView->GetSelectedImages(s, dim); }
44 void GetSelectedImagesInVector(std::vector<vtkImageData*>& s, int dim)
45 { mView->GetSelectedImagesInVector(s, dim); }
47 void GetSelectedFiles(std::vector<std::string>& s)
48 { mView->GetSelectedFiles(s); }
50 void OnSelChanged(EventType& event);
51 void OnContextualMenu(EventType& event);
52 void OnMenuTest(wxCommandEvent& event);
53 void OnValid(bool valid);
54 void OnExit(){ mView->StopPlayer(); }
55 // void OnButtonOk(wxCommandEvent& event);
56 // void OnButtonCancel(wxCommandEvent& event);
60 boost::shared_ptr<Gimmick> mGimmick;
64 wxButton* mCancelButton;
73 }; // class WxGimmickReaderDialog
74 //=====================================================================
76 } // EO namespace creaImageIO