SoLocation2Event(3)

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

πŸ’– 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, SoMotion3Event
  • SoEventCallback, 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