wxMaracasImageBrowser02.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __WX__IMAGE__BROWSER02__
00019 #define __WX__IMAGE__BROWSER02__
00020
00021 #include "wx/wxprec.h"
00022 #ifdef __BORLANDC__
00023 # pragma hdrstop
00024 #endif
00025 #ifndef WX_PRECOMP
00026 #include <wx/wx.h>
00027 #endif
00028
00029
00030
00031 #include <wx/window.h>
00032 #include <wx/imaglist.h>
00033 #include <wx/panel.h>
00034 #include <wx/listctrl.h>
00035 #include <wx/splitter.h>
00036
00037 #include "marParameters.h"
00038 #include "widgets/wxVtkBaseView.h"
00039
00040 #include "widgets/wxReadingPriorityPanel.h"
00041
00042 #include "manualContourModelRoi.h"
00043 #include "manualRoiControler.h"
00044 #include "manualViewRoi.h"
00045
00046
00047 BEGIN_DECLARE_EVENT_TYPES()
00048 DECLARE_EVENT_TYPE(wxEVT_MARACASIMAGEBROWSERCUTIMAGE, -1)
00049 END_DECLARE_EVENT_TYPES()
00050
00051
00055 class wxMaracasImageBrowser02 : public wxPanel
00056 {
00057 public:
00058 wxMaracasImageBrowser02( wxWindow* parent, marFilesBase *dicom ,marParameters* parameters );
00059
00060 ~wxMaracasImageBrowser02();
00061
00062 void LoadData( marImageData *marimagedata);
00063 void GetROI( int ext[6] );
00064 void SetROI( int voi[6] );
00065 bool GetRoiSelected();
00066
00067
00068 void Start();
00069 void ForceToFinisReadActiveImages();
00070
00071 void Refresh();
00072 void OnRefreshView(wxCommandEvent & event);
00073 void OnRefreshView2(wxCommandEvent & event);
00074 void OnBtnResetRoi( wxCommandEvent & event );
00075 void OnBtSaveVOIData(wxCommandEvent& event);
00076 void OnBtnCutVolume( wxCommandEvent & event );
00077
00078 private:
00079
00080 wxButton *_btnRestRoi;
00081
00082 marParameters *_parameters;
00083 LoadRangeImage *_loadRangeImage;
00084
00085 vtkBaseData *_vtkbasedata_1;
00086 wxVtk2DBaseView *_imageviewer2D_1;
00087
00088 manualRoiControler *_manRoiControl;
00089 manualContourModel *_mContourModel;
00090
00091 manualViewRoi *_mViewRoi;
00092
00093
00094
00095 DECLARE_EVENT_TABLE( );
00096 };
00097
00098 #endif // __WX__IMAGE__BROWSER02__