table of contents
| events(3) | Coin | events(3) |
NAME¶
events
SYNOPSIS¶
Classes¶
class SoButtonEvent
The SoButtonEvent class is the base class for all button events.
The event classes which results from the user pushing buttons on
some device (keyboard, mouse or spaceball) all inherit this class. The
SoButtonEvent class contains methods for setting and getting the
state of the button(s). " class SoEvent
The SoEvent class is the base class for all Coin events.
Coin contains its own set of event classes, independent of the
underlying window system. " class SoKeyboardEvent
The SoKeyboardEvent class contains information about keyboard
interaction.
When the user presses any keys on the keyboard, these will be
translated from a system specific event into a Coin event and sent to the
scenegraph by using instances of this class. " class
SoLocation2Event
The SoLocation2Event class contains information about 2D movement
events.
Location2 events are generated by devices capable of 2D, e.g.
pointer devices -- typically computer mice. Instances of this class contains
information about the position of the pointer on the render area. "
class SoMotion3Event
The SoMotion3Event class contains information about 3D movement
events.
Motion3 events are generated by devices capable of '3D motion',
for instance spaceballs. Instances of this class contains information about
these devices' translations and rotations in all 3 dimensions. " class
SoMouseButtonEvent
The SoMouseButtonEvent class contains information about mousebutton
interaction.
When the user presses any buttons on the mouse, these will be
translated from a system specific event into a Coin event and sent to the
scenegraph by using instances of this class. " class
SoSpaceballButtonEvent
The SoSpaceballButtonEvent class contains information about spaceball
button interaction.
When the user presses any buttons on a spaceball device, these
will be translated from a system specific event into a Coin event and sent
to the scenegraph by using instances of this class. "
Detailed Description¶
These classes are te event types you can send to a scene graph through the SoHandleEventAction. They are a pretty direct mapping from the various system event types you will have on all the host architectures.
Author¶
Generated automatically by Doxygen for Coin from the source code.
| Tue Dec 15 2020 | Version 3.1.3 |