1 /*=========================================================================
4 Module: $RCSfile: wxMaracasImageBrowser02.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__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 "manualContour.h"
45 BEGIN_DECLARE_EVENT_TYPES()
46 DECLARE_EVENT_TYPE(wxEVT_MARACASIMAGEBROWSERCUTIMAGE, -1)
47 END_DECLARE_EVENT_TYPES()
51 * \brief Panel class that show thumbnails images
53 class wxMaracasImageBrowser02 : public wxPanel
56 wxMaracasImageBrowser02( wxWindow* parent, marFilesBase *dicom ,marParameters* parameters );
57 //wxMaracasImageBrowser02( wxWindow* parent, marInterface* mar, wxWindowID id = -1 );
58 ~wxMaracasImageBrowser02();
60 void LoadData( marImageData *marimagedata);
61 void GetROI( int ext[6] );
62 void SetROI( int voi[6] );
63 bool GetRoiSelected();
67 void ForceToFinisReadActiveImages();
70 void OnRefreshView(wxCommandEvent & event);
71 void OnRefreshView2(wxCommandEvent & event);
72 void OnBtnResetRoi( wxCommandEvent & event );
73 void OnBtSaveVOIData(wxCommandEvent& event);
74 void OnBtnCutVolume( wxCommandEvent & event );
78 wxButton *_btnRestRoi;
80 marParameters *_parameters;
81 LoadRangeImage *_loadRangeImage;
83 vtkBaseData *_vtkbasedata_1;
84 wxVtk2DBaseView *_imageviewer2D_1;
86 manualRoiControler *_manRoiControl;
87 manualContourModel *_mContourModel;
89 manualViewRoi *_mViewRoi;
93 DECLARE_EVENT_TABLE( );
96 #endif // __WX__IMAGE__BROWSER02__