Open Inventor Reference
SoEnterLeaveEvent.h
Go to the documentation of this file.
1/*
2*
3* Copyright (C) 2010 MeVis Medical Solutions AG, All Rights Reserved.
4*
5* This library is free software; you can redistribute it and/or
6* modify it under the terms of the GNU Lesser General Public
7* License as published by the Free Software Foundation; either
8* version 2.1 of the License, or (at your option) any later version.
9*
10* This library is distributed in the hope that it will be useful,
11* but WITHOUT ANY WARRANTY; without even the implied warranty of
12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13* Lesser General Public License for more details.
14*
15* Further, this software is distributed without any warranty that it is
16* free of the rightful claim of any third person regarding infringement
17* or the like. Any license provided herein, whether implied or
18* otherwise, applies only to this software file. Patent licenses, if
19* any, provided herein do not apply to combinations of this program with
20* other software, or any other product whatsoever.
21*
22* You should have received a copy of the GNU Lesser General Public
23* License along with this library; if not, write to the Free Software
24* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25*
26* Contact information: MeVis Medical Solutions AG
27* Universitätsallee 29, D-28359 Bremen, GERMANY, or:
28*
29* http://www.mevis.de/mms
30*
31*/
32
33/*
34* Copyright (C) 2016 MeVis Medical Solutions AG
35*
36* \file SoMouseWheelEvent.h
37* \author Uwe Siems
38* \date 4/2016
39*/
40
41#ifndef __SoEnterLeaveEvent_H
42#define __SoEnterLeaveEvent_H
43
46
48
53 typedef SoEvent inherited;
54
56
57public:
60 SO_LEAVE_EVENT
61 };
62
63 SoEnterLeaveEvent() { _eventType = SO_ENTER_EVENT; }
64
65 static void initClass(void);
66
67
70
73
74private:
76 EnterLeaveEventType _eventType;
77};
78
79#endif
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
Definition SbSystem.h:77
#define SO_EVENT_HEADER()
*** note: many of the macros use the "do { ... } while(0)" *** hack to define multiline blocks as a s...
Definition SoSubEvent.h:97
Open Inventor SoEvent that represents a mouse enter or mouse leave event.
EnterLeaveEventType getEventType() const
get the wheel's orientation
static void initClass(void)
void setEventType(EnterLeaveEventType eventType)
set the wheel's orientation
Base class for all events.
Definition SoEvent.h:84