SoMotion3Event(3)
okay so bestie, you just opened the SoMotion3Event(3) page from the Library Functions Manual, and we're gonna get you fluent in 3D motion events. periodt π
β¨
β¨ NAME β¨
SoMotion3Event β the SoMotion3Event class contains information about 3D movement events. π
π 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 π
SoMotion3Event is the class that holds all the tea about 3D movement events. π
Motion3 events are generated by devices that can do "3D motion", for instance spaceballs. An instance of this class contains information about those devices' translations and rotations in all 3 dimensions. π
See also: SoEvent, SoLocation2Event, SoEventCallback, SoHandleEventAction. (iykyk, those are the linked besties.)
π οΈ Constructor & Destructor Documentation π οΈ
SoMotion3Event::SoMotion3Event (void )
Constructor. It resets values for translation and rotation information. π«
References SbRotation::identity().
Referenced by getTypeId(), and initClass().
SoMotion3Event::~SoMotion3Event () [virtual]
Destructor. That's it, she's done. π
π Member Function Documentation π
SoType SoMotion3Event::getTypeId (void ) const [virtual]
Returns the actual type id of an instantiated object. β¨
Reimplemented from SoEvent.
References SoMotion3Event().
void SoMotion3Event::setTranslation (const SbVec3f & t)
Sets the translation value of this event. This method is used by the window specific device class(es) generating the event. π
See also getTranslation().
const SbVec3f & SoMotion3Event::getTranslation (void ) const
Returns translation value. Note that translations are specified relative to former events, i.e. the values given here are not accumulated global coordinates. πΊοΈ
See also getTime().
void SoMotion3Event::setRotation (const SbRotation & r)
Sets the rotation value of this event. This method is used by the window specific device class(es) generating the event. π
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. π‘
See also getTime().
void SoMotion3Event::initClass (void ) [static]
Initialize the type information data. π§¬
References SoEvent::SoEvent(), and SoMotion3Event().
π Author π
Generated automatically by Doxygen for Coin from the source code. Not a human author, just the Doxygen machine doing its thing. π€
That's the whole page, bestie! This was Coin, Version 2.5.0, for SoMotion3Event(3). Go slay those 3D motion events! πβ¨
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.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