SoLocation2Event(3)
π SoLocation2Event(3) π
okay bestie, welcome to the Library Functions Manual page for SoLocation2Event β yes it's a section 3 page, yes it's from Coin, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
SoLocation2Event β the class that holds the tea about 2D movement events π±οΈπ
πΈ SYNOPSIS πΈ
#include <Inventor/events/SoLocation2Event.h>
Inherits SoEvent. slay, lineage confirmed π
π Public Member Functions π
virtual SoType getTypeId (void) const
SoLocation2Event (void)
virtual ~SoLocation2Event ()
π Public Member Functions inherited from SoEvent
SoEvent (void)
virtual ~SoEvent ()
SbBool isOfType (SoType type) const
void setTime (const SbTime t)
SbTime getTime (void) const
void setPosition (const SbVec2s &p)
const SbVec2s & getPosition (void) const
const SbVec2s getPosition (const SbViewportRegion &vpRgn) const
const SbVec2f getNormalizedPosition (const SbViewportRegion &vpRgn) const
void setShiftDown (SbBool isDown)
SbBool wasShiftDown (void) const
void setCtrlDown (SbBool isDown)
SbBool wasCtrlDown (void) const
void setAltDown (SbBool isDown)
SbBool wasAltDown (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)
π₯ Detailed Description π₯
The SoLocation2Event class contains information about 2D movement events. that's the whole vibe fr fr π«
Location2 events are generated by devices capable of 2D, e.g. pointer devices β typically computer mice πβ¨ Instances of this class contain information about the position of the pointer on the render area.
ngl, 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. it's giving "i exist so you can label things correctly" and honestly? iconic behavior π
π See also
SoEvent,SoMotion3EventSoEventCallback,SoHandleEventAction
π Constructor & Destructor Documentation π
πΈ SoLocation2Event::SoLocation2Event (void )
Constructor. that's it, that's the line, she's built different (literally) π
πΈ SoLocation2Event::~SoLocation2Event () [virtual]
Destructor. bye bestie, thanks for the memories ππ
β¨ Member Function Documentation β¨
π
SoType SoLocation2Event::getTypeId (void ) const [virtual]
Returns the actual type id of an instantiated object. yes she knows exactly who she is, main character energy only π
Reimplemented from SoEvent.
π
void SoLocation2Event::initClass (void ) [static]
Initialize the type information data. do this before you go feral with the type system, okay? π§
π«Ά Author π«Ά
Generated automatically by Doxygen for Coin from the source code. not a human author, just doxygen doing doxygen things π€β¨
and that's the whole page bestie!! no cap, you now know everything this manpage knows πβ¨ππ¦πΈ
Coin β Version 3.1.3 β SoLocation2Event(3) π«Ά periodt, go forth and handle those 2D events π
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms