]> Creatis software - creaContours.git/blob - lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.h
*** empty log message ***
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourMainFrame.h
1 #ifndef __wxContourMainFrame_h_INCLUDED_H__
2 #define __wxContourMainFrame_h_INCLUDED_H__
3
4
5 // -----------------------------------------------------------------------------------------------------------
6 // WX headers inclusion.
7 // For compilers that support precompilation, includes <wx/wx.h>.
8 // -----------------------------------------------------------------------------------------------------------
9
10 #include <wx/wxprec.h>
11 #ifdef __BORLANDC__
12 #pragma hdrstop
13 #endif
14 #ifndef WX_PRECOMP
15 #include <wx/wx.h>
16 #endif
17
18
19 //------------------------------------------------------------------------------------------------------------
20 // Includes
21 //------------------------------------------------------------------------------------------------------------
22 #include "wx/aui/aui.h"
23
24 #include "ContourThing.h"
25 #include "AxeThing.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"
33 #include "Instant.h"
34
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"
47
48 #include "wxVtkBaseView_SceneManager.h"
49
50 //------------------------------------------------------------------------------------------------------------
51 // Events declaration
52 //------------------------------------------------------------------------------------------------------------
53
54 //BEGIN_DECLARE_EVENT_TYPES()
55 //END_DECLARE_EVENT_TYPES()
56
57 /** file wxContourMainFrame.h */
58
59
60 //------------------------------------------------------------------------------------------------------------
61 // Class definition
62 //------------------------------------------------------------------------------------------------------------
63
64 class wxContourMainFrame : public wxPanel {
65
66         public:
67
68         //------------------------------------------------------------------------------------------------------------
69         // Constructors & Destructors
70         //------------------------------------------------------------------------------------------------------------
71         
72
73         wxContourMainFrame(wxWindow* parent, wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style  = wxDEFAULT_FRAME_STYLE | wxSUNKEN_BORDER);
74
75         ~wxContourMainFrame();
76
77         //------------------------------------------------------------------------------------------------------------
78         // Creational and initialization methods
79         //------------------------------------------------------------------------------------------------------------
80         bool configurePanels(wxAuiNotebook * theNoteBook );
81
82         void setNotebook( wxAuiNotebook * theNoteBook );
83
84         wxAuiNotebook * createNotebook();
85
86         void createInstantChooserPanel(wxAuiNotebook * parent);
87
88         void createViewPanel(wxAuiNotebook * parent);
89         
90         void createInstantChooserPanel(wxWindow * parent);
91
92         void createViewPanel(wxWindow * parent);
93                 
94         void setViewPanel(  wxContourViewPanel * theViewPanel );
95
96         void setInstantChooserPanel(  wxInstantChooserPanel * theInstantChooserPanel );
97
98         void setButtonsBar(  wxContour_ButtonsBar * theButtonsBar );
99
100         void setGrid(  wxContour_Grid * theGridPanel );
101
102         void setDrawToolsPanel(  wxContour_DrawToolsPanel * theDrawToolsPanel );
103
104         void setOperationsToolsPanel(  wxContour_OperationsToolsPanel * theDrawToolsPanel );
105
106         void setAutomaticFormsPanel(  wxContour_AutomaticFormsToolsPanel * theAutoFormsPanel );
107
108         void setStandardToolsPanel(  wxContour_StandardToolsPanel * theStandardToolsPanel );
109
110         void setEditionToolsPanel(  wxContour_EdtionToolsPanel * theEditionToolsPanel );
111
112         void setListViewPanel(  wxContour_ListViewPanel * theListViewPanel );
113
114
115         ////------------------------------------------------------------------------------------------------------------
116         //// Methods for capturing events
117         ////------------------------------------------------------------------------------------------------------------
118         
119
120         ////------------------------------------------------------------------------------------------------------------
121         ////  Model management methods
122         ////------------------------------------------------------------------------------------------------------------
123
124         
125         //------------------------------------------------------------------------------------------------------------
126         //  Attributes getters and setters
127         //------------------------------------------------------------------------------------------------------------
128
129         //------------------------------------------------------------------------------------------------------------
130         //  Other functional methods
131         //------------------------------------------------------------------------------------------------------------
132
133
134 private:
135         //------------------------------------------------------------------------------------------------------------
136         //  Private methods
137         //------------------------------------------------------------------------------------------------------------
138
139         
140         //------------------------------------------------------------------------------------------------------------
141         // Attributtes
142         //------------------------------------------------------------------------------------------------------------
143
144         wxAuiManager m_mgr;
145     /*
146         wxArrayString m_perspectives;
147     wxMenu* m_perspectives_menu;
148         */
149     long m_notebook_style;
150     long m_notebook_theme;
151
152         wxContourViewPanel * _theViewPanel;
153
154         OutlineModelManager * _modelManager;
155
156         wxInstantChooserPanel * _instantPanel;
157
158         wxContour_ButtonsBar * _buttonsBar;
159
160         wxContour_Grid *  _gridPanel;
161
162         wxContour_DrawToolsPanel * _drawToolsPanel;
163
164         wxContour_OperationsToolsPanel * _operationsToolsPanel;
165
166         wxContour_AutomaticFormsToolsPanel * _autoFormsPanel; 
167
168         wxContour_StandardToolsPanel *_standardToolsPanel;
169
170         wxContour_EdtionToolsPanel * _editionToolsPanel;
171
172         wxContour_ListViewPanel * _listViewPanel;
173
174         wxVtkBaseView_SceneManager * _sceneManager;
175
176         Instant * _actualInstant;
177
178         /*DECLARE_CLASS(wxContourMainFrame)
179         // any class wishing to process wxWindows events must use this macro
180         DECLARE_EVENT_TABLE()*/
181         bool _creatingContoursActive;
182
183 };
184
185 #endif