1 /*=========================================================================
4 Module: $RCSfile: wxMaracasSuperposition.h,v $
6 Date: $Date: 2009/05/28 16:39:51 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
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.
16 =========================================================================*/
18 #ifndef __wxMaracasSuperpositionPanelH__
19 #define __wxMaracasSuperpositionPanelH__
23 #include "wx/aui/aui.h"
24 #include "vtkMetaImageReader.h"
25 #include "vtkImageData.h"
30 class creaMaracasVisu_EXPORT wxMaracasSuperposition : public wxPanel
35 wxMaracasSuperposition(wxWindow* parent, std::vector<vtkImageData*> imgs);
37 ~wxMaracasSuperposition();
39 static wxMaracasSuperposition* getInstance(wxWindow* parent, std::vector<vtkImageData*> imgs);
41 static wxMaracasSuperposition* getInstance();
43 wxAuiNotebook * createNotebook();
47 void createSuperpositionPanel(int type);
49 void configurePanels();
51 void changeImages(vtkImageData* img1, vtkImageData* img2);
53 std::vector<vtkImageData*> getImages( );
60 wxAuiNotebook * _notebook;
62 std::vector<vtkImageData*> _images;
64 wxMaracasSuperpositionPanel * _superposition1;
66 wxMaracasSuperpositionPanel * _superposition2;
68 wxMaracasSuperpositionPanel * _superposition3;
70 long m_notebook_style;
72 long m_notebook_theme;