SoLocation2Event(3)

πŸ“¦ version 2.5.0, in fedora 43, fedora 44

✨ 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, SoMotion3Event
  • SoEventCallback, 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