MeVisLab Toolbox Reference
SoMagnify2GestureEvent.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
5 /*
6  _______________________________________________________________________
7  __________________ F R A U N H O F E R M E V I S __________________
8  |
9  | Description:
10  | SoMagnify2GestureEvent.h
11  |
12  | Author(s) : Felix Ritter
13  |
14  __________________ F R A U N H O F E R M E V I S __________________
15  _______________________________________________________________________
16  */
17 
18 #ifndef _SO_MAGNIFY_GESTURE_EVENT_
19 #define _SO_MAGNIFY_GESTURE_EVENT_
20 
21 #include "SoTouchControlInit.h"
22 #include <Inventor/system/SbSystem.h>
24 
27 
28  SO_EVENT_HEADER();
29 
30  public:
31  // constructor
34 
35  void setScaleFactor(double v) {
36  scaleFactor = v;
37  }
38  double getScaleFactor() const {
39  return scaleFactor;
40  }
41 
42  SoINTERNAL public:
43  static void initClass();
44 
45  private:
46  double scaleFactor;
47 };
48 
49 #endif /* _SO_MAGNIFY_GESTURE_EVENT_ */
A SoGestureEvent derived from SoEvent.
#define TOUCHCONTROL_API
A SoGestureEvent derived from SoEvent.
A SoMagnify2GestureEvent derived from SoGestureEvent.
static void initClass()
virtual ~SoMagnify2GestureEvent()