]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.h
#3263 creaMaracasVisu Feature New Normal - ViewerNV sync ParallelScale Camera
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkBaseView.h
index 08bffa2be8c761dcd6b3ca6027920ca58b7dccfe..54d036f6f4fa5e24800dcca748bed976277ea5b8 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>
@@ -53,7 +53,7 @@
 #include <vector>
 #include "marTypes.h"
 
-#include "wxVTKRenderWindowInteractor.h"
+#include "creawxVTKRenderWindowInteractor.h"
 //#include "include/vtkImageViewer2_XYZ.h"
 
 /* JCP 14/05/09
@@ -69,36 +69,43 @@ public:
        wxVtkBaseView( );
        wxVtkBaseView( wxWindow *parent );
        virtual ~wxVtkBaseView();
-       wxVTKRenderWindowInteractor             *GetWxVTKRenderWindowInteractor() throw (char*);
-       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);
+       crea::wxVTKRenderWindowInteractor       *GetWxVTKRenderWindowInteractor() throw (char*);
+       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);
 
        //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( vtkInteractorStyleBaseView* interactorStyle);
        */
-       void                                                    SetInteractorStyleBaseView( vtkInteractorStyleImage*    interactorStyle);
+       void                                            SetInteractorStyleBaseView( vtkInteractorStyleImage*    interactorStyle);
        /* JCP 04/05/09
         * 
        vtkInteractorStyleBaseView*             GetInteractorStyleBaseView();   
        */
-       vtkInteractorStyleImage*                GetInteractorStyleBaseView();
-       virtual void                                    GetSpacing(double spc[3]);
+       vtkInteractorStyleImage*        GetInteractorStyleBaseView();
+       virtual void                            GetSpacing(double spc[3]);
+       virtual int                                     GetDirection();
+       vtkBaseData*                            GetVtkBaseData();
+       void                                            SetVtkBaseData(vtkBaseData *vtkbasedata);
 
 private:
-       wxWindow                                                *_parent;
-       wxVTKRenderWindowInteractor             *_iren;
+       wxWindow                                                        *_parent;
+       crea::wxVTKRenderWindowInteractor       *_iren;
        /**
         * JCP 04/05/09
-        * vtkInteractorStyleImage              *_interactorStyle;
+        * vtkInteractorStyleImage                      *_interactorStyle;
         */
-       vtkInteractorStyleImage         *_interactorStyle;
+       vtkInteractorStyleImage                         *_interactorStyle;
+
+// EED Nov 15 2014
+       vtkBaseData                                                     *_vtkbasedata;
+
 protected:
 
 };