SoMotion3Event(3)
π 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) constSoMotion3Event (void)virtual ~SoMotion3Event ()void setTranslation (const SbVec3f &t)const SbVec3f & getTranslation (void) constvoid setRotation (const SbRotation &r)const SbRotation & getRotation (void) const
π§ Public Member Functions inherited from SoEvent
SoEvent (void)virtual ~SoEvent ()SbBool isOfType (SoType type) constvoid setTime (const SbTime t)SbTime getTime (void) constvoid setPosition (const SbVec2s &p)const SbVec2s & getPosition (void) constconst SbVec2s & getPosition (const SbViewportRegion &vpRgn) constconst SbVec2f & getNormalizedPosition (const SbViewportRegion &vpRgn) constvoid setShiftDown (SbBool isDown)SbBool wasShiftDown (void) constvoid setCtrlDown (SbBool isDown)SbBool wasCtrlDown (void) constvoid 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,SoLocation2EventSoEventCallback,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
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms