1 #ifndef VTKMYPWCALLBACK_3DPOINTWIDGET_H_
2 #define VTKMYPWCALLBACK_3DPOINTWIDGET_H_
4 //#include "wxVtkMPR3DView.h"
5 #include "vtkPlaneWidget.h"
6 #include "vtkCommand.h"
7 #include "vtkPointWidget.h"
9 #include "wxVtkMPR3DView.h"
11 class vtkmyPWCallback_3DPointWidget : public vtkCommand
14 static vtkmyPWCallback_3DPointWidget *New()
15 { return new vtkmyPWCallback_3DPointWidget; }
16 virtual void Execute(vtkObject *caller, unsigned long, void*);
17 vtkmyPWCallback_3DPointWidget(){}
18 void SetWxVtkMPR3DView( wxVtkMPR3DView *wxvtkmpr3Dview );
19 void SetVtkPointWidget( vtkPointWidget *pointWidget );
20 void SetVtkPlaneWidget( vtkPlaneWidget *planeWidget );
23 double _backNormal[3];
24 vtkPlaneWidget *_planeWidget;
25 vtkPointWidget *_pointWidget;
26 wxVtkMPR3DView *_wxvtkmpr3Dview;
30 #endif /*VTKMYPWCALLBACK_3DPOINTWIDGET_H_*/