1 #ifndef manualContourPerpPlaneControler_h
2 #define manualContourPerpPlaneControler_h
4 #include "manualContourControler.h"
5 #include "manualContour3VControler.h"
7 // ----------------------------------------------------------------------------
8 // ----------------------------------------------------------------------------
9 // ----------------------------------------------------------------------------
11 class creaMaracasVisu_EXPORT manualContourPerpPlaneControler: public manualContourControler
14 manualContourPerpPlaneControler();
15 virtual ~manualContourPerpPlaneControler();
16 virtual manualContourPerpPlaneControler * Clone();
17 void CopyAttributesTo( manualContourPerpPlaneControler *cloneObject );
19 void SetVtkMPRBaseData(vtkMPRBaseData *vtkmprbasedata);
20 vtkMPRBaseData *GetVtkMPRBaseData();
22 virtual bool OnChar();
23 virtual bool OnMouseMove();
24 virtual bool OnLeftDClick();
25 virtual void AddPoint( int x, int y, int z );
26 virtual void DeleteActualMousePoint(int x, int y);
27 virtual void MouseMove(int x, int y);
28 virtual void InsertPoint(int x, int y, int z);
29 virtual void ResetContour();
31 void SetManualContour3VControler(manualContour3VControler *manualcontour3Vcontroler);
32 manualContour3VControler *GetManualContour3VControler();
34 virtual void MouseDLeft( int x, int y);
35 void ResetOrientationPlane();
36 void SetVtkInteractorStylePlane2D(InteractorStyleMaracas *vtkinteractorstyleplane2D);
37 InteractorStyleMaracas * GetVtkInteractorStylePlane2D();
41 bool _flagMouseDClick;
42 InteractorStyleMaracas *_vtkinteractorstyleplane2D;
45 vtkMPRBaseData *_vtkmprbasedata;
46 manualContour3VControler *_manualcontour3Vcontroler;
50 #endif // manualContourPerpPlaneControler_h