Coin
4.0.3
Coin3D core library
|
The SoLocation2Event class contains information about 2D movement events. More...
#include <Inventor/events/SoLocation2Event.h>
Public Member Functions | |
SoLocation2Event (void) | |
virtual | ~SoLocation2Event () |
virtual SoType | getTypeId (void) const |
Public Member Functions inherited from SoEvent | |
SoEvent (void) | |
virtual | ~SoEvent () |
const SbVec2f & | getNormalizedPosition (const SbViewportRegion &vpRgn) const |
const SbVec2s & | getPosition (const SbViewportRegion &vpRgn) const |
const SbVec2s & | getPosition (void) const |
SbTime | getTime (void) const |
SbBool | isOfType (SoType type) const |
void | setAltDown (SbBool isDown) |
void | setCtrlDown (SbBool isDown) |
void | setPosition (const SbVec2s &p) |
void | setShiftDown (SbBool isDown) |
void | setTime (const SbTime t) |
SbBool | wasAltDown (void) const |
SbBool | wasCtrlDown (void) const |
SbBool | wasShiftDown (void) const |
Static Public Member Functions | |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
Static Public Member Functions inherited from SoEvent | |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
The SoLocation2Event class contains information about 2D movement events.
Location2 events are generated by devices capable of 2D, e.g. pointer devices – typically a computer mouse. Instances of this class contain information about the position of the pointer on the render area.
SoLocation2Event does not contain any new information versus its superclass, its sole purpose is to make it possible to specify the type of the event for event object receivers in the scene graph.
SoLocation2Event::SoLocation2Event | ( | void | ) |
Constructor.
|
virtual |
Destructor.
This static method returns the SoType object associated with objects of this class.