1 #ifndef WXVTKMPR2DVIEW_H_
2 #define WXVTKMPR2DVIEW_H_
4 #include "vtkInteractorStyleMPRView.h"
6 #include "wxVtk2DBaseView.h"
8 class creaMaracasVisu_EXPORT wxVtkMPR2DView : public wxVtk2DBaseView
11 wxVtkMPR2DView( wxWindow *parent, int direction );
14 virtual void Refresh();
15 vtkMPRBaseData *GetVtkmprbasedata();
16 virtual int GetActualSlice();
17 virtual void SetActualSlice(int slice);
19 bool IfMouseTouchX(double x, double y, double z);
20 bool IfMouseTouchY(double x, double y, double z);
21 bool IfMouseTouchZ(double x, double y, double z);
22 void MoveX(double x, double y, double z);
23 void MoveY(double x, double y, double z);
24 void MoveZ(double x, double y, double z);
25 void ChangeAxisColor(double x, double y, double z);
26 virtual void TransfromeCoordViewWorld(double &X, double &Y, double &Z, int type);
27 void SetVisibleAxis(bool ok);
40 vtkActor *_lineAActor;
41 vtkPolyDataMapper *_lineAMapper;
44 vtkActor *_lineBActor;
45 vtkPolyDataMapper *_lineBMapper;
47 // vtkInteractorStyle2DMaracas *_interactorStyle2DMaracas;
48 vtkInteractorStyleMPRView *_interactorstylemprview;
52 #endif /*WXVTKMPR2DVIEW_H_*/