logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoLocation2Event — 2D location events

Description

SoLocation2Event represents 2D location events in the Inventor event model.

Inherits From

       SoEvent > SoLocation2Event

Methods

SoLocation2Event()
          Constructor.

     staticSoTypegetClassTypeId()
          Return the type id for the SoLocation2Event class.

Name

       SoLocation2Event — 2D location events

See Also

SoEvent,SoButtonEvent,SoKeyboardEvent,SoMotion3Event,SoMouseButtonEvent,SoSpaceballButtonEvent,SoHandleEventAction,SoEventCallback,SoSelection,SoInteraction,SoXtDeviceSoLocation2Event(3IV)()

Synopsis

#include<Inventor/events/SoLocation2Event.h>

          Methods from class SoLocation2Event:

                         SoLocation2Event()staticSoTypegetClassTypeId()

          Methods from class SoEvent:

     virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvoidsetTime(SbTimet)SbTimegetTime()constvoidsetPosition(constSbVec2s&p)constSbVec2s&getPosition()constconstSbVec2s&getPosition(constSbViewportRegion&vpRgn)constconstSbVec2f&getNormalizedPosition(constSbViewportRegion&vpRgn)constvoidsetShiftDown(SbBoolisDown)voidsetCtrlDown(SbBoolisDown)voidsetAltDown(SbBoolisDown)SbBoolwasShiftDown()constSbBoolwasCtrlDown()constSbBoolwasAltDown()const

See Also