Open Inventor Reference
|
Open Inventor SoEvent that represents a MouseWheel movement. More...
#include <Inventor/events/SoMouseWheelEvent.h>
Public Types | |
enum | Orientation { HORIZONTAL, VERTICAL } |
Public Member Functions | |
SoMouseWheelEvent () | |
short | getWheelRotation () |
get the wheel rotation value (may be positive or neagtive depending on the move direction) | |
void | setWheelRotation (short rot) |
set the wheel rotation (should only be called by the event producer, not by the event user | |
Orientation | getWheelOrientation () |
get the wheel's orientation | |
void | setWheelOrientation (Orientation orient) |
set the wheel's orientation | |
Static Public Member Functions | |
static void | initClass (void) |
Initializes base event class. |
This class represents a MouseWheel event. It stores the wheel rotation, which may be positive or negative, depending on the move of the wheel
Definition at line 54 of file SoMouseWheelEvent.h.
Definition at line 60 of file SoMouseWheelEvent.h.
SoMouseWheelEvent::SoMouseWheelEvent | ( | ) | [inline] |
Definition at line 65 of file SoMouseWheelEvent.h.
Orientation SoMouseWheelEvent::getWheelOrientation | ( | ) |
short SoMouseWheelEvent::getWheelRotation | ( | ) |
static void SoMouseWheelEvent::initClass | ( | void | ) | [static] |
Reimplemented from SoEvent.
void SoMouseWheelEvent::setWheelOrientation | ( | Orientation | orient | ) |
void SoMouseWheelEvent::setWheelRotation | ( | short | rot | ) |