X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxMaracas_N_ViewersWidget.h;h=b20c91f5c5e8373033270cc791c9cce7675b93ee;hb=22b3a32e023370c44f812976adc4b45b88401c2f;hp=19bd3c23048e2ad2c0dceba545fc7492f862a374;hpb=d653db1bd5d3650822d8c8f6febd9e1ab59cd701;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h index 19bd3c2..b20c91f 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h @@ -3,14 +3,14 @@ Program: wxMaracas Module: $RCSfile: wxMaracas_N_ViewersWidget.h,v $ Language: C++ - Date: $Date: 2010/08/04 18:45:27 $ - Version: $Revision: 1.11 $ + Date: $Date: 2010/10/23 12:01:32 $ + Version: $Revision: 1.12 $ Copyright: (c) 2002, 2003 License: - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + + 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. =========================================================================*/ @@ -48,30 +48,30 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel { public: - + //------------------------------------------------------------------------------------------------------------ // Constructors & Destructors //------------------------------------------------------------------------------------------------------------ /** * @pre A wxWindow* object must be provided as a parent for the viewer - * @post The layout of the viewer is initialize, if there is no image or type set, + * @post The layout of the viewer is initialize, if there is no image or type set, only the panel of the viwer is created with no vtk objects * @param wxWindow* parent of the window * @param vtkImageData* imagedata of the viewer * @param std::vector* vector of the type for the viewer - * @deprecated This method will be eliminated in future versions, - * @deprecated the viewers will start with a default image if it is not specified, - * @deprecated this is in order to create the layout of the viewer, - * @deprecated the vtkInteractors* and the object vtkRenderer* use second constructor + * @deprecated This method will be eliminated in future versions, + * @deprecated the viewers will start with a default image if it is not specified, + * @deprecated this is in order to create the layout of the viewer, + * @deprecated the vtkInteractors* and the object vtkRenderer* use second constructor */ wxMaracas_N_ViewersWidget(wxWindow *parent, vtkImageData* imagedata = NULL, std::vector *nTypeView = NULL); /** * @pre A wxWindow* object must be provided as a parent for the viewer and the type of layout for the viewer - * @post The layout of the viewer is initialized, if no image is provided at first, a default image is + * @post The layout of the viewer is initialized, if no image is provided at first, a default image is * used * @param wxWindow* parent of the window - * @param std::vector* vector of the type for the viewer + * @param std::vector* vector of the type for the viewer * @param vtkImageData* imagedata of the viewer */ wxMaracas_N_ViewersWidget(wxWindow *parent, std::vector *nTypeView, vtkImageData* imagedata = NULL); @@ -81,7 +81,7 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel */ ~wxMaracas_N_ViewersWidget(); - + //------------------------------------------------------------------------------------------------------------ // Methods //------------------------------------------------------------------------------------------------------------ @@ -114,7 +114,11 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel //------------------------------------------------------------------------------------------------------------ private: - + + wxPanel *wxw1; + wxPanel *wxw2; + wxPanel *wxw3; + wxPanel *wxw4; wxMaracas_ViewerWidget *wxwindow1; wxMaracas_ViewerWidget *wxwindow2; wxMaracas_ViewerWidget *wxwindow3; @@ -125,8 +129,8 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel std::vector *nTypeView; - vtkMPRBaseData* mvtkmprbasedata; - + vtkMPRBaseData* mvtkmprbasedata; + void invariant(); DECLARE_EVENT_TABLE( ); };