]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSuperposition.h
e595b7ef1401b6f04ac94c3a032c40253b542ab4
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMaracasSuperposition.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: wxMaracasSuperposition.h,v $
5   Language:  C++
6   Date:      $Date: 2009/06/03 13:47:07 $
7   Version:   $Revision: 1.3 $
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 __wxMaracasSuperpositionH__
19 #define __wxMaracasSuperpositionH__
20
21 #include <vector>
22 #include <wx/wx.h>
23 #include "wx/aui/aui.h"
24 #include "wxMaracasSuperpositionPanel.h"
25 #include "vtkMetaImageReader.h"
26 #include "vtkImageData.h"
27
28
29
30
31 class creaMaracasVisu_EXPORT wxMaracasSuperposition : public wxPanel
32 {       
33
34 public:
35         
36         wxMaracasSuperposition(wxWindow* parent, std::vector<vtkImageData*> imgs);
37
38         ~wxMaracasSuperposition();
39
40         static wxMaracasSuperposition* getInstance(wxWindow* parent, std::vector<vtkImageData*> imgs);
41         
42         static wxMaracasSuperposition* getInstance();
43         
44         wxAuiNotebook * createNotebook();
45
46         void createPanels();
47         
48         void createSuperpositionPanel(int type);
49
50         void configurePanels();
51
52         void changeImages(std::vector<vtkImageData*> imgs);
53
54         std::vector<vtkImageData*> getImages( );
55
56         
57 private:
58
59         static wxMaracasSuperposition * instance;
60
61         wxAuiManager m_mgr;
62         
63         wxAuiNotebook * _notebook;
64
65         std::vector<vtkImageData*> _images;
66         
67         wxMaracasSuperpositionPanel * _superposition1;
68         
69         wxMaracasSuperpositionPanel * _superposition2;
70         
71         wxMaracasSuperpositionPanel * _superposition3;
72
73     long m_notebook_style;
74         
75     long m_notebook_theme;
76 };
77
78 #endif
79