]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/wxILPDwithImage.h
creaMaracasVisu Library
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / wxILPDwithImage.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: wxILPDwithImage.h,v $
5   Language:  C++
6   Date:      $Date: 2008/10/31 16:32:09 $
7   Version:   $Revision: 1.1 $
8
9   Copyright: (c) 2002, 2003
10   License:
11   
12      This software is distributed WITHOUT ANY WARRANTY; without even 
13      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14      PURPOSE.  See the above copyright notice for more information.
15
16 =========================================================================*/
17
18 #ifndef __WX__ILPD__WITH__IMAGE__HXX__
19 #define __WX__ILPD__WITH__IMAGE__HXX__
20
21 #include <wx/wx.h>
22 #include <string>   // pour std::string
23
24 #include "widgets/wxMPRWidget.h"
25
26 using namespace std;
27 #include "ILPD/src/wxInterface/wxILPD.h"
28
29 //----------------------------------------------------------------------------
30 //----------------------------------------------------------------------------
31 //----------------------------------------------------------------------------
32
33 class wxILPDwithImage: public wxPanel
34 {
35 public:
36     wxILPDwithImage(wxWindow *parent);
37     ~wxILPDwithImage();
38         wxPanel *CreatePanel_ViewImagePanel_WxILPD( wxWindow *parent );
39         void    OnSelectPatientStudySerieImage(wxCommandEvent& event);
40         void    Configure();
41
42         wxILPD  *GetWxILPD();
43         DECLARE_EVENT_TABLE();
44 private:
45         string                                  _backStringFirstFile;
46         string                                  _backStringFirstFile2;
47         wxILPD                                  *_wxILPD;
48         wxListView                              *_dicomPanelListView;
49         wxVtk2DBaseView                 *_wxvtk2Dbaseview;
50         vtkBaseData                             *_vtkbasedata; 
51         wxPanel                                 *_panelImage;
52         wxSplitterWindow                *_pnlSplitter_ViewImage_wxILPD;
53         wxSplitterWindow                *_pnlSplitter_Image_DicomList;
54         void    SetItem( wxListView *wxlistview, int line, int col, wxString text ) ;
55         void    ResetwxListView();
56         void    SelectedPatient();
57         void    SelectedSerie();
58         void    SelectedImage();
59         void    ShowDicomInformation(string *fileImageName);
60         void    ShowDicomImage(string *fileImageName);
61 };
62
63 #endif // __WX__ILPD__WITH__IMAGE__HXX__