]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/wxMaracasFrame02.h
creaMaracasVisu Library
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / wxMaracasFrame02.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: wxMaracasFrame02.h,v $
5   Language:  C++
6   Date:      $Date: 2008/10/31 16:32:10 $
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 __WX__MARACAS__FRAME02__HXX__
19 #define __WX__MARACAS__FRAME02__HXX__
20
21
22 //#include <wx/dialog.h>
23 //#include <vtkCamera.h>
24
25 #include "wxMaracasPathology_01.h"
26 #include "marTypes.h"
27 #include "wxMaracas3DBrowser.h"
28 #include "wxMaracasQuantification.h"
29 #include "widgets/wxSurfaceSTLWidget.h"
30 #include "wxMaracasMPR.h"
31 #include "wxMaracasProcessingCT.h"
32 #include "wxMaracasEmptyPanel.h"
33 #include "wxMaracasEmptyPanel_2.h"
34 #include "wxMaracasEmptyPanel_3.h"
35 #include "wxMaracasQuantificationCT.h"
36 #include "wxMaracasImageBrowser02.h"
37 #include "wxMaracas_ManualTree_MPR.h"
38 #include "wxMaracas_ManualContour_Panel.h"
39 #include "widgets/wxManualRegistration3D.h"
40
41 #include "widgets/wxManualRegistration3D.h"
42 #include "wxMaracas_SegmentationFM3D.h"
43 #include "wxMaracas_ManualSegmentation_MPR.h"
44
45 //EED 15Avril2008       using namespace std;
46 //EED 15Avril2008       #include "ILPD/src/wxInterface/wxILPD.h"
47 #include "wxILPDwithImage.h"
48
49
50
51 class marInterface;
52 class marInterfaceCT;
53
54
55 // EED 3 nov 2006
56
57 class FileInfoNode
58 {
59 public:
60         FileInfoNode(string filename, string dirfile);
61         ~FileInfoNode();
62
63         string GetFileName();
64         string GetFileNameParent();
65         void   SetFileNameParent(string parent);
66         string GetDirFile();
67
68 private:
69         std::string _dirfile;
70         std::string _filename;
71         std::string _filenameParent;
72         FileInfoNode *_parentNode;
73         std::vector <FileInfoNode *> _lstFileInfoNodeChildrens;
74 protected:
75 };
76
77
78
79 class FileInformationModel
80 {
81 public:
82         FileInformationModel();
83         ~FileInformationModel();
84
85         void    ResetModel();
86         void    ReadModel(string dirFile);
87
88         int             GetSizeLstFile();
89         string  GetFileName(int i);
90
91         int             GetSizeLstFile_filter();
92         string  GetFileName_filter(int i);
93
94
95
96         void    Filtre_1(string filtre);
97         void    LinkRelations();
98
99 private:
100         string  _filtre_1;
101         std::vector <FileInfoNode *> _lstFileInfoNodes;
102 protected:
103 };
104
105
106 class wxReadWriteConf: public wxDialog
107 {
108 public:
109         wxReadWriteConf(wxWindow *parent,string parentFile);
110         ~wxReadWriteConf();
111
112         void    eventBtnWorkDirectory(wxCommandEvent &event);
113         void    eventBtnReadFile(wxCommandEvent &event);
114         void    eventBtnWriteFile(wxCommandEvent &event);
115         void    eventBtnReWriteFile(wxCommandEvent &event);
116
117         void    OnShowFile01(wxCommandEvent &event);
118         void    OnShowFile02(wxCommandEvent &event);
119
120         string  GetNameWriteFile();
121         string  GetNameReadFile();
122         string  GetWorkDirectory();
123         string  GetParentFile();
124
125 protected:
126
127 private:
128
129         static string                   _workDirectory;
130         string                                  _nameWriteFile;
131         string                                  _nameReadFile;
132         string                                  _parentFile;
133         wxStaticText                    *_directoryTXT;
134         FileInformationModel    *_fim;
135
136         wxListBox                               *_wxlstFiles;
137         wxListBox                               *_wxlstAllFiles;
138         wxTextCtrl                              *_wxviewinfo;
139
140         wxWindow *CreateReadModule(wxWindow *parent);
141         wxWindow *CreateListFilesModule(wxWindow *parent);
142         wxWindow *CreateReadFileModule(wxWindow *parent);
143         wxWindow *CreateListAllFilesModule(wxWindow *parent);
144
145
146
147         void    RefreshReadFilesList();
148         void    RefreshAllFilesList();
149         void    ShowInformation(wxListBox *wxlistbox , wxTextCtrl* wxtextctrl );
150         void    ResetView();
151
152
153 };
154  
155
156
157
158
159 /**
160  * \brief Principal Frame of the application 
161  * MARACAS: MAgnetic Resonance Angiography Computer ASsisted analysis
162  *
163  */
164
165
166 class MAR_INTERFACEWX_EXPORT wxMaracasFrame02: public wxFrame
167 {
168 public:
169     wxMaracasFrame02( wxFrame *parent, wxWindowID id = -1,
170             marInterface* mar = NULL, marInterfaceCT* marCT = NULL, char *dictionaryFileName=NULL,
171             const wxString& title = wxT("MARACAS: MAgnetic Resonance Angiography Computer ASsisted analysis"),
172             const wxPoint& pos = wxDefaultPosition,
173             const wxSize& size = wxDefaultSize,
174             long style = wxDEFAULT_FRAME_STYLE);
175     void RecreateToolbar( );
176     void OnQuit( wxCloseEvent& event );
177     void OnLoadPatientData( wxCommandEvent& event );
178     void OnParameters( wxCommandEvent& event );
179
180 // EED Borrme not used
181     void OnLoadImageData( wxListEvent& event );
182
183     void OnLoadImageData02( wxCommandEvent& event );
184     void OnStartExperiment( wxCommandEvent& event );
185     void OnHelp (wxCommandEvent& event );
186     void OnQuant (wxCommandEvent& event );
187     void OnQuantificationCT (wxCommandEvent& event );
188         void OnAboutCreatis( wxCommandEvent& event );
189
190     void OnStl (wxCommandEvent& event );
191         void OnNewAxis(wxCommandEvent &WXUNUSED(event));
192         void OnDeleteAxis(wxCommandEvent &WXUNUSED(event));
193
194         void OnRegenerateAll( wxCommandEvent& event );
195         void OnRegenerateSplineAxe(     wxCommandEvent& event );
196         void OnCleanContours( wxCommandEvent& event );
197         void OnRegenerateSignal( wxCommandEvent& event );
198         
199         void OnMPR(wxCommandEvent& event );
200         void OnProcessingCT(wxCommandEvent& event );
201
202         void OnEmptyPanel(wxCommandEvent& event );
203         void OnEmptyPanel_2(wxCommandEvent& event );
204
205
206
207 private:
208         wxMaracas3DBrowser              *_wxmaracas3dbrowser;
209         wxMaracasQuantification         *_wxmaracasquantification;
210         wxMaracasQuantificationCT       *_wxmaracasquantification_ct;
211         wxSurfaceSTLWidget              *_wxmaracassurfaceSTLwidget;
212         wxMaracasMPR                    *_wxMaracasMPR;
213         wxMaracasProcessingCT           *_wxMaracasProcessingCT;
214
215         wxMaracasEmptyPanel             *_wxMaracasEmptyPanel; 
216         wxMaracasEmptyPanel_2           *_wxMaracasEmptyPanel_2; 
217
218         wxPanel*                        _actual_panel;
219         wxGauge*                        _progressGauge;
220         marInterface*                   _mar;
221         marInterfaceCT*                 _marCT;
222
223     DECLARE_EVENT_TABLE( );
224
225         void DeletePanels();
226
227 };
228
229 static const long TOOLBAR_STYLE = wxNO_BORDER | wxTB_FLAT | wxTB_DOCKABLE | wxTB_HORIZONTAL;
230
231 enum
232 {
233     //! Toolbar & menu buttons
234     ID_TOOLBAR = 200,
235     ID_TOOLBAR_DATA_BROWSER,
236     ID_TOOLBAR_PARAMETERS,
237     ID_TOOLBAR_IMAGE_BROWSER,
238     ID_TOOLBAR_3D_BROWSER,
239     ID_TOOLBAR_PLANS,
240     ID_TOOLBAR_QUANT,
241     ID_TOOLBAR_MPR,
242     ID_TOOLBAR_PROCESSING_CT,
243     ID_TOOLBAR_QUANTIFICATION_CT,
244         ID_TOOLBAR_EMPTY_PANEL,
245         ID_TOOLBAR_EMPTY_PANEL_2,
246     ID_TOOLBAR_ROTATE,
247     ID_TOOLBAR_BRIGHT,
248     ID_TOOLBAR_PAN,
249     ID_TOOLBAR_ZOOM,
250     ID_TOOLBAR_CLEAR,
251     ID_TOOLBAR_INTENSITY,
252     ID_TOOLBAR_HELP,
253     ID_TOOLBAR_STL,
254 };
255
256
257 //----------------------------------------------------------------------------
258 //----------------------------------------------------------------------------
259 //----------------------------------------------------------------------------
260
261
262 class wxMaracasNoteBookPatientLstVoi: public wxPanel
263 {
264 public:
265     wxMaracasNoteBookPatientLstVoi(wxWindow *parent);
266     ~wxMaracasNoteBookPatientLstVoi();
267
268         void    OnChangePageToVOI(wxNotebookEvent& event);
269         void    OnChangePage(wxNotebookEvent& event);
270         void    OnSelectPatientStudySerieImage(wxCommandEvent& event);
271         void    OnReadWriteConf_Maracas(wxCommandEvent& event);
272
273         void    SetMarInterface(marInterface *mar);
274         wxMaracasImageBrowser02* GetWxMaracasImageBrowser02();
275         wxILPD  *GetWxILPD();
276
277         void    OnPersistence_Read(wxCommandEvent& event);
278         void    OnPersistence_Write(wxCommandEvent& event);
279         void    Persistence_Read_Images();
280         void    Persistence_Read_VOI();
281
282         void    Persistence_Write_Images_Database();
283         void    Persistence_Write_Images_ManualReadFileList();
284
285         void    Persistence_Write_VOI();
286
287         string  GetRWCM_namefileVOI();
288
289         wxNotebook *GetNoteBook();
290
291         DECLARE_EVENT_TABLE();
292
293 private:
294
295 //EED 4 oct 2006
296         marRAWFiles                             *_marRAWFiles;
297         marRAW2Files                    *_marRAW2Files;
298         marRAW2AsciiFiles       *_marRAW2AsciiFiles;
299     marGdcmDicomILPD            *_marGdcmDicomILPD;
300
301 // EED 14 Nov 2006
302         wxReadWriteConf                 *_wxreadwriteconf;
303
304 // EED 26 Nov 2006
305         string                                  _RWCM_namefileReadImages;
306         string                                  _RWCM_namefileVOI;
307
308
309         marInterface                    *_mar;
310         marInterface                    *_mar2;
311         wxNotebook                              *_noteBook;
312         string                                  _backStringFirstFile;
313         string                                  _backStringFirstFile2;
314         int                                             _voiBack[ 6 ];
315
316         wxILPD                                  *_wxILPD;
317         wxMaracasImageBrowser02 *_wxMaracasImageBrowser02;
318         wxMaracasMPR                    *_wxMaracasMPR;
319
320         wxListView                              *_dicomPanelListView;
321
322         wxWidgetMesure2D                *_widgetMesure;
323
324 //EED 15Avril2008               wxVtk2DBaseView                 *_wxvtk2Dbaseview;
325 //EED 15Avril2008               vtkBaseData                             *_vtkbasedata; 
326 //EED 15Avril2008               wxPanel                                 *_panelImage;
327
328 //EED 15Avril2008               wxSplitterWindow    *_pnlSplitter_ViewImage_wxILPD;
329 //EED 15Avril2008               wxSplitterWindow    *_pnlSplitter_Image_DicomList;
330
331 //EED 15Avril2008               void    SetItem( wxListView *wxlistview, int line, int col, wxString text ) ;
332
333 //EED 15Avril2008               void    ResetwxListView();
334 //EED 15Avril2008               void    SelectedPatient();
335 //EED 15Avril2008               void    SelectedSerie();
336 //EED 15Avril2008               void    SelectedImage();
337 //EED 15Avril2008               void    ShowDicomInformation(string *fileImageName);
338 //EED 15Avril2008               void    ShowDicomImage(string *fileImageName);
339
340         void    CreateMPRPanel();
341
342
343 };
344
345
346 //----------------------------------------------------------------------------
347 //----------------------------------------------------------------------------
348 //----------------------------------------------------------------------------
349
350
351 class wxMaracasNoteBookIRMQuantification: public wxPanel
352 {
353 public:
354     wxMaracasNoteBookIRMQuantification(wxWindow *parent, marInterface *mar);
355     ~wxMaracasNoteBookIRMQuantification();
356         void OnChangePageQuantification(wxNotebookEvent& event);
357         void OnChangePage(wxNotebookEvent& event);
358         void OnNewAxis(wxCommandEvent &WXUNUSED(event));
359         void OnDeleteAxis(wxCommandEvent &WXUNUSED(event));
360         void OnQuantification(wxCommandEvent & event);
361
362         DECLARE_EVENT_TABLE();
363 private:
364         bool                                    _existAxis;
365         marInterface                    *_mar;
366         wxMaracas3DBrowser              *_wxmaracas3dbrowser;
367         wxMaracasQuantification *_wxmaracasquantification;
368         wxNotebook                              *_noteBook;
369 };
370
371 //----------------------------------------------------------------------------
372 //----------------------------------------------------------------------------
373 //----------------------------------------------------------------------------
374
375
376 class wxMaracasNoteBookCTQuantification: public wxPanel
377 {
378 public:
379     wxMaracasNoteBookCTQuantification(wxWindow *parent, marInterface *mar, string _namefileParentRWCM);
380     ~wxMaracasNoteBookCTQuantification();
381         void OnChangePageQuantification(wxNotebookEvent& event);
382         void OnChangePage(wxNotebookEvent& event);
383         void OnQuantification(wxCommandEvent& event);
384
385         void OnReadWriteConf_Maracas(wxCommandEvent& event);
386         void OnPersistence_Read(wxCommandEvent& event);
387         void OnPersistence_Write(wxCommandEvent& event);
388         void Persistence_Read_MPR();
389         void Persistence_Read_ProcessingCT();
390         void Persistence_Read_ContourQauntificationCT();
391         void Persistence_Write_MPR();
392         void Persistence_Write_ProcessingCT();
393         void Persistence_Write_ContourQuantificationCT();
394          
395
396         DECLARE_EVENT_TABLE();
397 private:
398
399         string                                          _namefileParentRWCM;
400         string                                          _RWCM_namefileMPR;
401         string                                          _RWCM_namefileProcessingCT;
402         string                                          _RWCM_namefileContourQuantificationCT;
403         wxReadWriteConf                         *_wxreadwriteconf;
404
405         bool                                            _readyQuantification;
406         marInterfaceCT                          *_mar;
407         wxMaracasMPR                            *_wxMaracasMPR;
408         wxMaracasProcessingCT           *_wxMaracasProcessingCT;
409         wxMaracasQuantificationCT       *_wxmaracasquantification_ct;
410         wxNotebook                                      *_noteBook;
411 };
412
413
414
415 //----------------------------------------------------------------------------
416 //----------------------------------------------------------------------------
417 //----------------------------------------------------------------------------
418
419
420 class wxMaracasNoteBookVascularTreeExtraction: public wxPanel
421 {
422 public:
423     wxMaracasNoteBookVascularTreeExtraction(wxWindow *parent, marInterface *mar);
424     ~wxMaracasNoteBookVascularTreeExtraction();
425         void OnChangePageQuantification(wxNotebookEvent& event);
426         void OnChangePage(wxNotebookEvent& event);
427
428         DECLARE_EVENT_TABLE();
429 private:
430         marInterface                            *_mar;
431         wxMaracasEmptyPanel_2           *_wxMaracasEmptyPanel_2;
432         wxMaracasPathology_01           *_wxMaracasPathology_01;
433         wxNotebook                                      *_noteBook;
434 };
435
436
437
438 //----------------------------------------------------------------------------
439 //----------------------------------------------------------------------------
440 //----------------------------------------------------------------------------
441
442
443 class wxMaracasNoteBookSTLFormat: public wxPanel
444 {
445 public:
446     wxMaracasNoteBookSTLFormat(wxWindow *parent, marInterface *mar);
447     ~wxMaracasNoteBookSTLFormat();
448         void OnChangePageSTLFormat(wxNotebookEvent& event);
449         void OnChangePage(wxNotebookEvent& event);
450         void OnNewAxis(wxCommandEvent &WXUNUSED(event));
451         void OnDeleteAxis(wxCommandEvent &WXUNUSED(event));
452
453         wxPanel *CreateSTLFormat_01(wxWindow *parent,marInterface *mar);
454         wxPanel *CreateSTLFormat_02(wxWindow *parent,marInterface *mar);
455         wxPanel *CreateSTLFormat_03(wxWindow *parent,marInterface *mar);
456
457         DECLARE_EVENT_TABLE();
458 private:
459
460
461         // STL 01
462         bool                                    _existAxis;
463         marInterface                    *_mar;
464         wxMaracas3DBrowser              *_wxmaracas3dbrowser;
465         wxSurfaceSTLWidget              *_wxmaracassurfaceSTLwidget; 
466         wxNotebook                              *_noteBook_01;
467
468         // STL 02
469         wxMaracasMPR                    *_wxMaracasMPR; 
470
471         // General
472         wxNotebook                              *_noteBook_general;
473 };
474
475 //----------------------------------------------------------------------------
476 //----------------------------------------------------------------------------
477 //----------------------------------------------------------------------------
478
479
480 class wxMaracasNoteBookTests: public wxPanel
481 {
482 public:
483     wxMaracasNoteBookTests(wxWindow *parent, marInterface *mar);
484     ~wxMaracasNoteBookTests();
485         void OnChangePageTests(wxNotebookEvent& event);
486         void OnChangePage(wxNotebookEvent& event);
487
488         DECLARE_EVENT_TABLE();
489 private:
490         marInterface                                            *_mar;
491         wxMaracasEmptyPanel_3                           *_wxMaracasEmptyPanel_3; 
492         wxMaracasEmptyPanel_4                           *_wxMaracasEmptyPanel_4;
493
494         wxMaracas_ManualContour_Panel           *_wxmanualcontourpanel;
495         wxMaracas_ManualTree_MPR                        *_wxMaracas_ManualTree_MPR;
496         wxMaracas_ManualSegmentation_MPR        *_wxMaracas_ManualSegmentation_MPR;
497         wxMaracas_SegmentationFM3D                      *_wxMaracas_SegmentationFM3D; 
498
499         wxNotebook                                                      *_noteBook;
500 };
501
502 class wxMaracasNoteBookManualRegistration: public wxPanel
503 {
504 public:
505     wxMaracasNoteBookManualRegistration(wxWindow *parent, marInterface *mar);
506     ~wxMaracasNoteBookManualRegistration();
507         void OnChangePageTests(wxNotebookEvent& event);
508         void OnChangePage(wxNotebookEvent& event);
509
510         bool GetIfSecondVolumeExist();
511         void GenerateSecondVolume(marInterface *mar);
512
513
514
515         DECLARE_EVENT_TABLE();
516 private:
517         marInterface                            *_mar;
518         marInterface                            *_marB;
519         wxNotebook                                      *_noteBook;
520
521         wxManualRegistration3D          *_wxmanualregistration3D;
522
523 };
524
525
526 //----------------------------------------------------------------------------
527 //----------------------------------------------------------------------------
528 //----------------------------------------------------------------------------
529
530
531 class wxMaracasGenericChiFra: public wxMDIChildFrame
532 {
533 public:
534     wxMaracasGenericChiFra(wxMDIParentFrame *parent, const wxString& title, const wxPoint& pos, const wxSize& size, const long style);
535     ~wxMaracasGenericChiFra();
536     void OnClose(wxCloseEvent& event);
537         void SetBlockCloseEvent(bool blockClose);
538         DECLARE_EVENT_TABLE();
539 private:
540         bool                                    _blockClose;
541 };
542
543
544 //----------------------------------------------------------------------------
545 //----------------------------------------------------------------------------
546 //----------------------------------------------------------------------------
547
548 class wxProcessingImagesControl: public wxPanel
549 {
550 public:
551         wxProcessingImagesControl(wxWindow *parent);
552         void OnActiveIRMQuantificationFrame(wxCommandEvent& event);
553         void OnActiveCTQuantificationFrame(wxCommandEvent& event);
554         void OnActiveVascularTreeExtractionFrame(wxCommandEvent& event);
555         void OnActiveSTLFormatFrame(wxCommandEvent& event);
556         void OnActiveTestsFrame(wxCommandEvent& event);
557         void OnActiveTests2Frame(wxCommandEvent& event);
558
559         ~wxProcessingImagesControl();
560 private:
561 };
562 //----------------------------------------------------------------------------
563 //----------------------------------------------------------------------------
564 //----------------------------------------------------------------------------
565
566 class wxProcessingImagesTabControl: public wxPanel
567 {
568 public:
569         wxProcessingImagesTabControl(wxWindow *parent,marInterface *mar,wxMaracasNoteBookPatientLstVoi  *patientlstvoi);
570         ~wxProcessingImagesTabControl();
571         void OnChangingPage(wxNotebookEvent& event);
572         void OnChangePage(wxNotebookEvent& event);
573
574 private:
575     marInterface                                                        *_mar;
576         wxMaracasNoteBookPatientLstVoi                  *_patientlstvoi;
577         wxMaracasNoteBookIRMQuantification              *_irmQuantification;
578         wxMaracasNoteBookCTQuantification               *_ctQuantification;
579         wxMaracasNoteBookVascularTreeExtraction *_vascularTreeExtraction;
580         wxMaracasNoteBookSTLFormat                              *_stlFormat;
581
582         wxNotebook      *_noteBook;
583
584 };
585
586 //----------------------------------------------------------------------------
587 //----------------------------------------------------------------------------
588 //----------------------------------------------------------------------------
589
590 class MAR_INTERFACEWX_EXPORT wxMaracasFrame03: public wxMDIParentFrame
591 {
592 public:
593     wxMaracasFrame03( wxFrame *parent, wxWindowID id = -1,
594             marInterface* mar = NULL, char *dictionaryFileName=NULL,
595             const wxString& title = wxT("MARACAS: MAgnetic Resonance Angiography Computer ASsisted analysis"),
596             const wxPoint& pos = wxDefaultPosition,
597             const wxSize& size = wxDefaultSize,
598             long style = wxDEFAULT_FRAME_STYLE);
599         ~wxMaracasFrame03();
600         void OnActivePatientListVoiFrame(wxCommandEvent& event);
601         void OnActiveProcessingFrame(wxCommandEvent& event);
602         void OnActiveParams(wxCommandEvent& event);
603         void OnActiveAbout(wxCommandEvent& event);
604         void OnActiveProcessingModules(wxCommandEvent& event);
605         void OnActiveIRMQuantificationFrame(wxCommandEvent& event);
606         void OnActiveCTQuantificationFrame(wxCommandEvent& event);
607         void OnActiveVascularTreeExtractionFrame(wxCommandEvent& event);
608         void OnActiveSTLFormatFrame(wxCommandEvent& event);
609         void OnActiveTestsFrame(wxCommandEvent& event);
610         void OnActiveTests2Frame(wxCommandEvent& event);
611         void OnActiveQuit(wxCommandEvent& event);
612         void CreateWindowMDI( int type );
613         void Configure_WindowMDI( int type );
614
615         void eventMenuDeleteAllPatientInDB(wxCommandEvent& event);
616         void eventMenuDeletePatientInDB(wxCommandEvent& event);
617         void OnFilterInDB(wxCommandEvent& event);
618         void OnOrderingInDB(wxCommandEvent& event);
619         void OnEditColumnsInDB(wxCommandEvent& event);
620
621         DECLARE_EVENT_TABLE();
622
623 private:
624     marInterface                                                *_mar;
625 //      wxMaracasGenericChiFra                          *_frame_ListPatieint_Voi;
626         wxFrame                                         *_frame_ListPatieint_Voi;
627         wxMaracasNoteBookPatientLstVoi          *_patientlstvoi;
628         wxMaracasNoteBookManualRegistration     *_manualRegistrationPanel;
629
630
631     wxBitmapButton                                      *_btnProcessingData;
632     wxBitmapButton                                      *_btnCTQuant;
633     wxBitmapButton                                      *_btnIRMQuant;
634     wxBitmapButton                                      *_btnTreeExtrac;
635     wxBitmapButton                                      *_btnSTLFormat;
636
637         wxMenu                                                  *_option_menu;
638
639         wxMenuBar *CreateMenuBarBase();
640         void InitToolBar(wxToolBar* toolBar);
641 };
642
643
644 // menu items ids
645 enum
646 {
647     MDI_QUIT = 100,
648     MDI_NEW_WINDOW,
649     MDI_REFRESH,
650     MDI_CHANGE_TITLE,
651     MDI_CHANGE_POSITION,
652     MDI_CHANGE_SIZE,
653     MDI_CHILD_QUIT,
654     MDI_PARAMETERS,
655     MDI_ABOUT
656 };
657
658
659
660
661 #endif // __WX__MARACAS__FRAME02__HXX__