]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSuperposition.h
no message
[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/05 16:44:25 $
7   Version:   $Revision: 1.4 $
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 configurePanels();
49
50         void changeImages(std::vector<vtkImageData*> imgs);
51
52         std::vector<vtkImageData*> getImages( );
53
54         
55 private:
56
57         static wxMaracasSuperposition * instance;
58
59         wxAuiManager m_mgr;
60         
61         wxAuiNotebook * _notebook;
62
63         std::vector<vtkImageData*> _images;
64         
65         wxMaracasSuperpositionPanel * _superposition1;
66         
67         wxMaracasSuperpositionPanel * _superposition2;
68         
69         wxMaracasSuperpositionPanel * _superposition3;
70
71     long m_notebook_style;
72         
73     long m_notebook_theme;
74 };
75
76 #endif
77