#include <vtkImageViewer2.h>
#include <vtkInteractorStyleImage.h>
-#include "wxMPRBaseData.h"
+#include "vtkBaseData.h"
#include "wxVTKRenderWindowInteractorEditContour.h"
#include <wx/wx.h>
#include <vector>
#include "marTypes.h"
-#include "wxVTKRenderWindowInteractor.h"
+#include "creawxVTKRenderWindowInteractor.h"
//#include "include/vtkImageViewer2_XYZ.h"
/* JCP 14/05/09
wxVtkBaseView( );
wxVtkBaseView( wxWindow *parent );
virtual ~wxVtkBaseView();
- wxVTKRenderWindowInteractor *GetWxVTKRenderWindowInteractor() throw (char*);
+ crea::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;
+ crea::wxVTKRenderWindowInteractor *_iren;
/**
* JCP 04/05/09
- * vtkInteractorStyleImage *_interactorStyle;
+ * vtkInteractorStyleImage *_interactorStyle;
*/
- vtkInteractorStyleImage *_interactorStyle;
+ vtkInteractorStyleImage *_interactorStyle;
+
+// EED Nov 15 2014
+ vtkBaseData *_vtkbasedata;
+
protected:
};