SoMotion3Event(3)
π SoMotion3Event(3) π
okay bestie, so this is a page from the Library Functions Manual, and it's all about SoMotion3Event β the class that's holding all the tea about 3D movement events. yes, like, actual 3D movement. space stuff. iconic. π¦
β¨ NAME β¨
SoMotion3Event β the class that contains info about 3D movement events. that's it, that's the whole vibe.
πΈ SYNOPSIS πΈ
#include <Inventor/events/SoMotion3Event.h>
Inherits SoEvent. π
(yes, it's giving nepo baby, but in a good way.)
π 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 π
SoMotion3Event is the class that contains information about 3D movement events. fr fr.
Motion3 events are generated by devices capable of "3D motion" β think spaceballs, bestie. literally spaceballs. Instances of this class contain info about those devices' translations and rotations in all 3 dimensions. three whole dimensions. she's doing the most and we love her for it. π β¨
π¦ See also π¦
SoEvent,SoLocation2EventSoEventCallback,SoHandleEventAction
π Constructor & Destructor Documentation π
πΈ SoMotion3Event::SoMotion3Event (void ) πΈ
Constructor. Resets values for translation and rotation information. so like, a clean slate. a fresh start. a reset button but make it β¨constructorβ¨.
π SoMotion3Event::~SoMotion3Event () [virtual] π
Destructor. she's done, she's leaving, goodbye. π
β Member Function Documentation β
π SoType SoMotion3Event::getTypeId (void ) const [virtual] π
Returns the actual type id of an instantiated object. like, the real one, not the class one. the glow-up version.
Reimplemented from SoEvent.
π§ void SoMotion3Event::initClass (void ) [static] π§
Initialize the type information data. gotta set it up before you can slay with it.
π 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 like, the device classes are the ones calling this, not you, probably. iykyk.
See also
getTranslation()
π
const SbVec3f & SoMotion3Event::getTranslation (void ) const π
Returns the translation value. heads up though β translations are specified relative to former events, i.e. the values given here are not accumulated global coordinates. so don't go thinking these are absolute, bestie, they're relative. 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. same deal as the translation one β the device classes are doing the calling.
π const SbRotation & SoMotion3Event::getRotation (void ) const π
Returns the rotational value. and again β rotations are specified relative to former events, i.e. the values given here are not accumulated rotations. not cumulative, not global, just relative. don't forget it. π«Ά
See also
getTime()
π«Ά Author π«Ά
Generated automatically by Doxygen for Coin from the source code. the robots did this one, not a human, and honestly? they ate. π
and that's the whole page, bestie! every flag, every function, every "see also", every warning β all here, all intact, no cap. π
Coin Β· Version 3.1.3 Β· SoMotion3Event(3) β mwah, catch you on the next manpage πβ¨π¦
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms