wxMaracasImageBrowser02.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: wxMaracasImageBrowser02.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009/05/19 11:17:26 $
00007   Version:   $Revision: 1.2 $
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__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 //#include "widgets/wxImageViewerWidget.h"
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     //wxMaracasImageBrowser02( wxWindow* parent, marInterface* mar, wxWindowID id = -1 );
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__

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1