1 /*=========================================================================
4 Module: $RCSfile: wxMaracasFrame.h,v $
6 Date: $Date: 2008/10/31 16:32:10 $
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 __WX__MARACAS__FRAME__HXX__
19 #define __WX__MARACAS__FRAME__HXX__
24 #include "wxMaracas3DBrowser.h"
25 #include "wxMaracasQuantification.h"
26 #include <kernel/marSimpleDicom.h>
31 * \brief Principal Frame of the application
32 * MARACAS: MAgnetic Resonance Angiography Computer ASsisted analysis
36 class MAR_INTERFACEWX_EXPORT wxMaracasFrame: public wxFrame
40 wxMaracasFrame( wxFrame *parent, wxWindowID id = -1,
41 marInterface* mar = NULL, marSimpleDicom *simpleDicom=NULL, char *dictionaryFileName=NULL,
42 const wxString& title = wxT("MARACAS: MAgnetic Resonance Angiography Computer ASsisted analysis"),
43 const wxPoint& pos = wxDefaultPosition,
44 const wxSize& size = wxDefaultSize,
45 long style = wxDEFAULT_FRAME_STYLE);
47 void OnDeleteAxis(wxCommandEvent &event);
48 void OnNewAxis(wxCommandEvent &event);
50 void RecreateToolbar( );
52 void OnAboutCreatis( wxCommandEvent& event );
53 void OnQuit( wxCloseEvent& event );
54 // PS -> void OnLoadPatientData( wxCommandEvent& event );
55 void OnParameters( wxCommandEvent& event );
56 // PS -> void OnLoadImageData( wxCommandEvent& event );
57 void OnStartExperiment( wxCommandEvent& event );
58 // PS -> void OnHelp (wxCommandEvent& event );
59 void OnQuant (wxCommandEvent& event );
61 void OnRegenerateAll( wxCommandEvent& event );
62 void OnRegenerateSplineAxe( wxCommandEvent& event );
63 void OnCleanContours( wxCommandEvent& event );
64 void OnRegenerateSignal( wxCommandEvent& event );
68 wxMaracas3DBrowser* Getwxmaracas3dbrowser() { return _wxmaracas3dbrowser; }
69 wxMaracasQuantification* Getwxmaracasquantification() { return _wxmaracasquantification; }
72 wxPanel *_actual_panel;
73 wxGauge *_progressGauge;
75 marSimpleDicom *_marSimpleDicom;
77 wxMaracas3DBrowser *_wxmaracas3dbrowser;
78 wxMaracasQuantification *_wxmaracasquantification;
80 DECLARE_EVENT_TABLE( );
85 static const long TOOLBAR_STYLE = wxNO_BORDER | wxTB_FLAT | wxTB_DOCKABLE | wxTB_HORIZONTAL;
89 //! Toolbar & menu buttons
91 ID_TOOLBAR_DATA_BROWSER,
92 ID_TOOLBAR_PARAMETERS,
93 ID_TOOLBAR_IMAGE_BROWSER,
94 ID_TOOLBAR_3D_BROWSER,
102 ID_TOOLBAR_INTENSITY,
106 #endif // __WX__MARACAS__FRAME__HXX__