1 #ifndef WXVTKMPR3DVIEW_H_
2 #define WXVTKMPR3DVIEW_H_
4 #include "vtkMPR3DDataViewer.h"
5 #include "wxVtkMPR3DViewCntrlPanel.h"
6 #include "wxVtk3DBaseView.h"
8 #include "vtkProbeFilter.h"
9 #include "vtkPlaneWidget.h"
10 #include "vtkPointWidget.h"
13 //class vtkmyPWCallback_3DPointWidget;
14 class wxVtkMPR3DViewCntrlPanel;
16 class creaMaracasVisu_EXPORT wxVtkMPR3DView
19 wxVtkMPR3DView( wxVtk3DBaseView *wxvtk3Dbaseview );
20 virtual ~wxVtkMPR3DView();
21 void VisibleImageActor(int idPosition, bool visible);
22 void VisiblePointWidget( bool visible );
23 void VisiblePlaneWidget( bool visible );
25 void SetVisibleTissue(int idTissue, bool visible);
26 bool GetVisibleTissue(int idTissue);
27 virtual void Refresh();
28 virtual void RefreshView();
29 virtual void Configure();
30 void SetVtkMPR3DDataViewer( vtkMPR3DDataViewer *vtkmpr3Ddataviewer );
31 wxPanel* CreateControlPanel(wxWindow *parent, bool align);
33 vtkMPR3DDataViewer* GetVtkMPR3DDataViewer();
34 wxVtk3DBaseView* GetWxvtk3Dbaseview() throw (char*);
36 void InitOrientationPointWidget();
37 void showOutlineActor(bool value);
39 // EED 25 Janvier 2007 testLoic
43 void RemoveActor(vtkActor* actor);
44 void ResetCamera(int *ext=NULL, double* origin=NULL,double* spc=NULL);
46 void setColorTransferFunction(vtkColorTransferFunction* colortable);
49 wxVtk3DBaseView *_wxvtk3Dbaseview;
50 vtkMPR3DDataViewer *_vtkmpr3Ddataviewer;
51 wxVtkMPR3DViewCntrlPanel *_wxvtkmpr3DviewCntrlPanel;
54 vtkPolyData *_vtkplane;
55 vtkActor *_contourPlaneActor;
56 vtkPlaneWidget *_planeWidget;
59 vtkPointWidget *_pointWidget;
60 //vtkmyPWCallback_3DPointWidget *_myCallback;
61 vtkProbeFilter *_probe;
62 vtkPolyDataMapper *_contourMapper;
69 #endif /*WXVTKMPR3DVIEW_H_*/