]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourPerpPlaneControler.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualContour / manualContourPerpPlaneControler.h
1 #ifndef manualContourPerpPlaneControler_h
2 #define manualContourPerpPlaneControler_h
3
4 #include "manualContourControler.h"
5 #include "manualContour3VControler.h"
6
7 // ----------------------------------------------------------------------------
8 // ----------------------------------------------------------------------------
9 // ----------------------------------------------------------------------------
10
11 class creaMaracasVisu_EXPORT manualContourPerpPlaneControler: public manualContourControler
12 {
13 public:
14         manualContourPerpPlaneControler();
15         virtual ~manualContourPerpPlaneControler();
16     virtual manualContourPerpPlaneControler * Clone();
17         void CopyAttributesTo( manualContourPerpPlaneControler *cloneObject );
18
19         void SetVtkMPRBaseData(vtkMPRBaseData *vtkmprbasedata);
20         vtkMPRBaseData *GetVtkMPRBaseData();
21
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();
30
31                         void SetManualContour3VControler(manualContour3VControler *manualcontour3Vcontroler);
32                         manualContour3VControler *GetManualContour3VControler();
33
34         virtual void MouseDLeft( int x, int y);
35                         void ResetOrientationPlane();
36                         void SetVtkInteractorStylePlane2D(InteractorStyleMaracas *vtkinteractorstyleplane2D);
37                         InteractorStyleMaracas * GetVtkInteractorStylePlane2D();
38
39 private:
40         bool                                            _flagMouseMove;
41         bool                                            _flagMouseDClick;
42         InteractorStyleMaracas          *_vtkinteractorstyleplane2D;
43
44 protected:
45         vtkMPRBaseData                          *_vtkmprbasedata;
46         manualContour3VControler        *_manualcontour3Vcontroler;
47 };
48
49
50 #endif // manualContourPerpPlaneControler_h