SoMotion3Event(3)

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

πŸ’… SoMotion3Event πŸ’…

okay so bestie, welcome to SoMotion3Event(3) β€” this is a page straight out of the Coin manual and honestly? it's giving niche but essential. sit down, grab a strawberry, we're learning about 3D movement events. πŸ“


✨ NAME ✨

SoMotion3Event β€” the class that contains information about 3D movement events. that's it, that's the whole vibe. πŸ’–


🌈 SYNOPSIS 🌈

#include <Inventor/events/SoMotion3Event.h>

Inherits SoEvent.

🫢 Public Member Functions

  • virtual SoType getTypeId (void) const
  • SoMotion3Event (void)
  • virtual ~SoMotion3Event ()
  • void setTranslation (const SbVec3f &t)
  • const SbVec3f & getTranslation (void) const
  • void setRotation (const SbRotation &r)
  • const SbRotation & getRotation (void) const

🧚 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 SoMotion3Event class contains information about 3D movement events. no cap, that's literally its job.

Motion3 events are generated by devices capable of "3D motion", for instance a spaceball device. and like… every instance of this class is holding onto the translations and rotations of those devices in all 3 dimensions. three dimensions bestie. x, y, AND z. main character energy fr fr. πŸ‘‘

See also

  • SoEvent, SoLocation2Event
  • SoEventCallback, SoHandleEventAction

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

SoMotion3Event::SoMotion3Event (void )

Constructor. Resets values for translation and rotation information. fresh start, clean slate, new semester energy ✨

SoMotion3Event::~SoMotion3Event () [virtual]

Destructor. it's the goodbye. we don't talk about it. 😭


πŸ”₯ Member Function Documentation πŸ”₯

SoType SoMotion3Event::getClassTypeId (void ) [static]

This static method returns the SoType object associated with objects of this class. lowkey the ID card of the class. πŸͺͺ

SoType SoMotion3Event::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. yes bestie, it's checking the vibes and then casting downward. iykyk.

Reimplemented from SoEvent.

void SoMotion3Event::initClass (void ) [static]

Initialize the type information data. gotta set up the lore before the story starts. πŸ“–

void SoMotion3Event::setTranslation (const SbVec3f & t)

Sets the translation value of this event. Method is used by the window specific device class(es) generating the event. so it's not you calling this, it's the device class doing its little thing behind the scenes. πŸ™ˆ

See also

  • getTranslation()

const SbVec3f & SoMotion3Event::getTranslation (void ) const

Returns translation value. Note that translation are specified relative to former events, i.e. the values given here are not accumulated global coordinates. so do NOT treat these like absolute positions, bestie, they're deltas. important. periodt.

See also

  • getTime()

void SoMotion3Event::setRotation (const SbRotation & r)

Sets the rotation value of this event. Method is used by the window specific device class(es) generating the event. again β€” device class behavior, not your personal to-do list. πŸ’«

const SbRotation & SoMotion3Event::getRotation (void ) const

Returns rotational value. Note that rotations are specified relative to former events, i.e. the values given here are not accumulated rotations. same rule as translation, just spinnier. πŸŒ€

See also

  • getTime()

πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for Coin from the source code. the robots wrote this one, we just gave it a glow-up. πŸ€–βœ¨


okay that's the whole page bestie, you ate that. πŸ’… the source code was Doxygen-generated for Coin, and this little document is from version 4.0.10, dated Thu Jun 25 2026 00:00:00. go forth and handle those 3D motion events, queen. πŸ‘‘πŸ«Ά

πŸ“¦ where this page comes from