SoLocation2Event Class Reference
[Events]

2D location events. More...

#include <Inventor/events/SoLocation2Event.h>

Inheritance diagram for SoLocation2Event:
SoEvent SoTypedObject

List of all members.

Public Types

enum  EventSource {
  MOUSE_MOVE,
  MOUSE_ENTER,
  MOUSE_LEAVE,
  OTHER
}

Public Member Functions

virtual SoType getTypeId () const
 SoLocation2Event ()
EventSource getEventSource () const
void setEventSource (EventSource source)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

2D location events.

SoLocation2Event represents 2D location events, for example, mouse move events, in the Open Inventor event model.

SEE ALSO

SoEvent, SoButtonEvent, SoKeyboardEvent, SoMotion3Event, SoMouseButtonEvent, SoSpaceballButtonEvent, SoHandleEventAction, SoEventCallback, SoSelection, SoInteraction, SoWinDevice

See related examples:

MedicalRuler, MedicalVolumePickingGpu


Member Enumeration Documentation

Enumerator:
MOUSE_MOVE 
MOUSE_ENTER 
MOUSE_LEAVE 
OTHER 

Constructor & Destructor Documentation

SoLocation2Event::SoLocation2Event (  ) 

Constructor.


Member Function Documentation

static SoType SoLocation2Event::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoEvent.

EventSource SoLocation2Event::getEventSource (  )  const
virtual SoType SoLocation2Event::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoEvent.

void SoLocation2Event::setEventSource ( EventSource  source  ) 

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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/