]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h
#2482 creaMaracasVisu Bug New - HighColorLayer refresh missing. The MPR is not...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkBaseView.h
index 43ccd2f1b68839b7b64ecdf34a2456ad87f65aca..07d9e462d6afc2817a7bbe11791d6719583f832a 100644 (file)
@@ -43,7 +43,7 @@
 #include <vtkImageViewer2.h> 
 #include <vtkInteractorStyleImage.h> 
 
-#include "wxMPRBaseData.h"
+#include "vtkBaseData.h"
 #include "wxVTKRenderWindowInteractorEditContour.h"
 
 #include <wx/wx.h>
@@ -70,36 +70,45 @@ public:
        wxVtkBaseView( wxWindow *parent );
        virtual ~wxVtkBaseView();
        wxVTKRenderWindowInteractor             *GetWxVTKRenderWindowInteractor() throw (char*);
-       virtual void                            Configure();
-       virtual void                            Refresh();
-       virtual void                            RefreshView();
+       virtual void                                    Configure();
+       virtual void                                    Refresh();
+       virtual void                                    RefreshView();
        virtual vtkRenderer*                    GetRenderer();
-       virtual vtkRenderWindow*                GetRenWin();
-       virtual void                            TransFromCoordScreenToWorld(double &X, double &Y, double &Z, bool keepNormalDirection=false,int type=2);
+       virtual vtkRenderWindow*        GetRenWin();
+       virtual void                                    TransFromCoordScreenToWorld(double &X, double &Y, double &Z, bool keepNormalDirection=false,int type=2);
 
        //RaC 03-2010 Method used by TransFromCoordScreenToWorld
-       void                                    TransCoordScreenToWorld(double &X, double &Y, double &Z,int type=2);
+       void                                                            TransCoordScreenToWorld(double &X, double &Y, double &Z,int type=2);
 
        /* JCP 04/05/09
        void                                    SetInteractorStyleBaseView( vtkInteractorStyleBaseView* interactorStyle);
        */
-       void                                    SetInteractorStyleBaseView( vtkInteractorStyleImage*    interactorStyle);
+       void                                                            SetInteractorStyleBaseView( vtkInteractorStyleImage*    interactorStyle);
        /* JCP 04/05/09
         * 
        vtkInteractorStyleBaseView*             GetInteractorStyleBaseView();   
        */
-       vtkInteractorStyleImage*                GetInteractorStyleBaseView();
-       virtual void                            GetSpacing(double spc[3]);
-       virtual int                             GetDirection();
+       vtkInteractorStyleImage*        GetInteractorStyleBaseView();
+       virtual void                                    GetSpacing(double spc[3]);
+       virtual int                                             GetDirection();
+
+
+       vtkBaseData*                                    GetVtkBaseData();
+       void                                                            SetVtkBaseData(vtkBaseData *vtkbasedata);
+
 
 private:
-       wxWindow                                *_parent;
-       wxVTKRenderWindowInteractor             *_iren;
+       wxWindow                                                         *_parent;
+       wxVTKRenderWindowInteractor *_iren;
        /**
         * JCP 04/05/09
         * vtkInteractorStyleImage              *_interactorStyle;
         */
        vtkInteractorStyleImage         *_interactorStyle;
+
+// EED Nov 15 2014
+       vtkBaseData                                             *_vtkbasedata;
+
 protected:
 
 };