1 #ifndef __wxContourMainFrame_h_INCLUDED_H__
2 #define __wxContourMainFrame_h_INCLUDED_H__
5 // -----------------------------------------------------------------------------------------------------------
6 // WX headers inclusion.
7 // For compilers that support precompilation, includes <wx/wx.h>.
8 // -----------------------------------------------------------------------------------------------------------
10 #include <wx/wxprec.h>
19 //------------------------------------------------------------------------------------------------------------
21 //------------------------------------------------------------------------------------------------------------
22 #include "wx/aui/aui.h"
24 #include "ContourThing.h"
26 #include "ImageSourceThing.h"
27 #include "ImageSectionThing.h"
28 #include "InstantMembersNameList.h"
29 #include "OutlineGroup.h"
30 #include "SomeEnvironment.h"
31 #include "ContourWorkspace.h"
32 #include "ContourWrap_ViewControl.h"
35 #include "OutlineModelManager.h"
36 #include "wxInstantChooserPanel.h"
37 #include "wxContour_ButtonsBar.h"
38 #include "wxContour_ControlPanel.h"
39 #include "wxContourViewPanel.h"
40 #include "wxContour_Grid.h"
41 #include "wxContour_DrawToolsPanel.h"
42 #include "wxContour_OperationsToolsPanel.h"
43 #include "wxContour_AutomaticFormsToolsPanel.h"
44 #include "wxContour_StandardToolsPanel.h"
45 #include "wxContour_EdtionToolsPanel.h"
46 #include "wxContour_ListViewPanel.h"
48 #include "wxVtkBaseView_SceneManager.h"
50 //------------------------------------------------------------------------------------------------------------
52 //------------------------------------------------------------------------------------------------------------
54 //BEGIN_DECLARE_EVENT_TYPES()
55 //END_DECLARE_EVENT_TYPES()
57 /** file wxContourMainFrame.h */
60 //------------------------------------------------------------------------------------------------------------
62 //------------------------------------------------------------------------------------------------------------
64 class wxContourMainFrame : public wxPanel {
68 //------------------------------------------------------------------------------------------------------------
69 // Constructors & Destructors
70 //------------------------------------------------------------------------------------------------------------
73 wxContourMainFrame(wxWindow* parent, wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style = wxDEFAULT_FRAME_STYLE | wxSUNKEN_BORDER);
75 ~wxContourMainFrame();
77 //------------------------------------------------------------------------------------------------------------
78 // Creational and initialization methods
79 //------------------------------------------------------------------------------------------------------------
80 bool configurePanels(wxAuiNotebook * theNoteBook );
82 void setNotebook( wxAuiNotebook * theNoteBook );
84 wxAuiNotebook * createNotebook();
86 void createInstantChooserPanel(wxAuiNotebook * parent);
88 void createViewPanel(wxAuiNotebook * parent);
90 void createInstantChooserPanel(wxWindow * parent);
92 void createViewPanel(wxWindow * parent);
94 void setViewPanel( wxContourViewPanel * theViewPanel );
96 void setInstantChooserPanel( wxInstantChooserPanel * theInstantChooserPanel );
98 void setButtonsBar( wxContour_ButtonsBar * theButtonsBar );
100 void setGrid( wxContour_Grid * theGridPanel );
102 void setDrawToolsPanel( wxContour_DrawToolsPanel * theDrawToolsPanel );
104 void setOperationsToolsPanel( wxContour_OperationsToolsPanel * theDrawToolsPanel );
106 void setAutomaticFormsPanel( wxContour_AutomaticFormsToolsPanel * theAutoFormsPanel );
108 void setStandardToolsPanel( wxContour_StandardToolsPanel * theStandardToolsPanel );
110 void setEditionToolsPanel( wxContour_EdtionToolsPanel * theEditionToolsPanel );
112 void setListViewPanel( wxContour_ListViewPanel * theListViewPanel );
115 ////------------------------------------------------------------------------------------------------------------
116 //// Methods for capturing events
117 ////------------------------------------------------------------------------------------------------------------
120 ////------------------------------------------------------------------------------------------------------------
121 //// Model management methods
122 ////------------------------------------------------------------------------------------------------------------
125 //------------------------------------------------------------------------------------------------------------
126 // Attributes getters and setters
127 //------------------------------------------------------------------------------------------------------------
129 //------------------------------------------------------------------------------------------------------------
130 // Other functional methods
131 //------------------------------------------------------------------------------------------------------------
135 //------------------------------------------------------------------------------------------------------------
137 //------------------------------------------------------------------------------------------------------------
140 //------------------------------------------------------------------------------------------------------------
142 //------------------------------------------------------------------------------------------------------------
146 wxArrayString m_perspectives;
147 wxMenu* m_perspectives_menu;
149 long m_notebook_style;
150 long m_notebook_theme;
152 wxContourViewPanel * _theViewPanel;
154 OutlineModelManager * _modelManager;
156 wxInstantChooserPanel * _instantPanel;
158 wxContour_ButtonsBar * _buttonsBar;
160 wxContour_Grid * _gridPanel;
162 wxContour_DrawToolsPanel * _drawToolsPanel;
164 wxContour_OperationsToolsPanel * _operationsToolsPanel;
166 wxContour_AutomaticFormsToolsPanel * _autoFormsPanel;
168 wxContour_StandardToolsPanel *_standardToolsPanel;
170 wxContour_EdtionToolsPanel * _editionToolsPanel;
172 wxContour_ListViewPanel * _listViewPanel;
174 wxVtkBaseView_SceneManager * _sceneManager;
176 Instant * _actualInstant;
178 /*DECLARE_CLASS(wxContourMainFrame)
179 // any class wishing to process wxWindows events must use this macro
180 DECLARE_EVENT_TABLE()*/
181 bool _creatingContoursActive;