/*========================================================================= Program: wxMaracas Module: $RCSfile: wxMaracasEmptyPanel_3.h,v $ Language: C++ Date: $Date: 2008/10/31 16:32:10 $ Version: $Revision: 1.1 $ Copyright: (c) 2002, 2003 License: This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ #ifndef __WX__MARACAS__EmptyPanel__3__HXX__ #define __WX__MARACAS__EmptyPanel__3__HXX__ #include #include #include "vtkImageData.h" #include "widgets/wxEmptyPanel_3_Widget.h" #include "widgets/wxMPRBaseData.h" #include "widgets/wxVtkBaseView.h" class wxMaracasEmptyPanel_3 : public wxPanel { public: wxMaracasEmptyPanel_3( wxWindow* parent ); ~wxMaracasEmptyPanel_3( ); void ConfigureVTK(marImageData *marimagedata); private: wxEmptyPanel_3_Widget* _emptyPanel_3_Widget; }; struct InfoImag { int RowCol[2]; double ImPoPa[3]; double ImOrPa[6]; double Spacing[2]; }; class wxMaracasEmptyPanel_4: public wxPanel { public: wxMaracasEmptyPanel_4( wxWindow* parent); ~wxMaracasEmptyPanel_4( ); void ConfigureVTK(); private: wxWidgetMesure2D *_widgetMesure1; wxWidgetMesure2D *_widgetMesure2; wxRadioButton *_rb1; wxRadioButton *_rb2; wxRadioButton *_rb3; struct InfoImag _infoImg1; struct InfoImag _infoImg2; wxPanel *_panelImage1; wxPanel *_panelImage2; vtkMPRBaseData *_vtkbasedata1; vtkMPRBaseData *_vtkbasedata2; wxVtkMPR2DView *_wxvtk2Dbaseview1; wxVtkMPR2DView *_wxvtk2Dbaseview2; void ConfigureImage( char *fileName, wxPanel *panelImage, int ventana); virtual void OnRefreshView(wxCommandEvent & event); virtual void OnDClickLeft(wxCommandEvent & event); wxPanel* CreateControlPanel_Algo(wxWindow *parent); wxPanel* CreateImagePanel(wxWindow *parent); void TranformPixel1(int pIn[], int pOut[], struct InfoImag *infoImg1, struct InfoImag *infoImg2); void TranformPixel2(int pIn[], int pOut[], struct InfoImag *infoImg1, struct InfoImag *infoImg2); void TranformPixel3(int pIn[], int pOut[], struct InfoImag *infoImg1, struct InfoImag *infoImg2); void TranformPixel2a(int pIn[], int pOut[], struct InfoImag *infoImg1, struct InfoImag *infoImg2); DECLARE_EVENT_TABLE( ); }; #endif // __WX__MARACAS__EmptyPanel__3__HXX__ // EOF - wxMaracasEmptyPanel_3.h