/*========================================================================= Program: wxMaracas Module: $RCSfile: wxMaracas_N_ViewersWidget.h,v $ Language: C++ Date: $Date: 2008/10/31 16:32:42 $ 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__N_VIEWERSWIDGET__H__ #define __WX__MARACAS__N_VIEWERSWIDGET__H__ // ----------------------------------------------------------------------------------------------------------- // WX headers inclusion. // For compilers that support precompilation, includes . // ----------------------------------------------------------------------------------------------------------- #include #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include #endif //------------------------------------------------------------------------------------------------------------ // Includes //------------------------------------------------------------------------------------------------------------ #include "vtkImageData.h" #include "wxMaracas_ViewerWidget.h" #include #include //------------------------------------------------------------------------------------------------------------ // Class definition //------------------------------------------------------------------------------------------------------------ class MARACASVISULIB_EXPORTS wxMaracas_N_ViewersWidget : public wxPanel { public: //------------------------------------------------------------------------------------------------------------ // Constructors & Destructors //------------------------------------------------------------------------------------------------------------ wxMaracas_N_ViewersWidget(wxWindow *parent, vtkImageData* imagedata, std::vector *nTypeView); ~wxMaracas_N_ViewersWidget(); //------------------------------------------------------------------------------------------------------------ // Methods //------------------------------------------------------------------------------------------------------------ void Update(); vtkRenderer *GetRenderer(); void RefreshView(); virtual void OnRefreshView(wxCommandEvent & event); void OnDClickLeft(wxCommandEvent & event); wxMaracas_ViewerWidget *GetWindow(int iWin); wxVtkBaseView *GetwxVtkBaseView(int iWin); virtual void Refresh(bool eraseBackground = true,const wxRect* rect = NULL ); void SetImage( vtkImageData *image ); // double GetZ(int iWin); double GetX(); double GetY(); double GetZ(); //------------------------------------------------------------------------------------------------------------ // Attributes //------------------------------------------------------------------------------------------------------------ private: wxMaracas_ViewerWidget *wxwindow1; wxMaracas_ViewerWidget *wxwindow2; wxMaracas_ViewerWidget *wxwindow3; wxMaracas_ViewerWidget *wxwindow4; DECLARE_EVENT_TABLE( ); }; #endif // __WX__MARACAS__N_VIEWERWIDGET__H__