manualContourPerpPlaneControler.h

Go to the documentation of this file.
00001 #ifndef manualContourPerpPlaneControler_h
00002 #define manualContourPerpPlaneControler_h
00003 
00004 #include "manualContourControler.h"
00005 #include "manualContour3VControler.h"
00006 
00007 // ----------------------------------------------------------------------------
00008 // ----------------------------------------------------------------------------
00009 // ----------------------------------------------------------------------------
00010 
00011 class creaMaracasVisu_EXPORT manualContourPerpPlaneControler: public manualContourControler
00012 {
00013 public:
00014         manualContourPerpPlaneControler();
00015         virtual ~manualContourPerpPlaneControler();
00016     virtual manualContourPerpPlaneControler * Clone();
00017         void CopyAttributesTo( manualContourPerpPlaneControler *cloneObject );
00018 
00019         void SetVtkMPRBaseData(vtkMPRBaseData *vtkmprbasedata);
00020         vtkMPRBaseData *GetVtkMPRBaseData();
00021 
00022         virtual bool OnChar();
00023         virtual bool OnMouseMove();
00024         virtual bool OnLeftDClick(); 
00025         virtual void AddPoint( int x, int y, int z );
00026         virtual void DeleteActualMousePoint(int x, int y);
00027         virtual void MouseMove(int x, int y);
00028         virtual void InsertPoint(int x, int y, int z);
00029         virtual void ResetContour();
00030 
00031                         void SetManualContour3VControler(manualContour3VControler *manualcontour3Vcontroler);
00032                         manualContour3VControler *GetManualContour3VControler();
00033 
00034         virtual void MouseDLeft( int x, int y);
00035                         void ResetOrientationPlane();
00036                         void SetVtkInteractorStylePlane2D(InteractorStyleMaracas *vtkinteractorstyleplane2D);
00037                         InteractorStyleMaracas * GetVtkInteractorStylePlane2D();
00038 
00039 private:
00040         bool                                            _flagMouseMove;
00041         bool                                            _flagMouseDClick;
00042         InteractorStyleMaracas          *_vtkinteractorstyleplane2D;
00043 
00044 protected:
00045         vtkMPRBaseData                          *_vtkmprbasedata;
00046         manualContour3VControler        *_manualcontour3Vcontroler;
00047 };
00048 
00049 
00050 #endif // manualContourPerpPlaneControler_h

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1