SoScXMLSpinTarget(3)
π SoScXMLSpinTarget π
okay bestie, so this is a page from the Coin manual, section 3, and it's all about SoScXMLSpinTarget β lowkey a whole navigation system event target for spinning operations. yes, spinning. it's giving "spin the camera around" energy and honestly? iconic. β¨
π NAME π
SoScXMLSpinTarget β Navigation system event target for spinning operations.
no cap, that's the whole vibe. let's get into it. π
πΈ SYNOPSIS πΈ
#include <Inventor/scxml/SoScXMLSpinTarget.h>
Inherits SoScXMLNavigationTarget.
β¨ Public Member Functions β¨
virtual SoType getTypeId (void) const
Returns the type identification of an object derived from a class
inheriting SoBase. This is used for runtime type checking and downward
"casting."
π Public Member Functions inherited from ScXMLEventTarget
virtual void setEventTargetType (const char *targettype)
const char * getEventTargetType (void) const
virtual void setEventTargetName (const char *targetname)
const char * getEventTargetName (void) const
virtual const ScXMLEvent * getCurrentEvent (void) const
virtual void queueEvent (const ScXMLEvent *event)
virtual void queueEvent (const SbName &eventid)
virtual SbBool processEventQueue (void)
virtual SbBool sendExternalEvent (const ScXMLSendElt *sendelt)
virtual SbBool sendInternalEvent (const ScXMLEventElt *sendelt)
virtual void queueInternalEvent (const ScXMLEvent *event)
virtual void queueInternalEvent (const SbName &eventid)
π Public Member Functions inherited from ScXMLObject
SbBool isOfType (SoType type) const
Returns TRUE if the type of this object is either of the same type
or inherited from type.
π Static Public Member Functions π
static SoType getClassTypeId (void)
static void * createInstance (void)
static void initClass (void)
static void cleanClass (void)
static SoScXMLSpinTarget * constructSingleton (void)
static void destructSingleton (void)
static SoScXMLSpinTarget * singleton (void)
static const SbName & BEGIN (void)
static const SbName & UPDATE (void)
static const SbName & END (void)
static void reorientCamera (SoCamera *camera, const SbRotation &rot)
π Static Public Member Functions inherited from SoScXMLNavigationTarget
static SoType getClassTypeId (void)
static void initClass (void)
static void cleanClass (void)
π Static Public Member Functions inherited from ScXMLEventTarget
static SoType getClassTypeId (void)
static void initClass (void)
static void cleanClass (void)
π Static Public Member Functions inherited from ScXMLObject
static SoType getClassTypeId (void)
This static method returns the SoType object associated with objects
of this class.
static void initClass (void)
Sets up initialization for data common to all instances of this
class, like submitting necessary information to the Coin type
system.
static void cleanClass (void)
Does the opposite of initClass, deallocates any class specific
resources and resets the class to an uninitialized state with
respect to the Coin type system.
π¦ Protected Member Functions π¦
virtual SbBool processOneEvent (const ScXMLEvent *event)
π Protected Member Functions inherited from SoScXMLNavigationTarget
Data * getSessionData (SbName sessionid, NewDataFunc *constructor)
void freeSessionData (SbName sessionid)
π Protected Member Functions inherited from ScXMLEventTarget
virtual void setCurrentEvent (const ScXMLEvent *event)
virtual const ScXMLEvent * getNextEvent (void)
virtual const ScXMLEvent * getNextInternalEvent (void)
virtual const ScXMLEvent * getNextExternalEvent (void)
π Additional Inherited Members π
π Protected Types inherited from SoScXMLNavigationTarget
typedef Data * NewDataFunc(void)
π Static Protected Member Functions inherited from SoScXMLNavigationTarget
static SbName getSessionId (const ScXMLEvent *event)
static ScXMLStateMachine * getStateMachine (const ScXMLEvent *event,
SbName sessionid)
static SoScXMLStateMachine * getSoStateMachine (const ScXMLEvent *event,
SbName sessionid)
static SoCamera * getActiveCamera (const ScXMLEvent *event, SbName
sessionid)
static SbBool getEventDouble (const ScXMLEvent *event, const char
*label, double &dbl_out, SbBool required=TRUE)
static SbBool getEventString (const ScXMLEvent *event, const char
*label, SbString &str_out, SbBool required=TRUE)
static SbBool getEventSbBool (const ScXMLEvent *event, const char
*label, SbBool &bool_out, SbBool required=TRUE)
static SbBool getEventSbVec2f (const ScXMLEvent *event, const char
*label, SbVec2f &vec_out, SbBool required=TRUE)
static SbBool getEventSbVec3f (const ScXMLEvent *event, const char
*label, SbVec3f &vec_out, SbBool required=TRUE)
static SbBool getEventSbRotation (const ScXMLEvent *event, const char
*label, SbRotation &rot_out, SbBool required=TRUE)
π Static Protected Member Functions inherited from ScXMLEventTarget
static void registerEventTarget (ScXMLEventTarget *target, const char
*sessionid=NULL)
static void unregisterEventTarget (ScXMLEventTarget *target, const char
*sessionid=NULL)
static ScXMLEventTarget * getEventTarget (const char *targettype, const
char *targetname, const char *sessionid=NULL)
π Static Protected Member Functions inherited from ScXMLObject
static void registerClassType (const char *xmlns, const char *classname,
SoType type)
static void registerInvokeClassType (const char *xmlns, const char
*targettype, const char *source, SoType type)
π Protected Attributes inherited from ScXMLEventTarget
char * targetname
char * targettype
const ScXMLEvent * currentevent
SbBool isprocessingqueue
π· Detailed Description π·
Navigation system event target for spinning operations.
short, sweet, and exactly what it says on the tin. π«Ά
π₯ Member Function Documentation π₯
π« SoType SoScXMLSpinTarget::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting.
See also: SoBase::getTypeId() const
Implements SoScXMLNavigationTarget.
π« SbBool SoScXMLSpinTarget::processOneEvent (const ScXMLEvent * event) [protected], [virtual]
This function processes one event. The base class implementation does nothing.
Reimplemented from ScXMLEventTarget.
heads up bestie β the base class version of this one is literally just vibes and nothing else. it does nothing. π
π Author π
Generated automatically by Doxygen for Coin from the source code.
okay that's the whole thing, you ate that π
β¨ version 4.0.10, dated Thu Jun 25 2026 00:00:00, brought to you by SoScXMLSpinTarget(3) β go spin something pretty, ily, bye! π¦πΈπ
π¦ 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