1 /*=========================================================================
4 Module: $RCSfile: wxMaracasEmptyPanel_3.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__MARACAS__EmptyPanel__3__HXX__
19 #define __WX__MARACAS__EmptyPanel__3__HXX__
25 #include "vtkImageData.h"
27 #include "widgets/wxEmptyPanel_3_Widget.h"
29 #include "widgets/wxMPRBaseData.h"
30 #include "widgets/wxVtkBaseView.h"
33 class wxMaracasEmptyPanel_3 : public wxPanel
36 wxMaracasEmptyPanel_3( wxWindow* parent );
37 ~wxMaracasEmptyPanel_3( );
38 void ConfigureVTK(marImageData *marimagedata);
40 wxEmptyPanel_3_Widget* _emptyPanel_3_Widget;
56 class wxMaracasEmptyPanel_4: public wxPanel
59 wxMaracasEmptyPanel_4( wxWindow* parent);
60 ~wxMaracasEmptyPanel_4( );
64 wxWidgetMesure2D *_widgetMesure1;
65 wxWidgetMesure2D *_widgetMesure2;
72 struct InfoImag _infoImg1;
73 struct InfoImag _infoImg2;
75 wxPanel *_panelImage1;
76 wxPanel *_panelImage2;
78 vtkMPRBaseData *_vtkbasedata1;
79 vtkMPRBaseData *_vtkbasedata2;
81 wxVtkMPR2DView *_wxvtk2Dbaseview1;
82 wxVtkMPR2DView *_wxvtk2Dbaseview2;
83 void ConfigureImage( char *fileName, wxPanel *panelImage, int ventana);
84 virtual void OnRefreshView(wxCommandEvent & event);
85 virtual void OnDClickLeft(wxCommandEvent & event);
87 wxPanel* CreateControlPanel_Algo(wxWindow *parent);
88 wxPanel* CreateImagePanel(wxWindow *parent);
91 void TranformPixel1(int pIn[], int pOut[], struct InfoImag *infoImg1, struct InfoImag *infoImg2);
92 void TranformPixel2(int pIn[], int pOut[], struct InfoImag *infoImg1, struct InfoImag *infoImg2);
93 void TranformPixel3(int pIn[], int pOut[], struct InfoImag *infoImg1, struct InfoImag *infoImg2);
94 void TranformPixel2a(int pIn[], int pOut[], struct InfoImag *infoImg1, struct InfoImag *infoImg2);
98 DECLARE_EVENT_TABLE( );
104 #endif // __WX__MARACAS__EmptyPanel__3__HXX__
106 // EOF - wxMaracasEmptyPanel_3.h