]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSuperposition.h
*** empty log 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/05/28 16:39:51 $
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 __wxMaracasSuperpositionPanelH__
19 #define __wxMaracasSuperpositionPanelH__
20
21 #include <vector>
22 #include <wx/wx.h>
23 #include "wx/aui/aui.h"
24 #include "vtkMetaImageReader.h"
25 #include "vtkImageData.h"
26
27
28
29
30 class  creaMaracasVisu_EXPORT  wxMaracasSuperposition : public wxPanel
31 {       
32
33 public:
34         
35         wxMaracasSuperposition(wxWindow* parent, std::vector<vtkImageData*> imgs);
36
37         ~wxMaracasSuperposition();
38
39         static wxMaracasSuperposition* getInstance(wxWindow* parent, std::vector<vtkImageData*> imgs);
40         
41         static wxMaracasSuperposition* getInstance();
42         
43         wxAuiNotebook * createNotebook();
44
45         void createPanels();
46         
47         void createSuperpositionPanel(int type);
48
49         void configurePanels();
50
51         void changeImages(vtkImageData* img1, vtkImageData* img2);
52
53         std::vector<vtkImageData*> getImages( );
54
55         
56 private:
57
58         wxAuiManager m_mgr;
59         
60         wxAuiNotebook * _notebook;
61
62         std::vector<vtkImageData*> _images;
63         
64         wxMaracasSuperpositionPanel * _superposition1;
65         
66         wxMaracasSuperpositionPanel * _superposition2;
67         
68         wxMaracasSuperpositionPanel * _superposition3;
69
70     long m_notebook_style;
71         
72     long m_notebook_theme;
73 };
74
75 #endif
76