SoScXMLZoomTarget(3)
π SoScXMLZoomTarget π
okay so bestie, you just landed on the SoScXMLZoomTarget(3) page from the Coin manual β¨ and honestly? it's giving camera-zoom-slash-SCXML-event-target realness and we're gonna read the whole thing together, no skimming, no skipping, periodt π
π NAME π
SoScXMLZoomTarget β the SCXML event target service for zoom behaviour. that's it, that's the name, she's simple and she knows it πΈ
π¦ SYNOPSIS π¦
#include <Inventor/scxml/SoScXMLZoomTarget.h>
Inherits SoScXMLNavigationTarget. yes queen, she's got lineage π
π«Ά Public Member Functions
virtual SoType getTypeId (void) constβ hands you the type identification of an object that derives from a class inheritingSoBase. it's the thing that makes runtime type checking anddownward"castingwork, iykyk π₯
π 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 the same type astypeor inherited from it π«Ά
β Static Public Member Functions
static SoType getClassTypeId (void)static void * createInstance (void)static void initClass (void)static void cleanClass (void)static SoScXMLZoomTarget * constructSingleton (void)static void destructSingleton (void)static SoScXMLZoomTarget * singleton (void)static const SbName & BEGIN (void)static const SbName & UPDATE (void)static const SbName & END (void)static const SbName & ZOOM (void)static const SbName & ZOOM_IN (void)static const SbName & ZOOM_OUT (void)static const SbName & RESET (void)static void zoom (SoCamera *camera, float factor)static void reset (SoCamera *camera)
πΈ 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 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 π§
π 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 * targetnamechar * targettypeconst ScXMLEvent * currenteventSbBool isprocessingqueue
π Detailed Description π
SCXML event target service for zoom behaviour. she does one thing and she does it beautifully π
Events, bestie, here's the whole roster:
x-coin-navigation.Zoom.*
{ BEGIN _sessionid {string} mouseposition {SbVec2f}
UPDATE _sessionid {string} mouseposition {SbVec2f}
END _sessionid {string} mouseposition {SbVec2f} }
ZOOM _sessionid factor {float}
ZOOM_IN _sessionid {string} [factor] {float=1.2} [count] {float=1}
ZOOM_OUT _sessionid {string} [factor] {float=1.2} [count] {float=1}
RESET _sessionid {string}
Since: Coin 3.1 β (yes she's been iconic since way back)
π₯ Member Function Documentation π₯
SoType SoScXMLZoomTarget::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoBase. this is what powers runtime type checking and "downward" casting, fr fr π«Ά
See also: SoBase::getTypeId() const
Implements SoScXMLNavigationTarget.
void SoScXMLZoomTarget::reset (SoCamera * camera) [static]
This function resets the zooming attributes of the camera to the default values. camera got a fresh start, we love a reset arc π§β¨
SbBool SoScXMLZoomTarget::processOneEvent (const ScXMLEvent * event) [protected], [virtual]
This function processes one event. the base class implementation does nothing β literally just vibes and silence π
Reimplemented from ScXMLEventTarget.
π Author π
Generated automatically by Doxygen for Coin from the source code. not a human, not a bestie, just Doxygen doing her lil thing π€π
and that's the whole page, you made it!! this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and you can find her filed under SoScXMLZoomTarget(3) β go forth and zoom responsibly, mwah π
π
π¦ 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