]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkmyPWCallback_3DPointWidget.h
creaButtonContainer, creaPanelButtonContainer. Cleaned 98% ready to be used :) :) :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / vtkmyPWCallback_3DPointWidget.h
1 #ifndef VTKMYPWCALLBACK_3DPOINTWIDGET_H_
2 #define VTKMYPWCALLBACK_3DPOINTWIDGET_H_
3
4 //#include "wxVtkMPR3DView.h"
5 #include "vtkPlaneWidget.h"
6 #include "vtkCommand.h"
7 #include "vtkPointWidget.h"
8
9 #include "wxVtkMPR3DView.h"
10
11 class vtkmyPWCallback_3DPointWidget : public vtkCommand
12 {
13 public:
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 );
21 private:
22
23         double                                                  _backNormal[3];
24         vtkPlaneWidget                                  *_planeWidget;
25         vtkPointWidget                                  *_pointWidget;
26         wxVtkMPR3DView *_wxvtkmpr3Dview;
27 };
28
29
30 #endif /*VTKMYPWCALLBACK_3DPOINTWIDGET_H_*/