]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.h
- Comment out uselesss #define MAX (vtk-4.5 doesn't compile)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMaracas_N_ViewersWidget.h
index fd2ed748017dfb558215d617ee65577ef17c9894..89311f8269466a2a50ca00ca76a12d60c449123f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   wxMaracas
   Module:    $RCSfile: wxMaracas_N_ViewersWidget.h,v $
   Language:  C++
-  Date:      $Date: 2009/01/15 11:09:44 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2009/05/04 07:35:42 $
+  Version:   $Revision: 1.4 $
 
   Copyright: (c) 2002, 2003
   License:
@@ -53,7 +53,7 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel
        // Constructors & Destructors
        //------------------------------------------------------------------------------------------------------------
 
-       wxMaracas_N_ViewersWidget(wxWindow *parent, vtkImageData* imagedata, std::vector<int> *nTypeView);
+       wxMaracas_N_ViewersWidget(wxWindow *parent, vtkImageData* imagedata = NULL, std::vector<int> *nTypeView = NULL);
     ~wxMaracas_N_ViewersWidget();
 
        
@@ -71,6 +71,8 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel
        wxVtkBaseView *GetwxVtkBaseView(int iWin);
        virtual void Refresh(bool eraseBackground = true,const wxRect* rect = NULL );
        void SetImage( vtkImageData *image      );
+       void SetType(std::vector<int>* type);
+       void UpdateLayout(vtkImageData* imagedata);
 //     double GetZ(int iWin);
        double GetX();
        double GetY();
@@ -87,6 +89,10 @@ class creaMaracasVisu_EXPORT wxMaracas_N_ViewersWidget : public wxPanel
        wxMaracas_ViewerWidget  *wxwindow3;
        wxMaracas_ViewerWidget  *wxwindow4;
 
+       wxWindow *_currentwxw;
+
+
+       std::vector<int> *nTypeView;
 
   DECLARE_EVENT_TABLE( );
   };