Coin Logo http://www.sim.no
http://www.coin3d.org

SoLocation2Event Class Reference
[Event classes]

The SoLocation2Event class contains information about 2D movement events.

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. More...

#include <Inventor/events/SoLocation2Event.h>

Inheritance diagram for SoLocation2Event:

SoEvent

List of all members.

Public Member Functions

virtual SoType getTypeId (void) const
 SoLocation2Event (void)
virtual ~SoLocation2Event ()

Static Public Member Functions

static SoType getClassTypeId (void)
static void initClass (void)


Detailed Description

The SoLocation2Event class contains information about 2D movement events.

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.

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.

See also:
SoEvent, SoMotion3Event

SoEventCallback, SoHandleEventAction


Constructor & Destructor Documentation

SoLocation2Event::SoLocation2Event ( void   ) 

Constructor.

Since:
Coin 2.5

SoLocation2Event::~SoLocation2Event (  )  [virtual]

Destructor.


Member Function Documentation

SoType SoLocation2Event::getClassTypeId ( void   )  [static]

This static method returns the SoType object associated with objects of this class.

Reimplemented from SoEvent.

Referenced by SoVRMLTouchSensor::handleEvent(), SoLocateHighlight::handleEvent(), SoDragger::handleEvent(), and SoVRMLDragSensor::handleEvent().

SoType SoLocation2Event::getTypeId ( void   )  const [virtual]

Returns the actual type id of an instantiated object.

Reimplemented from SoEvent.

void SoLocation2Event::initClass ( void   )  [static]

Initialize the type information data.

Reimplemented from SoEvent.


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

Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.

Generated on Mon Feb 23 16:33:52 2009 for Coin by Doxygen. 1.5.8