1 /*=========================================================================
4 Module: $RCSfile: wxMaracasImageBrowser02.h,v $
6 Date: $Date: 2009/05/19 11:17:26 $
7 Version: $Revision: 1.2 $
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__IMAGE__BROWSER02__
19 #define __WX__IMAGE__BROWSER02__
21 #include "wx/wxprec.h"
31 #include <wx/window.h>
32 #include <wx/imaglist.h>
34 #include <wx/listctrl.h>
35 #include <wx/splitter.h>
37 #include "marParameters.h"
38 #include "widgets/wxVtkBaseView.h"
39 //#include "widgets/wxImageViewerWidget.h"
40 #include "widgets/wxReadingPriorityPanel.h"
42 #include "manualContourModelRoi.h"
43 #include "manualRoiControler.h"
44 #include "manualViewRoi.h"
47 BEGIN_DECLARE_EVENT_TYPES()
48 DECLARE_EVENT_TYPE(wxEVT_MARACASIMAGEBROWSERCUTIMAGE, -1)
49 END_DECLARE_EVENT_TYPES()
53 * \brief Panel class that show thumbnails images
55 class wxMaracasImageBrowser02 : public wxPanel
58 wxMaracasImageBrowser02( wxWindow* parent, marFilesBase *dicom ,marParameters* parameters );
59 //wxMaracasImageBrowser02( wxWindow* parent, marInterface* mar, wxWindowID id = -1 );
60 ~wxMaracasImageBrowser02();
62 void LoadData( marImageData *marimagedata);
63 void GetROI( int ext[6] );
64 void SetROI( int voi[6] );
65 bool GetRoiSelected();
69 void ForceToFinisReadActiveImages();
72 void OnRefreshView(wxCommandEvent & event);
73 void OnRefreshView2(wxCommandEvent & event);
74 void OnBtnResetRoi( wxCommandEvent & event );
75 void OnBtSaveVOIData(wxCommandEvent& event);
76 void OnBtnCutVolume( wxCommandEvent & event );
80 wxButton *_btnRestRoi;
82 marParameters *_parameters;
83 LoadRangeImage *_loadRangeImage;
85 vtkBaseData *_vtkbasedata_1;
86 wxVtk2DBaseView *_imageviewer2D_1;
88 manualRoiControler *_manRoiControl;
89 manualContourModel *_mContourModel;
91 manualViewRoi *_mViewRoi;
95 DECLARE_EVENT_TABLE( );
98 #endif // __WX__IMAGE__BROWSER02__