Open Inventor Reference
SoMouseWheelEvent Class Reference

Open Inventor SoEvent that represents a MouseWheel movement. More...

#include <Inventor/events/SoMouseWheelEvent.h>

Inheritance diagram for SoMouseWheelEvent:
SoEvent

List of all members.

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.

Detailed Description

This class represents a MouseWheel event. It stores the wheel rotation, which may be positive or negative, depending on the move of the wheel

Author:
Florian Link

Definition at line 54 of file SoMouseWheelEvent.h.


Member Enumeration Documentation

Enumerator:
HORIZONTAL 
VERTICAL 

Definition at line 60 of file SoMouseWheelEvent.h.


Constructor & Destructor Documentation

SoMouseWheelEvent::SoMouseWheelEvent ( ) [inline]

Definition at line 65 of file SoMouseWheelEvent.h.


Member Function Documentation

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)

The documentation for this class was generated from the following file: