ALBA
albaInteractorGenericMouseFloatVME.h
Go to the documentation of this file.
1/*=========================================================================
2Program: Multimod Application Framework
3Module: $RCSfile: alba.h,v $
4Language: C++
5Date: $Date: 2011-05-27 07:52:12 $
6Version: $Revision: 1.1.2.2 $
7Authors: Gianluigi Crimi, Nicola Vanella
8==========================================================================
9Copyright (c) 2010
10CINECA - Interuniversity Consortium (www.cineca.it)
11=========================================================================*/
12
13#ifndef __albaInteractorGenericMouseFloatVME_h
14#define __albaInteractorGenericMouseFloatVME_h
15
16//----------------------------------------------------------------------------
17// Include:
18//----------------------------------------------------------------------------
20
21//----------------------------------------------------------------------------
22//forward ref
23//----------------------------------------------------------------------------
25
26
28{
29public:
31
33 //virtual void SetCurrentCamera(vtkCamera *camera) {m_CurrentCamera=camera;}
34
35 void Set2DModality(bool mod2d) { m_Modality2D = mod2d; }
36
37protected:
38
41
42 //----------------------------------------------------------------------------
43 // trackball interaction style stuff
44 //----------------------------------------------------------------------------
45
46 virtual void TrackballRotate();
47 //void TrackballTranslate();
48 virtual void TrackballRoll();
49
51
52private:
53
54};
55#endif
albaTypeMacro(albaInteractorGenericMouseFloatVME, albaInteractorGenericMouse)
void Set2DModality(bool mod2d)
Set the current camera.
Constrained interaction with mouse device.