]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h
#3012 creaMaracasVisu Bug New Normal - Update Image in ViewerNV
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkBaseView.h
index 43ccd2f1b68839b7b64ecdf34a2456ad87f65aca..0ecedb5f0ddf7b02c2431711b9b6af5c829963c8 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>
@@ -69,37 +69,43 @@ public:
        wxVtkBaseView( );
        wxVtkBaseView( wxWindow *parent );
        virtual ~wxVtkBaseView();
-       wxVTKRenderWindowInteractor             *GetWxVTKRenderWindowInteractor() throw (char*);
+       wxVTKRenderWindowInteractor     *GetWxVTKRenderWindowInteractor() throw (char*);
        virtual void                            Configure();
        virtual void                            Refresh();
        virtual void                            RefreshView();
-       virtual vtkRenderer*                    GetRenderer();
-       virtual vtkRenderWindow*                GetRenWin();
+       virtual vtkRenderer*            GetRenderer();
+       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();
+       vtkInteractorStyleImage*        GetInteractorStyleBaseView();
        virtual void                            GetSpacing(double spc[3]);
-       virtual int                             GetDirection();
+       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:
 
 };