wxMaracasFrame.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: wxMaracasFrame.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009/05/14 13:54:54 $
00007   Version:   $Revision: 1.1 $
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 __WX__MARACAS__FRAME__HXX__
00019 #define __WX__MARACAS__FRAME__HXX__
00020 
00021 #include <wx/wx.h>
00022 #include <wx/frame.h>
00023 #include "marTypes.h"
00024 #include "wxMaracas3DBrowser.h"
00025 #include "wxMaracasQuantification.h"
00026 #include <kernel/marSimpleDicom.h>
00027 
00028 class marInterface;
00029 
00036 class MAR_INTERFACEWX_EXPORT wxMaracasFrame: public wxFrame
00037 {
00038 public:
00039 
00040     wxMaracasFrame( wxFrame *parent, wxWindowID id = -1,
00041             marInterface* mar = NULL, marSimpleDicom *simpleDicom=NULL, char *dictionaryFileName=NULL,
00042             const wxString& title = wxT("MARACAS: MAgnetic Resonance Angiography Computer ASsisted analysis"),
00043             const wxPoint& pos = wxDefaultPosition,
00044             const wxSize& size = wxDefaultSize,
00045             long style = wxDEFAULT_FRAME_STYLE);
00046         
00047         void OnDeleteAxis(wxCommandEvent &event);
00048         void OnNewAxis(wxCommandEvent &event);
00049         
00050     void RecreateToolbar( );
00051 
00052         void OnAboutCreatis( wxCommandEvent& event );
00053     void OnQuit( wxCloseEvent& event );
00054 // PS ->     void OnLoadPatientData( wxCommandEvent& event );
00055     void OnParameters( wxCommandEvent& event );
00056 // PS ->     void OnLoadImageData( wxCommandEvent& event );
00057     void OnStartExperiment( wxCommandEvent& event );
00058 // PS ->     void OnHelp (wxCommandEvent& event );
00059     void OnQuant (wxCommandEvent& event );
00060 
00061         void OnRegenerateAll( wxCommandEvent& event );
00062         void OnRegenerateSplineAxe(     wxCommandEvent& event );
00063         void OnCleanContours( wxCommandEvent& event );
00064         void OnRegenerateSignal( wxCommandEvent& event );
00065 
00066 
00067 
00068         wxMaracas3DBrowser*                     Getwxmaracas3dbrowser()                 { return _wxmaracas3dbrowser;           }
00069         wxMaracasQuantification*        Getwxmaracasquantification()    { return _wxmaracasquantification;      }
00070 
00071 private:
00072     wxPanel                                     *_actual_panel;
00073     wxGauge                                     *_progressGauge;
00074     marInterface                        *_mar;
00075         marSimpleDicom                  *_marSimpleDicom;
00076 
00077         wxMaracas3DBrowser              *_wxmaracas3dbrowser;
00078         wxMaracasQuantification *_wxmaracasquantification;
00079 
00080     DECLARE_EVENT_TABLE( );
00081 
00082         void DeletePanels();
00083 };
00084 
00085 static const long TOOLBAR_STYLE = wxNO_BORDER | wxTB_FLAT | wxTB_DOCKABLE | wxTB_HORIZONTAL;
00086 
00087 enum
00088 {
00090     ID_TOOLBAR = 200,
00091     ID_TOOLBAR_DATA_BROWSER,
00092     ID_TOOLBAR_PARAMETERS,
00093     ID_TOOLBAR_IMAGE_BROWSER,
00094     ID_TOOLBAR_3D_BROWSER,
00095     ID_TOOLBAR_PLANS,
00096     ID_TOOLBAR_QUANT,
00097     ID_TOOLBAR_ROTATE,
00098     ID_TOOLBAR_BRIGHT,
00099     ID_TOOLBAR_PAN,
00100     ID_TOOLBAR_ZOOM,
00101     ID_TOOLBAR_CLEAR,
00102     ID_TOOLBAR_INTENSITY,
00103     ID_TOOLBAR_HELP,
00104 };
00105 
00106 #endif // __WX__MARACAS__FRAME__HXX__

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1