MeVisLab Toolbox Reference
SoSwipe2GestureEvent.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 | SoSwipe2GestureEvent.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_SWIPE_GESTURE_EVENT_
19#define _SO_SWIPE_GESTURE_EVENT_
20
21#include "SoTouchControlInit.h"
22#include <Inventor/system/SbSystem.h>
24
27
28 SO_EVENT_HEADER();
29
30 public:
38
39 // constructor
42
44 direction = d;
45 }
47 return direction;
48 }
49
50 SoINTERNAL public:
51 static void initClass();
52
53 private:
54 Direction direction;
55};
56
57#endif /* _SO_SWIPE_GESTURE_EVENT_ */
A SoGestureEvent derived from SoEvent.
#define TOUCHCONTROL_API
A SoGestureEvent derived from SoEvent.
A SoSwipe2GestureEvent derived from SoGestureEvent.
Direction getDirection() const
static void initClass()
void setDirection(Direction d)
virtual ~SoSwipe2GestureEvent()
Target mlrange_cast(Source arg)
Generic version of checked ML casts.