InteractorStyleMaracas.h

Go to the documentation of this file.
00001 #ifndef INTERACTORSTYLEMARACAS_H_
00002 #define INTERACTORSTYLEMARACAS_H_
00003 
00004 
00005 #include "marTypes.h"
00006 //------------------------------------------------------------------
00007 
00008 #include "vtkInteractorStyleBaseView.h"
00009 
00010 //class vtkInteractorStyleBaseView;
00011 
00012 
00013 class creaMaracasVisu_EXPORT InteractorStyleMaracas 
00014 {
00015 public:
00016         InteractorStyleMaracas();
00017         virtual ~InteractorStyleMaracas();
00018 
00019         virtual InteractorStyleMaracas * Clone();
00020         void CopyAttributesTo( InteractorStyleMaracas *cloneObject );
00021 
00022 
00023         virtual bool  OnChar();
00024         virtual bool  OnMouseMove();
00025         virtual bool  OnLeftButtonDown(); 
00026         virtual bool  OnLeftButtonUp();
00027         virtual bool  OnMiddleButtonDown(); 
00028         virtual bool  OnMiddleButtonUp();
00029         virtual bool  OnRightButtonDown();
00030         virtual bool  OnRightButtonUp();
00031 
00032         virtual bool  OnLeftDClick();
00033         virtual bool  OnRightDClick();   
00034         virtual bool  OnMiddleDClick();  
00035         virtual bool  OnMouseWheel();    
00036 
00037         void  SetVtkInteractorStyleBaseView(vtkInteractorStyleBaseView* _vtkInteractorStyleBaseView);   
00038         void  RemoveVtkInteractorStyleBaseView();
00039         
00040         void SetActive(bool active);
00041         bool GetActive();
00042 
00043 protected:
00044         
00045         vtkInteractorStyleBaseView* _vtkInteractorStyleBaseView;         
00046         //vtkInteractorStyleImage* _vtkInteractorStyleBaseView;
00047         
00048 private:
00049         bool                                            _active;
00050 };
00051 
00052 #endif /*INTERACTORSTYLEMARACAS_H_*/

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1