.TH "SoDirectionalLightDragger" 3 "Tue Jun 23 2026 23:48:38" "Version 4.0.10" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoDirectionalLightDragger \- The \fBSoDirectionalLightDragger\fP class provides interactive geometry for manipulating a directional light source\&. .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 "\fBSoDirectionalLightDragger\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 \fBgetMatrix\fP (\fBSoGetMatrixAction\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 "virtual void \fBsaveStartParameters\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 \fBtranslation\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~SoDirectionalLightDragger\fP (void)" .br .ti -1c .RI "virtual SbBool \fBsetUpConnections\fP (SbBool onoff, SbBool doitalways=FALSE)" .br .ti -1c .RI "virtual void \fBsetDefaultOnNonWritingFields\fP (void)" .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 "virtual void \fBgetBoundingBox\fP (\fBSoGetBoundingBoxAction\fP *action)" .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 .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 \fBmaterial\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBrotator\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBtranslator\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBtranslatorRotInv\fP" .br .ti -1c .RI "\fBSoSFNode\fP \fBtranslatorSep\fP" .br .ti -1c .RI "\fBSoFieldSensor\fP * \fBrotFieldSensor\fP" .br .ti -1c .RI "\fBSoFieldSensor\fP * \fBtranslFieldSensor\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 \fBSoDirectionalLightDragger\fP class provides interactive geometry for manipulating a directional light source\&. Here's how the dragger looks with its default geometry in the inactive state: .PP .PP This dragger is well suited to use for setting up the fields of a \fBSoDirectionalLight\fP node, as it provides geometry for the end-user to interact with a directional vector\&. .PP The image below is an action shot example, with the directional light being red and the camera headlight turned right down\&. .PP .PP For convenience, this dragger also by default contains interaction geometry for placing the dragger itself\&. (\fBSoDirectionalLight\fP nodes don't have a position field, so this was strictly not needed\&.) .PP The Coin library also includes a manipulator class, \fBSoDirectionalLightManip\fP, which wraps the functionality provided by this class inside the necessary mechanisms for connecting it to \fBSoDirectionalLight\fP node instances in a scene graph\&. .PP \fBSee also\fP .RS 4 \fBSoDirectionalLightManip\fP .RE .PP .SH "Constructor & Destructor Documentation" .PP .SS "SoDirectionalLightDragger::SoDirectionalLightDragger (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 SoDirectionalLightDragger -->"this" "callbackList" "topSeparator" "motionMatrix" --> "material" --> "translatorSep" --> "translatorRotInv" --> "translator" --> "rotator" "geomSeparator" .fi .PP .PP (See \fBSoBaseKit::printDiagram()\fP for information about the output formatting\&.) .PP Detailed information on catalog parts: .PP .PP .nf CLASS SoDirectionalLightDragger PVT "this", SoDirectionalLightDragger --- "callbackList", SoNodeKitListPart [ SoCallback, SoEventCallback ] PVT "topSeparator", SoSeparator --- PVT "motionMatrix", SoMatrixTransform --- "material", SoMaterial --- PVT "translatorSep", SoSeparator --- "translatorRotInv", SoRotation --- "translator", SoDragPointDragger --- "rotator", SoRotateSphericalDragger --- PVT "geomSeparator", SoSeparator --- .fi .PP .PP (See \fBSoBaseKit::printTable()\fP for information about the output formatting\&.) .SS "SoDirectionalLightDragger::~SoDirectionalLightDragger (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 SoDirectionalLightDragger::getClassTypeId (void )\fR [static]\fP" This static method returns the \fBSoType\fP object associated with objects of this class\&. .SS "\fBSoType\fP SoDirectionalLightDragger::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 ** SoDirectionalLightDragger::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 * SoDirectionalLightDragger::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 * SoDirectionalLightDragger::getClassNodekitCatalog (void )\fR [static]\fP" Returns the nodekit catalog which defines the layout of this class' kit\&. .SS "const \fBSoNodekitCatalog\fP * SoDirectionalLightDragger::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 ** SoDirectionalLightDragger::getClassNodekitCatalogPtr (void )\fR [static]\fP, \fR [protected]\fP" Returns the pointer to the pointer of the nodekit catalog for this class\&. .SS "void SoDirectionalLightDragger::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 "SbBool SoDirectionalLightDragger::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 SoDirectionalLightDragger::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 SoDirectionalLightDragger::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 SoDirectionalLightDragger::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 .SH "Member Data Documentation" .PP .SS "\fBSoSFRotation\fP SoDirectionalLightDragger::rotation" This field is continuously updated to contain the rotation of the current direction vector\&. The application programmer will typically connect this to the rotation field of a \fBSoDirectionalLight\fP node (unless using the \fBSoDirectionalLightManip\fP class, where this is taken care of automatically)\&. .PP It may also of course be connected to any other rotation field controlling the direction of scene graph geometry, it does not have to part of a \fBSoDirectionalLight\fP node specifically\&. .SS "\fBSoSFVec3f\fP SoDirectionalLightDragger::translation" Continuously updated to contain the current translation from the dragger's local origo position\&. .PP This field is not used by the \fBSoDirectionalLightManip\fP, but may be of interest for the application programmer wanting to use the \fBSoDirectionalLightDragger\fP outside the context of controlling a directional light node\&. .SS "\fBSoFieldSensor\fP* SoDirectionalLightDragger::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* SoDirectionalLightDragger::translFieldSensor\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\&.