SoMotion3Event(3)

πŸ“¦ version 2.5.0, in fedora 43, fedora 44

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