MeVisLab Toolbox Reference
SoRotate2GestureEvent.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  | SoRotate2GestureEvent.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_ROTATE_GESTURE_EVENT_
19 #define _SO_ROTATE_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 setRotationAngle(double v) {
36  rotationAngle = v;
37  }
38  double getRotationAngle() const {
39  return rotationAngle;
40  }
41 
42  SoINTERNAL public:
43  static void initClass();
44 
45  private:
46  double rotationAngle;
47 };
48 
49 #endif /* _SO_ROTATE_GESTURE_EVENT_ */
A SoGestureEvent derived from SoEvent.
#define TOUCHCONTROL_API
A SoGestureEvent derived from SoEvent.
A SoRotate2GestureEvent derived from SoGestureEvent.
static void initClass()
virtual ~SoRotate2GestureEvent()