SoLocation2Event(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– SoLocation2Event πŸ’–

okay so bestie, welcome to the SoLocation2Event(3) page of the Coin manual πŸ’… this is the whole vibe, every last detail, no gatekeeping 🫢


✨ NAME ✨

SoLocation2Event β€” the class that holds all the tea about 2D movement events ✨


🌸 SYNOPSIS 🌸

#include <Inventor/events/SoLocation2Event.h>

Inherits SoEvent.

πŸ’« 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. periodt πŸ’œ

Location2 events are generated by devices capable of 2D, e.g. pointer devices β€” typically a computer mouse πŸ–±οΈβœ¨ Instances of this class contain info about the position of the pointer on the render area.

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. like, it's literally just there to label the vibe for the scene graph bestie, that's the whole job πŸ’…

πŸ‘€ See also

  • SoEvent, SoMotion3Event
  • SoEventCallback, SoHandleEventAction

πŸŽ€ Constructor & Destructor Documentation πŸŽ€

πŸ’– SoLocation2Event::SoLocation2Event (void )

Constructor. it makes the thing ✨

πŸ’– SoLocation2Event::~SoLocation2Event () [virtual]

Destructor. it un-makes the thing 😭


πŸ‘‘ Member Function Documentation πŸ‘‘

πŸ’« SoType SoLocation2Event::getClassTypeId (void ) [static]

This static method returns the SoType object associated with objects of this class. the class's lil ID card fr fr πŸͺͺ

πŸ’« SoType SoLocation2Event::getTypeId (void ) const [virtual]

Returns the type identification of an object derived from a class inheriting SoEvent. This is used for runtime type checking and "downward" casting. iykyk 🧚

Reimplemented from SoEvent.

πŸ’« void SoLocation2Event::initClass (void ) [static]

Initialize the type information data. gotta set it up before it can slay ⭐


🫢 Author 🫢

Generated automatically by Doxygen for Coin from the source code. no cap, the robots wrote this one πŸ€–πŸ’–


and that's the whole page bestie!! every flag, every function, every inherited lil guy β€” all accounted for πŸ’―

Version 4.0.10 πŸŽ€ Thu Jun 25 2026 00:00:00 β€” mwah, that's a wrap on SoLocation2Event(3), stay iconic πŸŒΈπŸ’…βœ¨

πŸ“¦ where this page comes from