SoScXMLNavigationTarget(3)
β¨ NAME β¨
SoScXMLNavigationTarget β bestie, it's the base class for navigation system SCXML event target services π
(yes, we're in Coin territory, the man page is SoScXMLNavigationTarget(3), strap in π)
π¦ SYNOPSIS π¦
#include <Inventor/navigation/SoScXMLNavigationTarget.h>
Inherits ScXMLEventTarget.
Inherited by SoScXMLDollyTarget, SoScXMLFlightControlTarget, SoScXMLMiscTarget, SoScXMLMotionTarget, SoSCXMLPanTargetβ¦ ok no literally: SoScXMLDollyTarget, SoScXMLFlightControlTarget, SoScXMLMiscTarget, SoScXMLMotionTarget, SoScXMLPanTarget, SoScXMLRotateTarget, SoScXMLSeekTarget, SoScXMLSpinTarget, and SoScXMLZoomTarget. π
πΈ Classes πΈ
class Data
π Public Member Functions π
virtual SoType getTypeId (void) const =0β gives you the type identification of an object derived from a class inheritingSoBase. It's the whole runtime type checking + "downward" casting situation. πͺ
Public Member Functions inherited from ScXMLEventTarget
virtual void setEventTargetType (const char *targettype)const char * getEventTargetType (void) constvirtual void setEventTargetName (const char *targetname)const char * getEventTargetName (void) constvirtual const ScXMLEvent * getCurrentEvent (void) constvirtual 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β returnsTRUEif 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 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 theSoTypeobject 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 ofinitClass, deallocates any class specific resources and resets the class to an uninitialized state with respect to the Coin type system. no cap, it un-inits. π
π Protected Types π
typedef Data * NewDataFunc(void)
π Protected Member Functions π
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)virtual SbBool processOneEvent (const ScXMLEvent *event)
π Static Protected Member Functions π
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)
π§ Additional Inherited Members π§
Protected Attributes inherited from ScXMLEventTarget
char * targetnamechar * targettypeconst ScXMLEvent * currenteventSbBool isprocessingqueue
π Detailed Description π
okay so β base class for navigation system SCXML event target services. π
This class contains some common, useful, utility functions for implementing navigation system event targets. it's giving "we did the homework so you don't have to". π
- Since β Coin 3.1
π Member Function Documentation π
virtual SoType SoScXMLNavigationTarget::getTypeId (void ) const [pure 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 ScXMLEventTarget.
Implemented in SoScXMLDollyTarget, SoScXMLFlightControlTarget, SoScXMLMiscTarget, SoScXMLMotionTarget, SoScXMLPanTarget, SoScXMLRotateTarget, SoScXMLSeekTarget, SoScXMLSpinTarget, and SoScXMLZoomTarget. the whole squad shows up. π₯
SoScXMLNavigationTarget::Data * SoScXMLNavigationTarget::getSessionData (SbName sessionid, NewDataFunc * constructor) [protected]
Returns the Data* base handle for the data structure that corresponds to the given sessionid. The constructor argument is the function responsible for creating the Data-derived object if the session is new (or have been cleaned up earlier). β¨
void SoScXMLNavigationTarget::freeSessionData (SbName sessionid) [protected]
Cleans out the data structure that is mapped to the given sessionid. π§Ή bye bestie
SbName SoScXMLNavigationTarget::getSessionId (const ScXMLEvent * event) [static], [protected]
Returns the session id that is associated with the event. If no session id is found, SbName::empty() is returned. π
ScXMLStateMachine * SoScXMLNavigationTarget::getStateMachine (const ScXMLEvent * event, SbName sessionid) [static], [protected]
Returns the state machine that is associated with the given sessionid, or NULL if there are no state machines registered for the session id. π«₯
SoScXMLStateMachine * SoScXMLNavigationTarget::getSoStateMachine (const ScXMLEvent * event, SbName sessionid) [static], [protected]
Returns the So- state machine that is associated with the given sessionid, or NULL if there are no state machines registered for the session id or if the state machine is not of SoScXMLStateMachine type. two ways to get a NULL, iconic. π
SoCamera * SoScXMLNavigationTarget::getActiveCamera (const ScXMLEvent * event, SbName sessionid) [static], [protected]
Returns the current active camera, or NULL if there is no active camera set. If NULL is returned, error messages have been posted. πΈ
SbBool SoScXMLNavigationTarget::getEventDouble (const ScXMLEvent * event, const char * label, double & dbl_out, SbBool required = TRUE) [static], [protected]
Returns TRUE if a double was delivered with the event under the label label, and FALSE otherwise. If required is TRUE, then errors will be given, otherwise this function will remain quiet. π€«
SbBool SoScXMLNavigationTarget::getEventString (const ScXMLEvent * event, const char * label, SbString & str_out, SbBool required = TRUE) [static], [protected]
Returns TRUE if a string was delivered with the event under the label label, and FALSE otherwise. If required is TRUE, then errors will be given, otherwise this function will remain quiet. π€«
SbBool SoScXMLNavigationTarget::getEventSbBool (const ScXMLEvent * event, const char * label, SbBool & bool_out, SbBool required = TRUE) [static], [protected]
Returns TRUE if a boolean value was delivered with the event under the label label, and FALSE otherwise. If required is TRUE, then errors will be given, otherwise this function will remain quiet. π€«
SbBool SoScXMLNavigationTarget::getEventSbVec2f (const ScXMLEvent * event, const char * label, SbVec2f & vec_out, SbBool required = TRUE) [static], [protected]
Returns TRUE if an SbVec2f was delivered with the event under the label label, and FALSE otherwise. If required is TRUE, then errors will be given, otherwise this function will remain quiet. π€«
SbBool SoScXMLNavigationTarget::getEventSbVec3f (const ScXMLEvent * event, const char * label, SbVec3f & vec_out, SbBool required = TRUE) [static], [protected]
Returns TRUE if an SbVec3f was delivered with the event under the label label, and FALSE otherwise. If required is TRUE, then errors will be given, otherwise this function will remain quiet. π€«
SbBool SoScXMLNavigationTarget::getEventSbRotation (const ScXMLEvent * event, const char * label, SbRotation & rot_out, SbBool required = TRUE) [static], [protected]
Returns TRUE if an SbRotation was delivered with the event under the label label, and FALSE otherwise. If required is TRUE, then errors will be given, otherwise this function will remain quiet. π€«
π Author π
Generated automatically by Doxygen for Coin from the source code. (not a human wrote this one, it's literally the robot doing its lil thing π€β¨)
okay bestie that's the whole page, no notes π this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's page SoScXMLNavigationTarget(3) from the Coin docs β slay, you read the whole thing, so proud of you π«ΆπΈ periodt. π
π¦ 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