.TH "SoCenterballDragger" 3 "Tue Jun 23 2026 23:48:38" "Version 4.0.10" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoCenterballDragger \- The \fBSoCenterballDragger\fP class is a dragger you can rotate and translate\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBSoDragger\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fBSoType\fP \fBgetTypeId\fP (void) const" .br .ti -1c .RI "virtual const \fBSoNodekitCatalog\fP * \fBgetNodekitCatalog\fP (void) const" .br .ti -1c .RI "\fBSoCenterballDragger\fP (void)" .br .ti -1c .RI "virtual void \fBsaveStartParameters\fP (void)" .br .in -1c Public Member Functions inherited from \fBSoDragger\fP .in +1c .ti -1c .RI "virtual void \fBcallback\fP (\fBSoCallbackAction\fP *action)" .br .ti -1c .RI "virtual void \fBGLRender\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBrayPick\fP (\fBSoRayPickAction\fP *action)" .br .ti -1c .RI "virtual void \fBsearch\fP (\fBSoSearchAction\fP *action)" .br .ti -1c .RI "virtual void \fBwrite\fP (\fBSoWriteAction\fP *action)" .br .ti -1c .RI "virtual void \fBgetPrimitiveCount\fP (\fBSoGetPrimitiveCountAction\fP *action)" .br .ti -1c .RI "void \fBsetProjectorEpsilon\fP (const float epsilon)" .br .ti -1c .RI "float \fBgetProjectorEpsilon\fP (void) const" .br .ti -1c .RI "void \fBaddStartCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBremoveStartCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBaddMotionCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBremoveMotionCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBaddFinishCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBremoveFinishCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBaddValueChangedCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBremoveValueChangedCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBsetMinGesture\fP (int pixels)" .br .ti -1c .RI "int \fBgetMinGesture\fP (void) const" .br .ti -1c .RI "SbBool \fBenableValueChangedCallbacks\fP (SbBool newval)" .br .ti -1c .RI "const \fBSbMatrix\fP & \fBgetMotionMatrix\fP (void)" .br .ti -1c .RI "void \fBaddOtherEventCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBremoveOtherEventCallback\fP (SoDraggerCB *func, void *data=NULL)" .br .ti -1c .RI "void \fBregisterChildDragger\fP (\fBSoDragger\fP *child)" .br .ti -1c .RI "void \fBunregisterChildDragger\fP (\fBSoDragger\fP *child)" .br .ti -1c .RI "void \fBregisterChildDraggerMovingIndependently\fP (\fBSoDragger\fP *child)" .br .ti -1c .RI "void \fBunregisterChildDraggerMovingIndependently\fP (\fBSoDragger\fP *child)" .br .ti -1c .RI "\fBSbMatrix\fP \fBgetLocalToWorldMatrix\fP (void)" .br .ti -1c .RI "\fBSbMatrix\fP \fBgetWorldToLocalMatrix\fP (void)" .br .ti -1c .RI "\fBSbVec3f\fP \fBgetLocalStartingPoint\fP (void)" .br .ti -1c .RI "\fBSbVec3f\fP \fBgetWorldStartingPoint\fP (void)" .br .ti -1c .RI "void \fBgetPartToLocalMatrix\fP (const \fBSbName\fP &partname, \fBSbMatrix\fP &parttolocalmatrix, \fBSbMatrix\fP &localtopartmatrix)" .br .ti -1c .RI "void \fBtransformMatrixLocalToWorld\fP (const \fBSbMatrix\fP &frommatrix, \fBSbMatrix\fP &tomatrix)" .br .ti -1c .RI "void \fBtransformMatrixWorldToLocal\fP (const \fBSbMatrix\fP &frommatrix, \fBSbMatrix\fP &tomatrix)" .br .ti -1c .RI "void \fBtransformMatrixToLocalSpace\fP (const \fBSbMatrix\fP &frommatrix, \fBSbMatrix\fP &tomatrix, const \fBSbName\fP &fromspacepartname)" .br .ti -1c .RI "virtual void \fBsetMotionMatrix\fP (const \fBSbMatrix\fP &newmatrix)" .br .ti -1c .RI "void \fBvalueChanged\fP (void)" .br .ti -1c .RI "const \fBSbMatrix\fP & \fBgetStartMotionMatrix\fP (void)" .br .ti -1c .RI "const \fBSoPath\fP * \fBgetPickPath\fP (void) const" .br .ti -1c .RI "const \fBSoEvent\fP * \fBgetEvent\fP (void) const" .br .ti -1c .RI "\fBSoPath\fP * \fBcreatePathToThis\fP (void)" .br .ti -1c .RI "const \fBSoPath\fP * \fBgetSurrogatePartPickedOwner\fP (void) const" .br .ti -1c .RI "const \fBSbName\fP & \fBgetSurrogatePartPickedName\fP (void) const" .br .ti -1c .RI "const \fBSoPath\fP * \fBgetSurrogatePartPickedPath\fP (void) const" .br .ti -1c .RI "void \fBsetStartingPoint\fP (const \fBSoPickedPoint\fP *newpoint)" .br .ti -1c .RI "void \fBsetStartingPoint\fP (const \fBSbVec3f\fP &newpoint)" .br .ti -1c .RI "const \fBSbViewVolume\fP & \fBgetViewVolume\fP (void)" .br .ti -1c .RI "void \fBsetViewVolume\fP (const \fBSbViewVolume\fP &vol)" .br .ti -1c .RI "const \fBSbViewportRegion\fP & \fBgetViewportRegion\fP (void)" .br .ti -1c .RI "void \fBsetViewportRegion\fP (const \fBSbViewportRegion\fP ®)" .br .ti -1c .RI "\fBSoHandleEventAction\fP * \fBgetHandleEventAction\fP (void) const" .br .ti -1c .RI "void \fBsetHandleEventAction\fP (\fBSoHandleEventAction\fP *newAction)" .br .ti -1c .RI "void \fBsetTempPathToThis\fP (const \fBSoPath\fP *somethingclose)" .br .ti -1c .RI "virtual void \fBgrabEventsSetup\fP (void)" .br .ti -1c .RI "virtual void \fBgrabEventsCleanup\fP (void)" .br .ti -1c .RI "void \fBworkFieldsIntoTransform\fP (\fBSbMatrix\fP &mtx)" .br .ti -1c .RI "void \fBsetFrontOnProjector\fP (\fBProjectorFrontSetting\fP newval)" .br .ti -1c .RI "\fBProjectorFrontSetting\fP \fBgetFrontOnProjector\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoInteractionKit\fP .in +1c .ti -1c .RI "\fBSoInteractionKit\fP (void)" .br .ti -1c .RI "virtual SbBool \fBsetPartAsPath\fP (const \fBSbName\fP &partname, \fBSoPath\fP *path)" .br .ti -1c .RI "virtual SbBool \fBsetPartAsDefault\fP (const \fBSbName\fP &partname, \fBSoNode\fP *node, SbBool onlyifdefault=TRUE)" .br .ti -1c .RI "virtual SbBool \fBsetPartAsDefault\fP (const \fBSbName\fP &partname, const \fBSbName\fP &nodename, SbBool onlyifdefault=TRUE)" .br .ti -1c .RI "SbBool \fBisPathSurrogateInMySubgraph\fP (const \fBSoPath\fP *path, \fBSoPath\fP *&pathToOwner, \fBSbName\fP &surrogatename, \fBSoPath\fP *&surrogatepath, SbBool fillargs=TRUE)" .br .ti -1c .RI "SbBool \fBisPathSurrogateInMySubgraph\fP (const \fBSoPath\fP *path)" .br .ti -1c .RI "virtual SbBool \fBsetPart\fP (const \fBSbName\fP &partname, \fBSoNode\fP *from)" .br .in -1c Public Member Functions inherited from \fBSoBaseKit\fP .in +1c .ti -1c .RI "\fBSoBaseKit\fP (void)" .br .ti -1c .RI "virtual \fBSoNode\fP * \fBgetPart\fP (const \fBSbName\fP &partname, SbBool makeifneeded)" .br .ti -1c .RI "\fBSbString\fP \fBgetPartString\fP (const \fBSoBase\fP *part)" .br .ti -1c .RI "virtual \fBSoNodeKitPath\fP * \fBcreatePathToPart\fP (const \fBSbName\fP &partname, SbBool makeifneeded, const \fBSoPath\fP *pathtoextend=NULL)" .br .ti -1c .RI "SbBool \fBset\fP (const char *namevaluepairliststring)" .br .ti -1c .RI "SbBool \fBset\fP (const char *partnamestring, const char *parameterstring)" .br .ti -1c .RI "virtual void \fBdoAction\fP (\fBSoAction\fP *action)" .br .ti -1c .RI "virtual \fBSoChildList\fP * \fBgetChildren\fP (void) const" .br .ti -1c .RI "void \fBprintDiagram\fP (void)" .br .ti -1c .RI "void \fBprintSubDiagram\fP (const \fBSbName\fP &rootname, int level)" .br .ti -1c .RI "void \fBprintTable\fP (void)" .br .ti -1c .RI "virtual void \fBaddWriteReference\fP (\fBSoOutput\fP *out, SbBool isfromfield=FALSE)" .br .ti -1c .RI "SbBool \fBforceChildDrivenWriteRefs\fP (\fBSoOutput\fP *out)" .br .in -1c Public Member Functions inherited from \fBSoNode\fP .in +1c .ti -1c .RI "void \fBsetOverride\fP (const SbBool state)" .br .ti -1c .RI "SbBool \fBisOverride\fP (void) const" .br .ti -1c .RI "void \fBsetNodeType\fP (const \fBNodeType\fP type)" .br .ti -1c .RI "\fBNodeType\fP \fBgetNodeType\fP (void) const" .br .ti -1c .RI "virtual \fBSoNode\fP * \fBcopy\fP (SbBool copyconnections=FALSE) const" .br .ti -1c .RI "virtual SbBool \fBaffectsState\fP (void) const" .br .ti -1c .RI "virtual void \fBGLRenderBelowPath\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBGLRenderInPath\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBGLRenderOffPath\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBpick\fP (\fBSoPickAction\fP *action)" .br .ti -1c .RI "virtual void \fBaudioRender\fP (\fBSoAudioRenderAction\fP *action)" .br .ti -1c .RI "virtual void \fBstartNotify\fP (void)" .br .ti -1c .RI "virtual void \fBnotify\fP (\fBSoNotList\fP *l)" .br .ti -1c .RI "SbUniqueId \fBgetNodeId\fP (void) const" .br .ti -1c .RI "virtual void \fBwriteInstance\fP (\fBSoOutput\fP *out)" .br .ti -1c .RI "virtual \fBSoFieldContainer\fP * \fBcopyThroughConnection\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoFieldContainer\fP .in +1c .ti -1c .RI "void \fBsetToDefaults\fP (void)" .br .ti -1c .RI "SbBool \fBhasDefaultValues\fP (void) const" .br .ti -1c .RI "SbBool \fBfieldsAreEqual\fP (const \fBSoFieldContainer\fP *container) const" .br .ti -1c .RI "void \fBcopyFieldValues\fP (const \fBSoFieldContainer\fP *container, SbBool copyconnections=FALSE)" .br .ti -1c .RI "SbBool \fBset\fP (const char *const fielddata)" .br .ti -1c .RI "void \fBget\fP (\fBSbString\fP &fielddata)" .br .ti -1c .RI "virtual int \fBgetFields\fP (\fBSoFieldList\fP &l) const" .br .ti -1c .RI "virtual int \fBgetAllFields\fP (\fBSoFieldList\fP &l) const" .br .ti -1c .RI "virtual \fBSoField\fP * \fBgetField\fP (const \fBSbName\fP &name) const" .br .ti -1c .RI "virtual \fBSoField\fP * \fBgetEventIn\fP (const \fBSbName\fP &name) const" .br .ti -1c .RI "virtual \fBSoField\fP * \fBgetEventOut\fP (const \fBSbName\fP &name) const" .br .ti -1c .RI "SbBool \fBgetFieldName\fP (const \fBSoField\fP *const field, \fBSbName\fP &name) const" .br .ti -1c .RI "SbBool \fBenableNotify\fP (const SbBool flag)" .br .ti -1c .RI "SbBool \fBisNotifyEnabled\fP (void) const" .br .ti -1c .RI "SbBool \fBset\fP (const char *fielddata, \fBSoInput\fP *input)" .br .ti -1c .RI "void \fBget\fP (\fBSbString\fP &fielddata, \fBSoOutput\fP *out)" .br .ti -1c .RI "virtual SbBool \fBvalidateNewFieldValue\fP (\fBSoField\fP *field, void *newval)" .br .ti -1c .RI "SbBool \fBgetIsBuiltIn\fP (void) const" .br .ti -1c .RI "virtual void \fBgetFieldsMemorySize\fP (size_t &managed, size_t &unmanaged) const" .br .ti -1c .RI "void \fBsetUserData\fP (void *userdata) const" .br .ti -1c .RI "void * \fBgetUserData\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoBase\fP .in +1c .ti -1c .RI "void \fBref\fP (void) const" .br .ti -1c .RI "void \fBunref\fP (void) const" .br .ti -1c .RI "void \fBunrefNoDelete\fP (void) const" .br .ti -1c .RI "int32_t \fBgetRefCount\fP (void) const" .br .ti -1c .RI "void \fBtouch\fP (void)" .br .ti -1c .RI "SbBool \fBisOfType\fP (\fBSoType\fP type) const" .br .RI "Returns \fRTRUE\fP if the type of this object is either of the same type or inherited from \fItype\fP\&. " .ti -1c .RI "virtual \fBSbName\fP \fBgetName\fP (void) const" .br .ti -1c .RI "virtual void \fBsetName\fP (const \fBSbName\fP &newname)" .br .ti -1c .RI "void \fBaddAuditor\fP (void *const auditor, const \fBSoNotRec::Type\fP type)" .br .ti -1c .RI "void \fBremoveAuditor\fP (void *const auditor, const \fBSoNotRec::Type\fP type)" .br .ti -1c .RI "const \fBSoAuditorList\fP & \fBgetAuditors\fP (void) const" .br .ti -1c .RI "SbBool \fBshouldWrite\fP (void)" .br .ti -1c .RI "void \fBassertAlive\fP (void) const" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static const \fBSoNodekitCatalog\fP * \fBgetClassNodekitCatalog\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .in -1c Static Public Member Functions inherited from \fBSoDragger\fP .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static const \fBSoNodekitCatalog\fP * \fBgetClassNodekitCatalog\fP (void)" .br .ti -1c .RI "static void \fBsetMinScale\fP (float newminscale)" .br .ti -1c .RI "static float \fBgetMinScale\fP (void)" .br .ti -1c .RI "static void \fBworkValuesIntoTransform\fP (\fBSbMatrix\fP &mtx, const \fBSbVec3f\fP *translationptr, const \fBSbRotation\fP *rotationptr, const \fBSbVec3f\fP *scalefactorptr, const \fBSbRotation\fP *scaleorientationptr, const \fBSbVec3f\fP *centerptr)" .br .ti -1c .RI "static void \fBgetTransformFast\fP (\fBSbMatrix\fP &mtx, \fBSbVec3f\fP &translation, \fBSbRotation\fP &rotation, \fBSbVec3f\fP &scalefactor, \fBSbRotation\fP &scaleorientation, const \fBSbVec3f\fP ¢er)" .br .ti -1c .RI "static void \fBgetTransformFast\fP (\fBSbMatrix\fP &mtx, \fBSbVec3f\fP &translation, \fBSbRotation\fP &rotation, \fBSbVec3f\fP &scalefactor, \fBSbRotation\fP &scaleorientation)" .br .ti -1c .RI "static \fBSbMatrix\fP \fBappendTranslation\fP (const \fBSbMatrix\fP &mtx, const \fBSbVec3f\fP &translation, const \fBSbMatrix\fP *conversion=NULL)" .br .ti -1c .RI "static \fBSbMatrix\fP \fBappendScale\fP (const \fBSbMatrix\fP &mtx, const \fBSbVec3f\fP &scale, const \fBSbVec3f\fP &scalecenter, const \fBSbMatrix\fP *conversion=NULL)" .br .ti -1c .RI "static \fBSbMatrix\fP \fBappendRotation\fP (const \fBSbMatrix\fP &mtx, const \fBSbRotation\fP &rot, const \fBSbVec3f\fP &rotcenter, const \fBSbMatrix\fP *conversion=NULL)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static void \fBinitClasses\fP (void)" .br .in -1c Static Public Member Functions inherited from \fBSoInteractionKit\fP .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static const \fBSoNodekitCatalog\fP * \fBgetClassNodekitCatalog\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .RI "Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system\&. " .ti -1c .RI "static void \fBsetSwitchValue\fP (\fBSoNode\fP *node, const int newVal)" .br .in -1c Static Public Member Functions inherited from \fBSoBaseKit\fP .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static const \fBSoNodekitCatalog\fP * \fBgetClassNodekitCatalog\fP (void)" .br .ti -1c .RI "static SbBool \fBisSearchingChildren\fP (void)" .br .ti -1c .RI "static void \fBsetSearchingChildren\fP (const SbBool newval)" .br .in -1c Static Public Member Functions inherited from \fBSoNode\fP .in +1c .ti -1c .RI "static uint32_t \fBgetCompatibilityTypes\fP (const \fBSoType\fP &nodetype)" .br .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static \fBSoNode\fP * \fBgetByName\fP (const \fBSbName\fP &name)" .br .ti -1c .RI "static int \fBgetByName\fP (const \fBSbName\fP &name, \fBSoNodeList\fP &l)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .RI "Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system\&. " .ti -1c .RI "static void \fBinitClasses\fP (void)" .br .ti -1c .RI "static SbUniqueId \fBgetNextNodeId\fP (void)" .br .ti -1c .RI "static int \fBgetActionMethodIndex\fP (const \fBSoType\fP type)" .br .ti -1c .RI "static void \fBgetBoundingBoxS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBGLRenderS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBcallbackS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBgetMatrixS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBhandleEventS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBpickS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBrayPickS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBsearchS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBwriteS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBaudioRenderS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .ti -1c .RI "static void \fBgetPrimitiveCountS\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .in -1c Static Public Member Functions inherited from \fBSoFieldContainer\fP .in +1c .ti -1c .RI "static void \fBinitClass\fP (void)" .br .RI "Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system\&. " .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .RI "This static method returns the \fBSoType\fP object associated with objects of this class\&. " .ti -1c .RI "static void \fBcleanupClass\fP (void)" .br .ti -1c .RI "static void \fBinitCopyDict\fP (void)" .br .ti -1c .RI "static void \fBaddCopy\fP (const \fBSoFieldContainer\fP *orig, const \fBSoFieldContainer\fP *copy)" .br .ti -1c .RI "static \fBSoFieldContainer\fP * \fBcheckCopy\fP (const \fBSoFieldContainer\fP *orig)" .br .ti -1c .RI "static \fBSoFieldContainer\fP * \fBfindCopy\fP (const \fBSoFieldContainer\fP *orig, const SbBool copyconnections)" .br .ti -1c .RI "static void \fBcopyDone\fP (void)" .br .in -1c Static Public Member Functions inherited from \fBSoBase\fP .in +1c .ti -1c .RI "static void \fBinitClass\fP (void)" .br .RI "Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system\&. " .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .RI "This static method returns the \fBSoType\fP object associated with objects of this class\&. " .ti -1c .RI "static void \fBaddName\fP (\fBSoBase\fP *const base, const char *const name)" .br .ti -1c .RI "static void \fBremoveName\fP (\fBSoBase\fP *const base, const char *const name)" .br .ti -1c .RI "static void \fBincrementCurrentWriteCounter\fP (void)" .br .ti -1c .RI "static void \fBdecrementCurrentWriteCounter\fP (void)" .br .ti -1c .RI "static \fBSoBase\fP * \fBgetNamedBase\fP (const \fBSbName\fP &name, \fBSoType\fP type)" .br .ti -1c .RI "static int \fBgetNamedBases\fP (const \fBSbName\fP &name, \fBSoBaseList\fP &baselist, \fBSoType\fP type)" .br .ti -1c .RI "static SbBool \fBread\fP (\fBSoInput\fP *input, \fBSoBase\fP *&base, \fBSoType\fP expectedtype)" .br .ti -1c .RI "static void \fBsetInstancePrefix\fP (const \fBSbString\fP &c)" .br .ti -1c .RI "static void \fBsetTraceRefs\fP (SbBool trace)" .br .ti -1c .RI "static SbBool \fBgetTraceRefs\fP (void)" .br .ti -1c .RI "static SbBool \fBconnectRoute\fP (\fBSoInput\fP *input, const \fBSbName\fP &fromnodename, const \fBSbName\fP &fromfieldname, const \fBSbName\fP &tonodename, const \fBSbName\fP &tofieldname)" .br .ti -1c .RI "static SbBool \fBreadRoute\fP (\fBSoInput\fP *input)" .br .in -1c .SS "Public Attributes" .in +1c .ti -1c .RI "\fBSoSFRotation\fP \fBrotation\fP" .br .ti -1c .RI "\fBSoSFVec3f\fP \fBcenter\fP" .br .in -1c Public Attributes inherited from \fBSoDragger\fP .in +1c .ti -1c .RI "\fBSoSFBool\fP \fBisActive\fP" .br .in -1c Public Attributes inherited from \fBSoInteractionKit\fP .in +1c .ti -1c .RI "\fBSoSFEnum\fP \fBrenderCaching\fP" .br .ti -1c .RI "\fBSoSFEnum\fP \fBboundingBoxCaching\fP" .br .ti -1c .RI "\fBSoSFEnum\fP \fBrenderCulling\fP" .br .ti -1c .RI "\fBSoSFEnum\fP \fBpickCulling\fP" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual const \fBSoFieldData\fP * \fBgetFieldData\fP (void) const" .br .ti -1c .RI "virtual \fB~SoCenterballDragger\fP (void)" .br .ti -1c .RI "void \fBtransferCenterDraggerMotion\fP (\fBSoDragger\fP *childdragger)" .br .ti -1c .RI "void \fBsetSwitches\fP (\fBSoDragger\fP *activechild)" .br .ti -1c .RI "virtual SbBool \fBsetUpConnections\fP (SbBool onoff, SbBool doitalways=FALSE)" .br .ti -1c .RI "virtual void \fBsetDefaultOnNonWritingFields\fP (void)" .br .ti -1c .RI "virtual void \fBgetBoundingBox\fP (\fBSoGetBoundingBoxAction\fP *action)" .br .ti -1c .RI "virtual void \fBgetMatrix\fP (\fBSoGetMatrixAction\fP *action)" .br .in -1c Protected Member Functions inherited from \fBSoDragger\fP .in +1c .ti -1c .RI "\fBSoDragger\fP (void)" .br .ti -1c .RI "virtual \fB~SoDragger\fP (void)" .br .ti -1c .RI "\fBSbVec2f\fP \fBgetNormalizedLocaterPosition\fP (void)" .br .ti -1c .RI "\fBSbVec2s\fP \fBgetLocaterPosition\fP (void)" .br .ti -1c .RI "\fBSbVec2s\fP \fBgetStartLocaterPosition\fP (void) const" .br .ti -1c .RI "void \fBsetStartLocaterPosition\fP (\fBSbVec2s\fP p)" .br .ti -1c .RI "SbBool \fBisAdequateConstraintMotion\fP (void)" .br .ti -1c .RI "virtual SbBool \fBshouldGrabBasedOnSurrogate\fP (const \fBSoPath\fP *pickpath, const \fBSoPath\fP *surrogatepath)" .br .ti -1c .RI "void \fBsetCameraInfo\fP (\fBSoAction\fP *action)" .br .ti -1c .RI "virtual void \fBhandleEvent\fP (\fBSoHandleEventAction\fP *ha)" .br .ti -1c .RI "void \fBtransferMotion\fP (\fBSoDragger\fP *child)" .br .ti -1c .RI "void \fBsetIgnoreInBbox\fP (SbBool newval)" .br .ti -1c .RI "SbBool \fBisIgnoreInBbox\fP (void)" .br .ti -1c .RI "void \fBsetActiveChildDragger\fP (\fBSoDragger\fP *newchilddragger)" .br .ti -1c .RI "\fBSoDragger\fP * \fBgetActiveChildDragger\fP (void) const" .br .ti -1c .RI "void \fBupdateDraggerCache\fP (const \fBSoPath\fP *path)" .br .ti -1c .RI "virtual const \fBSoPickedPoint\fP * \fBgetPickedPointForStart\fP (\fBSoHandleEventAction\fP *action)" .br .in -1c Protected Member Functions inherited from \fBSoInteractionKit\fP .in +1c .ti -1c .RI "virtual \fB~SoInteractionKit\fP ()" .br .ti -1c .RI "virtual void \fBcopyContents\fP (const \fBSoFieldContainer\fP *fromFC, SbBool copyConnections)" .br .ti -1c .RI "virtual SbBool \fBsetPart\fP (const int partNum, \fBSoNode\fP *node)" .br .ti -1c .RI "virtual SbBool \fBreadInstance\fP (\fBSoInput\fP *in, unsigned short flags)" .br .ti -1c .RI "virtual SbBool \fBsetAnyPartAsDefault\fP (const \fBSbName\fP &partname, \fBSoNode\fP *node, SbBool anypart=TRUE, SbBool onlyifdefault=TRUE)" .br .ti -1c .RI "virtual SbBool \fBsetAnyPartAsDefault\fP (const \fBSbName\fP &partname, const \fBSbName\fP &nodename, SbBool anypart=TRUE, SbBool onlyifdefault=TRUE)" .br .ti -1c .RI "SbBool \fBsetAnySurrogatePath\fP (const \fBSbName\fP &name, \fBSoPath\fP *path, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE)" .br .ti -1c .RI "void \fBconnectSeparatorFields\fP (\fBSoSeparator\fP *dest, SbBool onOff)" .br .in -1c Protected Member Functions inherited from \fBSoBaseKit\fP .in +1c .ti -1c .RI "virtual \fB~SoBaseKit\fP ()" .br .ti -1c .RI "virtual \fBSoNode\fP * \fBaddToCopyDict\fP (void) const" .br .ti -1c .RI "\fBSoGroup\fP * \fBgetContainerNode\fP (const \fBSbName\fP &listname, SbBool makeifneeded=TRUE)" .br .ti -1c .RI "virtual \fBSoNode\fP * \fBgetAnyPart\fP (const \fBSbName\fP &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE)" .br .ti -1c .RI "virtual \fBSoNodeKitPath\fP * \fBcreatePathToAnyPart\fP (const \fBSbName\fP &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE, const \fBSoPath\fP *pathtoextend=NULL)" .br .ti -1c .RI "virtual SbBool \fBsetAnyPart\fP (const \fBSbName\fP &partname, \fBSoNode\fP *from, SbBool anypart=TRUE)" .br .ti -1c .RI "void \fBcreateNodekitPartsList\fP (void)" .br .ti -1c .RI "void \fBcreateFieldList\fP (void)" .br .ti -1c .RI "virtual void \fBcreateDefaultParts\fP (void)" .br .ti -1c .RI "const SoNodekitParts * \fBgetNodekitPartsList\fP (void) const" .br .ti -1c .RI "const \fBSbList\fP< \fBSoSFNode\fP * > & \fBgetCatalogInstances\fP (void) const" .br .ti -1c .RI "void \fBcatalogError\fP (void)" .br .ti -1c .RI "void \fBcountMyFields\fP (\fBSoOutput\fP *out)" .br .in -1c Protected Member Functions inherited from \fBSoNode\fP .in +1c .ti -1c .RI "\fBSoNode\fP (void)" .br .ti -1c .RI "virtual \fB~SoNode\fP ()" .br .in -1c Protected Member Functions inherited from \fBSoFieldContainer\fP .in +1c .ti -1c .RI "\fBSoFieldContainer\fP (void)" .br .ti -1c .RI "virtual \fB~SoFieldContainer\fP ()" .br .in -1c Protected Member Functions inherited from \fBSoBase\fP .in +1c .ti -1c .RI "\fBSoBase\fP (void)" .br .ti -1c .RI "virtual \fB~SoBase\fP ()" .br .ti -1c .RI "virtual void \fBdestroy\fP (void)" .br .ti -1c .RI "SbBool \fBhasMultipleWriteRefs\fP (void) const" .br .ti -1c .RI "SbBool \fBwriteHeader\fP (\fBSoOutput\fP *out, SbBool isgroup, SbBool isengine) const" .br .ti -1c .RI "void \fBwriteFooter\fP (\fBSoOutput\fP *out) const" .br .ti -1c .RI "virtual const char * \fBgetFileFormatName\fP (void) const" .br .ti -1c .RI "virtual \fBSoNotRec\fP \fBcreateNotRec\fP (void)" .br .in -1c .SS "Static Protected Member Functions" .in +1c .ti -1c .RI "static const \fBSoFieldData\fP ** \fBgetFieldDataPtr\fP (void)" .br .ti -1c .RI "static const \fBSoNodekitCatalog\fP ** \fBgetClassNodekitCatalogPtr\fP (void)" .br .ti -1c .RI "static void \fBfieldSensorCB\fP (void *f, \fBSoSensor\fP *s)" .br .ti -1c .RI "static void \fBvalueChangedCB\fP (void *f, \fBSoDragger\fP *d)" .br .ti -1c .RI "static void \fBkidStartCB\fP (void *f, \fBSoDragger\fP *d)" .br .ti -1c .RI "static void \fBkidFinishCB\fP (void *f, \fBSoDragger\fP *d)" .br .in -1c Static Protected Member Functions inherited from \fBSoDragger\fP .in +1c .ti -1c .RI "static const \fBSoFieldData\fP ** \fBgetFieldDataPtr\fP (void)" .br .ti -1c .RI "static const \fBSoNodekitCatalog\fP ** \fBgetClassNodekitCatalogPtr\fP (void)" .br .ti -1c .RI "static void \fBchildTransferMotionAndValueChangedCB\fP (void *, \fBSoDragger\fP *)" .br .ti -1c .RI "static void \fBchildValueChangedCB\fP (void *, \fBSoDragger\fP *)" .br .ti -1c .RI "static void \fBchildStartCB\fP (void *, \fBSoDragger\fP *)" .br .ti -1c .RI "static void \fBchildMotionCB\fP (void *, \fBSoDragger\fP *)" .br .ti -1c .RI "static void \fBchildFinishCB\fP (void *, \fBSoDragger\fP *)" .br .ti -1c .RI "static void \fBchildOtherEventCB\fP (void *, \fBSoDragger\fP *)" .br .in -1c Static Protected Member Functions inherited from \fBSoInteractionKit\fP .in +1c .ti -1c .RI "static const \fBSoFieldData\fP ** \fBgetFieldDataPtr\fP (void)" .br .ti -1c .RI "static const \fBSoNodekitCatalog\fP ** \fBgetClassNodekitCatalogPtr\fP (void)" .br .ti -1c .RI "static void \fBreadDefaultParts\fP (const char *fileName, const char defaultBuffer[], int defBufSize)" .br .ti -1c .RI "static void \fBfieldSensorCB\fP (void *, \fBSoSensor\fP *)" .br .in -1c Static Protected Member Functions inherited from \fBSoBaseKit\fP .in +1c .ti -1c .RI "static const \fBSoFieldData\fP ** \fBgetFieldDataPtr\fP (void)" .br .ti -1c .RI "static const \fBSoNodekitCatalog\fP ** \fBgetClassNodekitCatalogPtr\fP (void)" .br .in -1c Static Protected Member Functions inherited from \fBSoNode\fP .in +1c .ti -1c .RI "static const \fBSoFieldData\fP ** \fBgetFieldDataPtr\fP (void)" .br .ti -1c .RI "static void \fBsetNextActionMethodIndex\fP (int index)" .br .ti -1c .RI "static int \fBgetNextActionMethodIndex\fP (void)" .br .ti -1c .RI "static void \fBincNextActionMethodIndex\fP (void)" .br .ti -1c .RI "static void \fBsetCompatibilityTypes\fP (const \fBSoType\fP &nodetype, const uint32_t bitmask)" .br .in -1c Static Protected Member Functions inherited from \fBSoBase\fP .in +1c .ti -1c .RI "static uint32_t \fBgetCurrentWriteCounter\fP (void)" .br .ti -1c .RI "static void \fBstaticDataLock\fP (void)" .br .ti -1c .RI "static void \fBstaticDataUnlock\fP (void)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBSoSFNode\fP \fBXAxis\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBXAxisSwitch\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBXCenterChanger\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBXRotator\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBYAxis\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBYAxisSwitch\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBYCenterChanger\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBYRotator\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBZAxis\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBZAxisSwitch\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBZCenterChanger\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBZRotator\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBantiSquish\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBlightModel\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBrot2X90\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBrotX90\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBrotY90\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBrotator\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBsurroundScale\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBtranslateToCenter\fP" .br .ti -1c .RI "\fBSoFieldSensor\fP * \fBrotFieldSensor\fP" .br .ti -1c .RI "\fBSoFieldSensor\fP * \fBcenterFieldSensor\fP" .br .in -1c Protected Attributes inherited from \fBSoDragger\fP .in +1c .ti -1c .RI "\fBSoSFNode\fP \fBmotionMatrix\fP" .br .in -1c Protected Attributes inherited from \fBSoInteractionKit\fP .in +1c .ti -1c .RI "\fBSoSFNode\fP \fBgeomSeparator\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBtopSeparator\fP" .br .ti -1c .RI "\fBSoFieldSensor\fP * \fBfieldSensor\fP" .br .ti -1c .RI "\fBSoSeparator\fP * \fBoldTopSep\fP" .br .in -1c Protected Attributes inherited from \fBSoBaseKit\fP .in +1c .ti -1c .RI "\fBSoSFNode\fP \fBcallbackList\fP" .br .ti -1c .RI "\fBSoChildList\fP * \fBchildren\fP" .br .ti -1c .RI "SbBool \fBconnectionsSetUp\fP" .br .in -1c Protected Attributes inherited from \fBSoNode\fP .in +1c .ti -1c .RI "SbUniqueId \fBuniqueId\fP" .br .in -1c Protected Attributes inherited from \fBSoFieldContainer\fP .in +1c .ti -1c .RI "SbBool \fBisBuiltIn\fP" .br .in -1c .SS "Additional Inherited Members" Public Types inherited from \fBSoDragger\fP .in +1c .ti -1c .RI "enum \fBProjectorFrontSetting\fP { \fBFRONT\fP, \fBBACK\fP, \fBUSE_PICK\fP }" .br .in -1c Public Types inherited from \fBSoInteractionKit\fP .in +1c .ti -1c .RI "enum \fBCacheEnabled\fP { \fBOFF\fP, \fBON\fP, \fBAUTO\fP }" .br .in -1c Public Types inherited from \fBSoNode\fP .in +1c .ti -1c .RI "enum \fBNodeType\fP { \fBINVENTOR\fP = 0x0000, \fBVRML1\fP = 0x0001, \fBVRML2\fP = 0x0002, \fBINVENTOR_1\fP = 0x0004, \fBINVENTOR_2_0\fP = 0x0008, \fBINVENTOR_2_1\fP = 0x0010, \fBINVENTOR_2_5\fP = 0x0020, \fBINVENTOR_2_6\fP = 0x0040, \fBCOIN_1_0\fP = 0x0080, \fBCOIN_2_0\fP = 0x0100, \fBEXTENSION\fP = 0x0200, \fBCOIN_2_2\fP = 0x0400, \fBCOIN_2_3\fP = 0x0800, \fBCOIN_2_4\fP = 0x1000, \fBINVENTOR_5_0\fP = 0x2000, \fBCOIN_2_5\fP = 0x4000, \fBCOIN_3_0\fP = 0x8000, \fBINVENTOR_6_0\fP = 0x10000, \fBCOIN_4_0\fP = 0x20000 }" .br .in -1c Protected Types inherited from \fBSoBase\fP .in +1c .ti -1c .RI "enum \fBBaseFlags\fP { \fBIS_ENGINE\fP = 0x01, \fBIS_GROUP\fP = 0x02 }" .br .in -1c Static Protected Attributes inherited from \fBSoNode\fP .in +1c .ti -1c .RI "static SbUniqueId \fBnextUniqueId\fP = 1" .br .ti -1c .RI "static int \fBnextActionMethodIndex\fP = 0" .br .in -1c .SH "Detailed Description" .PP The \fBSoCenterballDragger\fP class is a dragger you can rotate and translate\&. Here's how the dragger looks with its default geometry in the inactive state: .PP .PP For rotation, click either the ball "bands" to constrain rotation to happen around the normal vector of the disc, or anywhere else on the (invisible) ball for free-form rotation\&. .PP Translation is done by clicking and dragging any of the four arrow markers\&. Hold \fRSHIFT\fP to constrain translation to a single axis instead of in the plane\&. .PP When translating, instead of modifying the translation part of the motion matrix, a \fIcenter\fP field is updated, and the geometry is moved using an internal transformation node\&. .PP Here's a simple usage example, in the form of a scene graph as an iv-file: .PP .PP .nf #Inventor V2\&.1 ascii Separator { # The dragger, offset a little bit against the geometry to clip, # so as to not mess up the user interface\&. Separator { Translation { translation -4 0 0 } DEF cbdragger CenterballDragger { } } # The clipping plane sub-graph\&. TransformSeparator { # Connect transformations to those of the dragger\&. Rotation { rotation 0 0 1 0 = USE cbdragger \&. rotation } Translation { translation 0 0 0 = USE cbdragger \&. center } # Use a simple lineset-based indicator to show how the # clipping plane is situated in space\&. Coordinate3 { point [ 0 2 2, 0 2 -2, 0 -2 2, 0 -2 -2, 0 2 -2, 0 -2 -2, 0 2 2, 0 -2 2 ] } LineSet { numVertices [ 2, 2, 2, 2 ] } ClipPlane { } } # Then follows the geometry that gets clipped\&. For this # example, we use a simple sphere\&. Sphere { } } .fi .PP .PP .PP The figure above shows the example scene graph in a viewer with the nearest cross on the centerball dragger selected\&. Moving the dragger then moves the associated clip plane over the geometry (the sphere in this case)\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoCenterballDragger::SoCenterballDragger (void )" Default constructor, sets up the dragger nodekit catalog with the interaction and feedback geometry\&. .PP Nodekit structure (new entries versus parent class marked with arrow prefix): .PP .PP .nf CLASS SoCenterballDragger -->"this" "callbackList" "topSeparator" "motionMatrix" --> "translateToCenter" --> "surroundScale" --> "antiSquish" --> "lightModel" "geomSeparator" --> "XAxisSwitch" --> "XAxis" --> "YAxisSwitch" --> "YAxis" --> "ZAxisSwitch" --> "ZAxis" --> "rotator" --> "YRotator" --> "ZCenterChanger" --> "rotX90" --> "ZRotator" --> "YCenterChanger" --> "rotY90" --> "XCenterChanger" --> "rot2X90" --> "XRotator" .fi .PP .PP (See \fBSoBaseKit::printDiagram()\fP for information about the output formatting\&.) .PP Detailed information on catalog parts: .PP .PP .nf CLASS SoCenterballDragger PVT "this", SoCenterballDragger --- "callbackList", SoNodeKitListPart [ SoCallback, SoEventCallback ] PVT "topSeparator", SoSeparator --- PVT "motionMatrix", SoMatrixTransform --- "translateToCenter", SoMatrixTransform --- "surroundScale", SoSurroundScale --- "antiSquish", SoAntiSquish --- "lightModel", SoLightModel --- PVT "geomSeparator", SoSeparator --- "rotator", SoRotateSphericalDragger --- "YRotator", SoRotateCylindricalDragger --- "ZCenterChanger", SoTranslate2Dragger --- PVT "rotX90", SoRotation --- "ZRotator", SoRotateCylindricalDragger --- "YCenterChanger", SoTranslate2Dragger --- PVT "rotY90", SoRotation --- "XCenterChanger", SoTranslate2Dragger --- PVT "rot2X90", SoRotation --- PVT "XAxisSwitch", SoSwitch --- "XAxis", SoSeparator --- PVT "YAxisSwitch", SoSwitch --- "YAxis", SoSeparator --- PVT "ZAxisSwitch", SoSwitch --- "ZAxis", SoSeparator --- "XRotator", SoRotateCylindricalDragger --- .fi .PP .PP (See \fBSoBaseKit::printTable()\fP for information about the output formatting\&.) .SS "SoCenterballDragger::~SoCenterballDragger (void )\fR [protected]\fP, \fR [virtual]\fP" Protected destructor\&. .PP (Dragger classes are derived from \fBSoBase\fP, so they are reference counted and automatically destroyed when their reference count goes to 0\&.) .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoCenterballDragger::getClassTypeId (void )\fR [static]\fP" This static method returns the \fBSoType\fP object associated with objects of this class\&. .SS "\fBSoType\fP SoCenterballDragger::getTypeId (void ) const\fR [virtual]\fP" Returns the type identification of an object derived from a class inheriting \fBSoBase\fP\&. This is used for runtime type checking and "downward" casting\&. .PP Reimplemented from \fBSoDragger\fP\&. .SS "const \fBSoFieldData\fP ** SoCenterballDragger::getFieldDataPtr (void )\fR [static]\fP, \fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Returns the \fBSoFieldData\fP class which holds information about fields in this node\&. .SS "const \fBSoFieldData\fP * SoCenterballDragger::getFieldData (void ) const\fR [protected]\fP, \fR [virtual]\fP" Returns a pointer to the class-wide field data storage object for this instance\&. If no fields are present, returns \fRNULL\fP\&. .PP Reimplemented from \fBSoDragger\fP\&. .SS "const \fBSoNodekitCatalog\fP * SoCenterballDragger::getClassNodekitCatalog (void )\fR [static]\fP" Returns the nodekit catalog which defines the layout of this class' kit\&. .SS "const \fBSoNodekitCatalog\fP * SoCenterballDragger::getNodekitCatalog (void ) const\fR [virtual]\fP" Returns the nodekit catalog which defines the layout of this class' kit\&. .PP Reimplemented from \fBSoDragger\fP\&. .SS "const \fBSoNodekitCatalog\fP ** SoCenterballDragger::getClassNodekitCatalogPtr (void )\fR [static]\fP, \fR [protected]\fP" Returns the pointer to the pointer of the nodekit catalog for this class\&. .SS "void SoCenterballDragger::initClass (void )\fR [static]\fP" Initializes type system for this dragger class\&. .PP Application programmers should usually not have to invoke this method, see documentation of \fBSoInteraction::init()\fP\&. .SS "void SoCenterballDragger::saveStartParameters (void )\fR [virtual]\fP" This is invoked to save start parameters, to enable draggers to calculate relative motion\&. .PP Default method in superclass \fBSoDragger\fP just saves the motion matrix, but subclasses should overload this method if other data needs to be saved\&. .PP Reimplemented from \fBSoDragger\fP\&. .SS "void SoCenterballDragger::transferCenterDraggerMotion (\fBSoDragger\fP * childdragger)\fR [protected]\fP" Should be called after motion matrix has been updated by a child dragger\&. .SS "void SoCenterballDragger::setSwitches (\fBSoDragger\fP * activechild)\fR [protected]\fP" Sets values for the internal \fBSoSwitch\fP parts\&. If \fIactivechild\fP == \fRNULL\fP, all feedback is deactivated\&. .SS "SbBool SoCenterballDragger::setUpConnections (SbBool onoff, SbBool doitalways = \fRFALSE\fP)\fR [protected]\fP, \fR [virtual]\fP" Sets up all internal connections for instances of this class\&. .PP (This method will usually not be of interest to the application programmer, unless you want to extend the library with new custom nodekits or dragger classes\&. If so, see the \fBSoBaseKit\fP class documentation\&.) .PP Reimplemented from \fBSoInteractionKit\fP\&. .SS "void SoCenterballDragger::setDefaultOnNonWritingFields (void )\fR [protected]\fP, \fR [virtual]\fP" (Be aware that this method is unlikely to be of interest to the application programmer who does not want to extend the library with new custom nodekits or draggers\&. If you indeed \fIare\fP writing extensions, see the information in the \fBSoBaseKit\fP class documentation\&.) .PP This is a virtual method, and the code in it should call \fBSoField::setDefault()\fP with argument \fRTRUE\fP on part fields that should not be written upon scene graph export operations\&. .PP This is typically done when: .PP .PD 0 .IP "1." 4 field value is \fRNULL\fP and part is \fRNULL\fP by default .PP .IP "2." 4 it is a leaf \fBSoGroup\fP or \fBSoSeparator\fP node with no children .PP .IP "3." 4 it is a leaf listpart with no children and an \fBSoGroup\fP or \fBSoSeparator\fP container .PP .IP "4." 4 it is a non-leaf part and it is of \fBSoGroup\fP type and all fields are at their default values .PP .PP .PP Subclasses should usually override this to do additional settings for new member fields\&. From the subclass, do remember to call "upwards" to your superclass' \fBsetDefaultOnNonWritingFields()\fP method\&. .PP Reimplemented from \fBSoDragger\fP\&. .SS "void SoCenterballDragger::fieldSensorCB (void * d, \fBSoSensor\fP * s)\fR [static]\fP, \fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br .SS "void SoCenterballDragger::valueChangedCB (void * f, \fBSoDragger\fP * d)\fR [static]\fP, \fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br .SS "void SoCenterballDragger::kidStartCB (void * d, \fBSoDragger\fP * child)\fR [static]\fP, \fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Needed to activate some feedback\&. .SS "void SoCenterballDragger::kidFinishCB (void * d, \fBSoDragger\fP * child)\fR [static]\fP, \fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Needed to deactivate some feedback\&. .SS "void SoCenterballDragger::getBoundingBox (\fBSoGetBoundingBoxAction\fP * action)\fR [protected]\fP, \fR [virtual]\fP" Action method for the \fBSoGetBoundingBoxAction\fP\&. .PP Calculates bounding box and center coordinates for node and modifies the values of the \fIaction\fP to encompass the bounding box for this node and to shift the center point for the scene more towards the one for this node\&. .PP Nodes influencing how geometry nodes calculate their bounding box also override this method to change the relevant state variables\&. .PP Reimplemented from \fBSoDragger\fP\&. .SS "void SoCenterballDragger::getMatrix (\fBSoGetMatrixAction\fP * action)\fR [protected]\fP, \fR [virtual]\fP" Action method for \fBSoGetMatrixAction\fP\&. .PP Updates \fIaction\fP by accumulating with the transformation matrix of this node (if any)\&. .PP Reimplemented from \fBSoDragger\fP\&. .SH "Member Data Documentation" .PP .SS "\fBSoSFRotation\fP SoCenterballDragger::rotation" This field is continuously updated to contain the rotation of the ball\&. .SS "\fBSoSFVec3f\fP SoCenterballDragger::center" Continuously updated to contain the current translation from the dragger's internal local origo position\&. .SS "\fBSoFieldSensor\fP* SoCenterballDragger::rotFieldSensor\fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br .SS "\fBSoFieldSensor\fP* SoCenterballDragger::centerFieldSensor\fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.