]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/vtkInteractorManualPaint.h
DFCH: ManualPaint + imageUndoRedo -> 50% tested. (Save Images undo and redo) :) :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualPaint / vtkInteractorManualPaint.h
1 #ifndef _VTK_INTERACTOR_MANUAL_PAINT_H_
2 #define _VTK_INTERACTOR_MANUAL_PAINT_H_
3
4 #include "InteractorStyleMaracas.h"
5 #include "ManualPaintControler.h"
6
7 class vtkInteractorManualPaint : public InteractorStyleMaracas {
8 public:
9         vtkInteractorManualPaint(ManualPaintControler* mpc);
10         virtual ~vtkInteractorManualPaint();
11
12         virtual bool  OnChar();
13         virtual bool  OnMouseMove();
14         virtual bool  OnLeftButtonDown();
15         virtual bool  OnLeftButtonUp();
16
17 private:
18         bool                    _state;
19         bool                    _stateKey;
20         bool                                    _stateMouse;
21     ManualPaintControler   *_manualPaintControler;
22
23 protected:
24
25 };
26
27
28 #endif // _VTK_INTERACTOR_MANUAL_PAINT_H_