man events (Fonctions bibliothèques) -
NAME
Event classes -
Classes
class SoButtonEvent
"TheSoButtonEventclassisthebaseclassforallbuttonevents.
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
"TheSoEventclassisthebaseclassforallCoinevents.
Coin contains its own set of event classes, independent of the underlying window system. "
class SoKeyboardEvent
"TheSoKeyboardEventclasscontainsinformationaboutkeyboardinteraction.
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
"TheSoLocation2Eventclasscontainsinformationabout2Dmovementevents.
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
"TheSoMotion3Eventclasscontainsinformationabout3Dmovementevents.
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
"TheSoMouseButtonEventclasscontainsinformationaboutmousebuttoninteraction.
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
"TheSoSpaceballButtonEventclasscontainsinformationaboutspaceballbuttoninteraction.
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. "