1SoMotion3Event(3IV)() SoMotion3Event(3IV)()
2
3
4
6 SoMotion3Event — 3D motion events
7
9 SoEvent > SoMotion3Event
10
12 #include <Inventor/events/SoMotion3Event.h>
13
14 Methods from class SoMotion3Event:
15
16 SoMotion3Event()
17 static SoType getClassTypeId()
18 void setTranslation(const SbVec3f &t)
19 const SbVec3f & getTranslation() const
20 void setRotation(const SbRotation &r)
21 const SbRotation & getRotation() const
22
23 Methods from class SoEvent:
24
25 virtual SoType getTypeId() const
26 SbBool isOfType(SoType type) const
27 void setTime(SbTime t)
28 SbTime getTime() const
29 void setPosition(const SbVec2s &p)
30 const SbVec2s & getPosition() const
31 const SbVec2s & getPosition(const SbViewportRegion &vpRgn) const
32 const SbVec2f & getNormalizedPosition(const SbViewportRegion &vpRgn)
33 const
34 void setShiftDown(SbBool isDown)
35 void setCtrlDown(SbBool isDown)
36 void setAltDown(SbBool isDown)
37 SbBool wasShiftDown() const
38 SbBool wasCtrlDown() const
39 SbBool wasAltDown() const
40
41
43 SoMotion3Event represents 3D relative motion events in the Inventor
44 event model.
45
47 SoMotion3Event()
48 Constructor.
49
50 static SoType getClassTypeId()
51 Return the type id for the SoMotion3Event class.
52
53 void setTranslation(const SbVec3f &t)
54 const SbVec3f & getTranslation() const
55 Set and get the relative change in translation since the last trans‐
56 lation event.
57
58 void setRotation(const SbRotation &r)
59 const SbRotation & getRotation() const
60 Set and get the relative change in rotation since the last rotation
61 event.
62
63
65 SoEvent, SoButtonEvent, SoKeyboardEvent, SoLocation2Event, SoMouseBut‐
66 tonEvent, SoSpaceballButtonEvent, SoHandleEventAction, SoEventCallback,
67 SoSelection, SoInteraction, SoXtDevice
68
69
70
71
72 SoMotion3Event(3IV)()