SoLocation2Event(3)
β¨ SoLocation2Event(3) β¨
okay bestie, so this is a page from the Library Functions Manual β it's the SoLocation2Event manpage, and yes we are reading it together, no cap π«Ά
π NAME π
SoLocation2Event β the class that holds all the tea about 2D movement events π±οΈβ¨
π SYNOPSIS π
#include <Inventor/events/SoLocation2Event.h>
Inherits SoEvent. (yes it's giving nepo baby, but in a good way π
)
π 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 π
SoLocation2Event is the class that carries the info about 2D movement events. that's it, that's the whole job description π
Location2 events come from devices that can do 2D β like, pointer devices, typically computer mice πβ¨. Instances of this class hold info about where the pointer is on the render area.
and here's the thing bestie, listen: SoLocation2Event does not contain any new information versus its superclass. not one crumb of new data π 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 basically a little name tag so everybody knows what kind of event they're dealing with π
π« See also
SoEvent,SoMotion3EventSoEventCallback,SoHandleEventAction
π οΈ Constructor & Destructor Documentation π οΈ
π· SoLocation2Event::SoLocation2Event (void )
Constructor. the birth of a legend, lowkey π
Since: Coin 2.5
Referenced by getTypeId(), and initClass().
π¦ SoLocation2Event::~SoLocation2Event () [virtual]
Destructor. rest in peace queen, you did amazing sweetie ππ
π§ Member Function Documentation π§
β¨ SoType SoLocation2Event::getTypeId (void ) const [virtual]
Returns the actual type id of an instantiated object. that's the vibe check, fr fr.
Reimplemented from SoEvent.
References SoLocation2Event().
π
void SoLocation2Event::initClass (void ) [static]
Initialize the type information data. gotta set the whole system up before the party starts π
References SoEvent::SoEvent(), and SoLocation2Event().
π«Ά Author π«Ά
Generated automatically by Doxygen for Coin from the source code. not a human author, just robot magic, iconic behavior honestly π€β¨
aaaand that's the whole page bestie!! π this was Coin, Version 2.5.0 β so if you ever need to cite it, that's the version, periodt. mwah, go read some more manpages, i'm obsessed with you πππ¦
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.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