1SoLocation2Event(3IV)() SoLocation2Event(3IV)()
2
3
4
6 SoLocation2Event — 2D location events
7
9 SoEvent > SoLocation2Event
10
12 #include <Inventor/events/SoLocation2Event.h>
13
14 Methods from class SoLocation2Event:
15
16 SoLocation2Event()
17 static SoType getClassTypeId()
18
19 Methods from class SoEvent:
20
21 virtual SoType getTypeId() const
22 SbBool isOfType(SoType type) const
23 void setTime(SbTime t)
24 SbTime getTime() const
25 void setPosition(const SbVec2s &p)
26 const SbVec2s & getPosition() const
27 const SbVec2s & getPosition(const SbViewportRegion &vpRgn) const
28 const SbVec2f & getNormalizedPosition(const SbViewportRegion &vpRgn)
29 const
30 void setShiftDown(SbBool isDown)
31 void setCtrlDown(SbBool isDown)
32 void setAltDown(SbBool isDown)
33 SbBool wasShiftDown() const
34 SbBool wasCtrlDown() const
35 SbBool wasAltDown() const
36
37
39 SoLocation2Event represents 2D location events in the Inventor event
40 model.
41
43 SoLocation2Event()
44 Constructor.
45
46 static SoType getClassTypeId()
47 Return the type id for the SoLocation2Event class.
48
49
51 SoEvent, SoButtonEvent, SoKeyboardEvent, SoMotion3Event, SoMouseButton‐
52 Event, SoSpaceballButtonEvent, SoHandleEventAction, SoEventCallback,
53 SoSelection, SoInteraction, SoXtDevice
54
55
56
57
58 SoLocation2Event(3IV)()