00001 /*========================================================================= 00002 00003 Program: wxMaracas 00004 Module: $RCSfile: wxMaracasSuperposition.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009/06/05 16:44:25 $ 00007 Version: $Revision: 1.4 $ 00008 00009 Copyright: (c) 2002, 2003 00010 License: 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notice for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef __wxMaracasSuperpositionH__ 00019 #define __wxMaracasSuperpositionH__ 00020 00021 #include <vector> 00022 #include <wx/wx.h> 00023 #include "wx/aui/aui.h" 00024 #include "wxMaracasSuperpositionPanel.h" 00025 #include "vtkMetaImageReader.h" 00026 #include "vtkImageData.h" 00027 00028 00029 00030 00031 class creaMaracasVisu_EXPORT wxMaracasSuperposition : public wxPanel 00032 { 00033 00034 public: 00035 00036 wxMaracasSuperposition(wxWindow* parent, std::vector<vtkImageData*> imgs); 00037 00038 ~wxMaracasSuperposition(); 00039 00040 static wxMaracasSuperposition* getInstance(wxWindow* parent, std::vector<vtkImageData*> imgs); 00041 00042 static wxMaracasSuperposition* getInstance(); 00043 00044 wxAuiNotebook * createNotebook(); 00045 00046 void createPanels(); 00047 00048 void configurePanels(); 00049 00050 void changeImages(std::vector<vtkImageData*> imgs); 00051 00052 std::vector<vtkImageData*> getImages( ); 00053 00054 00055 private: 00056 00057 static wxMaracasSuperposition * instance; 00058 00059 wxAuiManager m_mgr; 00060 00061 wxAuiNotebook * _notebook; 00062 00063 std::vector<vtkImageData*> _images; 00064 00065 wxMaracasSuperpositionPanel * _superposition1; 00066 00067 wxMaracasSuperpositionPanel * _superposition2; 00068 00069 wxMaracasSuperpositionPanel * _superposition3; 00070 00071 long m_notebook_style; 00072 00073 long m_notebook_theme; 00074 }; 00075 00076 #endif 00077