SoScaleUniformDragger(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– SoScaleUniformDragger(3) β€” the Coin era πŸ’–

okay bestie, sit down, hydrate, because we're about to get into SoScaleUniformDragger(3), a page from the Coin manual, and she is long. This is part 1 of 3 so buckle up, we are NOT done at the end, do not leave the group chat yet. 🫢


✨ NAME ✨

SoScaleUniformDragger β€” the class that hands your end-user a whole mechanism for scaling things in three dimensions. three!! dimensions!! the range!! 🌈


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Inventor/draggers/SoScaleUniformDragger.h>

She inherits from SoDragger. that's the family tree, no cap. πŸ‘‘

🌸 Public Member Functions 🌸

  • virtual SoType getTypeId (void) const
  • virtual const SoNodekitCatalog * getNodekitCatalog (void) const
  • SoScaleUniformDragger (void)

πŸŽ€ Public Member Functions inherited from SoDragger πŸŽ€

like literally all of these come down from the SoDragger parent, she's generous:

  • virtual void callback (SoCallbackAction *action)
  • virtual void GLRender (SoGLRenderAction *action)
  • virtual void getMatrix (SoGetMatrixAction *action)
  • virtual void rayPick (SoRayPickAction *action)
  • virtual void search (SoSearchAction *action)
  • virtual void write (SoWriteAction *action)
  • virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action)
  • void setProjectorEpsilon (const float epsilon)
  • float getProjectorEpsilon (void) const
  • void addStartCallback (SoDraggerCB *func, void *data=NULL)
  • void removeStartCallback (SoDraggerCB *func, void *data=NULL)
  • void addMotionCallback (SoDraggerCB *func, void *data=NULL)
  • void removeMotionCallback (SoDraggerCB *func, void *data=NULL)
  • void addFinishCallback (SoDraggerCB *func, void *data=NULL)
  • void removeFinishCallback (SoDraggerCB *func, void *data=NULL)
  • void addValueChangedCallback (SoDraggerCB *func, void *data=NULL)
  • void removeValueChangedCallback (SoDraggerCB *func, void *data=NULL)
  • void setMinGesture (int pixels)
  • int getMinGesture (void) const
  • SbBool enableValueChangedCallbacks (SbBool newval)
  • const SbMatrix & getMotionMatrix (void)
  • void addOtherEventCallback (SoDraggerCB *func, void *data=NULL)
  • void removeOtherEventCallback (SoDraggerCB *func, void *data=NULL)
  • void registerChildDragger (SoDragger *child)
  • void unregisterChildDragger (SoDragger *child)
  • void registerChildDraggerMovingIndependently (SoDragger *child)
  • void unregisterChildDraggerMovingIndependently (SoDragger *child)
  • SbMatrix getLocalToWorldMatrix (void)
  • SbMatrix getWorldToLocalMatrix (void)
  • SbVec3f getLocalStartingPoint (void)
  • SbVec3f getWorldStartingPoint (void)
  • void getPartToLocalMatrix (const SbName &partname, SbMatrix &parttolocalmatrix, SbMatrix &localtopartmatrix)
  • void transformMatrixLocalToWorld (const SbMatrix &frommatrix, SbMatrix &tomatrix)
  • void transformMatrixWorldToLocal (const SbMatrix &frommatrix, SbMatrix &tomatrix)
  • void transformMatrixToLocalSpace (const SbMatrix &frommatrix, SbMatrix &tomatrix, const SbName &fromspacepartname)
  • virtual void setMotionMatrix (const SbMatrix &newmatrix)
  • void valueChanged (void)
  • const SbMatrix & getStartMotionMatrix (void)
  • virtual void saveStartParameters (void)
  • const SoPath * getPickPath (void) const
  • const SoEvent * getEvent (void) const
  • SoPath * createPathToThis (void)
  • const SoPath * getSurrogatePartPickedOwner (void) const
  • const SbName & getSurrogatePartPickedName (void) const
  • const SoPath * getSurrogatePartPickedPath (void) const
  • void setStartingPoint (const SoPickedPoint *newpoint)
  • void setStartingPoint (const SbVec3f &newpoint)
  • const SbViewVolume & getViewVolume (void)
  • void setViewVolume (const SbViewVolume &vol)
  • const SbViewportRegion & getViewportRegion (void)
  • void setViewportRegion (const SbViewportRegion &reg)
  • SoHandleEventAction * getHandleEventAction (void) const
  • void setHandleEventAction (SoHandleEventAction *newAction)
  • void setTempPathToThis (const SoPath *somethingclose)
  • virtual void grabEventsSetup (void)
  • virtual void grabEventsCleanup (void)
  • void workFieldsIntoTransform (SbMatrix &mtx)
  • void setFrontOnProjector (ProjectorFrontSetting newval)
  • ProjectorFrontSetting getFrontOnProjector (void) const

🧚 Public Member Functions inherited from SoInteractionKit 🧚

  • SoInteractionKit (void)
  • virtual SbBool setPartAsPath (const SbName &partname, SoPath *path)
  • virtual SbBool setPartAsDefault (const SbName &partname, SoNode *node, SbBool onlyifdefault=TRUE)
  • virtual SbBool setPartAsDefault (const SbName &partname, const SbName &nodename, SbBool onlyifdefault=TRUE)
  • SbBool isPathSurrogateInMySubgraph (const SoPath *path, SoPath *&pathToOwner, SbName &surrogatename, SoPath *&surrogatepath, SbBool fillargs=TRUE)
  • SbBool isPathSurrogateInMySubgraph (const SoPath *path)
  • virtual SbBool setPart (const SbName &partname, SoNode *from)

πŸ’œ Public Member Functions inherited from SoBaseKit πŸ’œ

  • SoBaseKit (void)
  • virtual SoNode * getPart (const SbName &partname, SbBool makeifneeded)
  • SbString getPartString (const SoBase *part)
  • virtual SoNodeKitPath * createPathToPart (const SbName &partname, SbBool makeifneeded, const SoPath *pathtoextend=NULL)
  • SbBool set (const char *namevaluepairliststring)
  • SbBool set (const char *partnamestring, const char *parameterstring)
  • virtual void doAction (SoAction *action)
  • virtual SoChildList * getChildren (void) const
  • void printDiagram (void)
  • void printSubDiagram (const SbName &rootname, int level)
  • void printTable (void)
  • virtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE)
  • SbBool forceChildDrivenWriteRefs (SoOutput *out)

⭐ Public Member Functions inherited from SoNode ⭐

  • void setOverride (const SbBool state)
  • SbBool isOverride (void) const
  • void setNodeType (const NodeType type)
  • NodeType getNodeType (void) const
  • virtual SoNode * copy (SbBool copyconnections=FALSE) const
  • virtual SbBool affectsState (void) const
  • virtual void GLRenderBelowPath (SoGLRenderAction *action)
  • virtual void GLRenderInPath (SoGLRenderAction *action)
  • virtual void GLRenderOffPath (SoGLRenderAction *action)
  • virtual void pick (SoPickAction *action)
  • virtual void audioRender (SoAudioRenderAction *action)
  • virtual void startNotify (void)
  • virtual void notify (SoNotList *l)
  • SbUniqueId getNodeId (void) const
  • virtual void writeInstance (SoOutput *out)
  • virtual SoFieldContainer * copyThroughConnection (void) const

🌸 Public Member Functions inherited from SoFieldContainer 🌸

  • void setToDefaults (void)
  • SbBool hasDefaultValues (void) const
  • SbBool fieldsAreEqual (const SoFieldContainer *container) const
  • void copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE)
  • SbBool set (const char *const fielddata)
  • void get (SbString &fielddata)
  • virtual int getFields (SoFieldList &l) const
  • virtual int getAllFields (SoFieldList &l) const
  • virtual SoField * getField (const SbName &name) const
  • virtual SoField * getEventIn (const SbName &name) const
  • virtual SoField * getEventOut (const SbName &name) const
  • SbBool getFieldName (const SoField *const field, SbName &name) const
  • SbBool enableNotify (const SbBool flag)
  • SbBool isNotifyEnabled (void) const
  • SbBool set (const char *fielddata, SoInput *input)
  • void get (SbString &fielddata, SoOutput *out)
  • virtual SbBool validateNewFieldValue (SoField *field, void *newval)
  • SbBool getIsBuiltIn (void) const
  • virtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) const
  • void setUserData (void *userdata) const
  • void * getUserData (void) const

πŸ’… Public Member Functions inherited from SoBase πŸ’…

  • void ref (void) const
  • void unref (void) const
  • void unrefNoDelete (void) const
  • int32_t getRefCount (void) const
  • void touch (void)
  • SbBool isOfType (SoType type) const β€” lowkey iconic: returns TRUE if the type of this object is either of the same type or inherited from type.
  • virtual SbName getName (void) const
  • virtual void setName (const SbName &newname)
  • void addAuditor (void *const auditor, const SoNotRec::Type type)
  • void removeAuditor (void *const auditor, const SoNotRec::Type type)
  • const SoAuditorList & getAuditors (void) const
  • SbBool shouldWrite (void)
  • void assertAlive (void) const

πŸ”₯ Static Public Member Functions πŸ”₯

  • static SoType getClassTypeId (void)
  • static const SoNodekitCatalog * getClassNodekitCatalog (void)
  • static void initClass (void)

πŸŽ€ Static Public Member Functions inherited from SoDragger πŸŽ€

  • static SoType getClassTypeId (void)
  • static const SoNodekitCatalog * getClassNodekitCatalog (void)
  • static void setMinScale (float newminscale)
  • static float getMinScale (void)
  • static void workValuesIntoTransform (SbMatrix &mtx, const SbVec3f *translationptr, const SbRotation *rotationptr, const SbVec3f *scalefactorptr, const SbRotation *scaleorientationptr, const SbVec3f *centerptr)
  • static void getTransformFast (SbMatrix &mtx, SbVec3f &translation, SbRotation &rotation, SbVec3f &scalefactor, SbRotation &scaleorientation, const SbVec3f &center)
  • static void getTransformFast (SbMatrix &mtx, SbVec3f &translation, SbRotation &rotation, SbVec3f &scalefactor, SbRotation &scaleorientation)
  • static SbMatrix appendTranslation (const SbMatrix &mtx, const SbVec3f &translation, const SbMatrix *conversion=NULL)
  • static SbMatrix appendScale (const SbMatrix &mtx, const SbVec3f &scale, const SbVec3f &scalecenter, const SbMatrix *conversion=NULL)
  • static SbMatrix appendRotation (const SbMatrix &mtx, const SbRotation &rot, const SbVec3f &rotcenter, const SbMatrix *conversion=NULL)
  • static void initClass (void)
  • static void initClasses (void)

πŸ¦‹ Static Public Member Functions inherited from SoInteractionKit πŸ¦‹

  • static SoType getClassTypeId (void)
  • static const SoNodekitCatalog * getClassNodekitCatalog (void)
  • 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. she's doing the paperwork bestie. πŸ“‹
  • static void setSwitchValue (SoNode *node, const int newVal)

🌈 Static Public Member Functions inherited from SoBaseKit 🌈

  • static SoType getClassTypeId (void)
  • static void initClass (void)
  • static const SoNodekitCatalog * getClassNodekitCatalog (void)
  • static SbBool isSearchingChildren (void)
  • static void setSearchingChildren (const SbBool newval)

and that's just the synopsis, bestie. we are SO not done. part 2 incoming, do not close the tab. πŸ’–

✨ Static Public Member Functions inherited from SoNode ✨

  • static uint32_t getCompatibilityTypes(const SoType &nodetype) β€” grab the compatibility type bitmask for a node type, bestie
  • static SoType getClassTypeId(void) β€” the class type id, as ever πŸ’…
  • static SoNode *getByName(const SbName &name) β€” find a node by its name, one and done
  • static int getByName(const SbName &name, SoNodeList &l) β€” same but it fills a list, go off
  • 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. iconic
  • static void initClasses(void) β€” plural version, does all the classes at once ✨
  • static SbUniqueId getNextNodeId(void) β€” hands you the next node id, no cap
  • static int getActionMethodIndex(const SoType type) β€” the action method index for a type
  • static void getBoundingBoxS(SoAction *action, SoNode *node) β€” static bounding box hook
  • static void GLRenderS(SoAction *action, SoNode *node) β€” static GL render hook
  • static void callbackS(SoAction *action, SoNode *node) β€” static callback hook
  • static void getMatrixS(SoAction *action, SoNode *node) β€” static matrix hook
  • static void handleEventS(SoAction *action, SoNode *node) β€” static event handling hook
  • static void pickS(SoAction *action, SoNode *node) β€” static pick hook
  • static void rayPickS(SoAction *action, SoNode *node) β€” static ray pick hook
  • static void searchS(SoAction *action, SoNode *node) β€” static search hook
  • static void writeS(SoAction *action, SoNode *node) β€” static write hook
  • static void audioRenderS(SoAction *action, SoNode *node) β€” static audio render hook
  • static void getPrimitiveCountS(SoAction *action, SoNode *node) β€” static primitive count hook

✨ Static Public Member Functions inherited from SoFieldContainer ✨

  • 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. yes ma'am
  • static SoType getClassTypeId(void) β€” this static method returns the SoType object associated with objects of this class. queen behaviour
  • static void cleanupClass(void) β€” tidy up after class, periodt
  • static void initCopyDict(void) β€” spin up the copy dictionary
  • static void addCopy(const SoFieldContainer *orig, const SoFieldContainer *copy) β€” register an original β†’ copy pair
  • static SoFieldContainer *checkCopy(const SoFieldContainer *orig) β€” check if a copy exists for this original
  • static SoFieldContainer *findCopy(const SoFieldContainer *orig, const SbBool copyconnections) β€” actually find that copy, with a flag for copying connections
  • static void copyDone(void) β€” done copying, wrap it up bestie πŸŽ€

✨ Static Public Member Functions inherited from SoBase ✨

  • 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. (same energy, different base)
  • static SoType getClassTypeId(void) β€” this static method returns the SoType object associated with objects of this class.
  • static void addName(SoBase *const base, const char *const name) β€” attach a name to a base
  • static void removeName(SoBase *const base, const char *const name) β€” take that name away
  • static void incrementCurrentWriteCounter(void) β€” bump the write counter up
  • static void decrementCurrentWriteCounter(void) β€” bump it back down
  • static SoBase *getNamedBase(const SbName &name, SoType type) β€” pull out a named base of a given type
  • static int getNamedBases(const SbName &name, SoBaseList &baselist, SoType type) β€” grab all the matching named bases into a list, slay
  • static SbBool read(SoInput *input, SoBase *&base, SoType expectedtype) β€” read a base from input, checking the expected type
  • static void setInstancePrefix(const SbString &c) β€” set the instance prefix string
  • static void setTraceRefs(SbBool trace) β€” turn reference tracing on or off
  • static SbBool getTraceRefs(void) β€” and ask whether it's on
  • static SbBool connectRoute(SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname) β€” wire up a route from one node's field to another's πŸ’–
  • static SbBool readRoute(SoInput *input) β€” read a route from input

🌸 Public Attributes 🌸

  • SoSFVec3f scaleFactor β€” the scale factor itself, the whole point of this dragger honestly

Public Attributes inherited from SoDragger

  • SoSFBool isActive β€” is this dragger active or not, the eternal question

Public Attributes inherited from SoInteractionKit

  • SoSFEnum renderCaching β€” render caching mode
  • SoSFEnum boundingBoxCaching β€” bounding box caching mode
  • SoSFEnum renderCulling β€” render culling mode
  • SoSFEnum pickCulling β€” pick culling mode

πŸ¦‹ Protected Member Functions πŸ¦‹

  • virtual const SoFieldData *getFieldData(void) const β€” the field data, virtual style
  • virtual ~SoScaleUniformDragger(void) β€” the destructor, virtual and protected, lowkey mysterious
  • virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=FALSE) β€” set up the connections; doitalways defaults to FALSE
  • void dragStart(void) β€” fired when the drag begins πŸ”₯
  • void drag(void) β€” fired while dragging
  • void dragFinish(void) β€” fired when the drag is done

Protected Member Functions inherited from SoDragger

  • SoDragger(void) β€” constructor
  • virtual ~SoDragger(void) β€” destructor
  • SbVec2f getNormalizedLocaterPosition(void) β€” the normalized locater position
  • SbVec2s getLocaterPosition(void) β€” the locater position, raw
  • SbVec2s getStartLocaterPosition(void) const β€” where the locater was when it all started
  • void setStartLocaterPosition(SbVec2s p) β€” set that starting position
  • SbBool isAdequateConstraintMotion(void) β€” is the constraint motion adequate?? good question
  • virtual SbBool shouldGrabBasedOnSurrogate(const SoPath *pickpath, const SoPath *surrogatepath) β€” should we grab based on the surrogate path
  • void setCameraInfo(SoAction *action) β€” stash the camera info
  • virtual void handleEvent(SoHandleEventAction *ha) β€” handle an event
  • void transferMotion(SoDragger *child) β€” pass the motion along to a child dragger
  • void setIgnoreInBbox(SbBool newval) β€” set whether to ignore in bounding box
  • SbBool isIgnoreInBbox(void) β€” and check that setting
  • virtual void getBoundingBox(SoGetBoundingBoxAction *action) β€” compute the bounding box
  • void setActiveChildDragger(SoDragger *newchilddragger) β€” set the active child dragger
  • SoDragger *getActiveChildDragger(void) const β€” get the active child dragger
  • virtual void setDefaultOnNonWritingFields(void) β€” defaults for non-writing fields
  • void updateDraggerCache(const SoPath *path) β€” refresh the dragger cache
  • virtual const SoPickedPoint *getPickedPointForStart(SoHandleEventAction *action) β€” the picked point used to kick things off

Protected Member Functions inherited from SoInteractionKit

  • virtual ~SoInteractionKit() β€” destructor (note: no void here, that's how it's written, don't come for me πŸ’€)
  • virtual void copyContents(const SoFieldContainer *fromFC, SbBool copyConnections) β€” copy the contents over
  • virtual SbBool setPart(const int partNum, SoNode *node) β€” set a part by number
  • virtual SbBool readInstance(SoInput *in, unsigned short flags) β€” read an instance
  • virtual SbBool setAnyPartAsDefault(const SbName &partname, SoNode *node, SbBool anypart=TRUE, SbBool onlyifdefault=TRUE) β€” set any part as the default, with anypart=TRUE and onlyifdefault=TRUE
  • virtual SbBool setAnyPartAsDefault(const SbName &partname, const SbName &nodename, SbBool anypart=TRUE, SbBool onlyifdefault=TRUE) β€” same thing but by node name
  • SbBool setAnySurrogatePath(const SbName &name, SoPath *path, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE) β€” set a surrogate path; leafcheck and publiccheck default to FALSE
  • void connectSeparatorFields(SoSeparator *dest, SbBool onOff) β€” wire up separator fields

Protected Member Functions inherited from SoBaseKit

  • virtual ~SoBaseKit() β€” destructor
  • virtual SoNode *addToCopyDict(void) const β€” add this to the copy dictionary
  • SoGroup *getContainerNode(const SbName &listname, SbBool makeifneeded=TRUE) β€” get the container node, makeifneeded=TRUE
  • virtual SoNode *getAnyPart(const SbName &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE) β€” get any part by name; leafcheck=FALSE, publiccheck=FALSE
  • virtual SoNodeKitPath *createPathToAnyPart(const SbName &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE, const SoPath *pathtoextend=NULL) β€” build a path to any part; leafcheck=FALSE, publiccheck=FALSE, pathtoextend=NULL
  • virtual SbBool setAnyPart(const SbName &partname, SoNode *from, SbBool anypart=TRUE) β€” set any part, anypart=TRUE
  • void createNodekitPartsList(void) β€” create the nodekit parts list
  • void createFieldList(void) β€” create the field list
  • virtual void createDefaultParts(void) β€” create the default parts
  • const SoNodekitParts *getNodekitPartsList(void) const β€” get the nodekit parts list
  • const SbList<SoSFNode *> &getCatalogInstances(void) const β€” get the catalog instances
  • void catalogError(void) β€” raise a catalog error
  • void countMyFields(SoOutput *out) β€” count the fields

Protected Member Functions inherited from SoNode

  • SoNode(void) β€” constructor
  • virtual ~SoNode() β€” destructor

Protected Member Functions inherited from SoFieldContainer

  • SoFieldContainer(void) β€” constructor
  • virtual ~SoFieldContainer() β€” destructor

Protected Member Functions inherited from SoBase

  • SoBase(void) β€” constructor
  • virtual ~SoBase() β€” destructor
  • virtual void destroy(void) β€” destroy it
  • SbBool hasMultipleWriteRefs(void) const β€” does it have multiple write refs
  • SbBool writeHeader(SoOutput *out, SbBool isgroup, SbBool isengine) const β€” write the header
  • void writeFooter(SoOutput *out) const β€” write the footer
  • virtual const char *getFileFormatName(void) const β€” the file format name
  • virtual SoNotRec createNotRec(void) β€” create a notification record

🧚 Static Protected Member Functions 🧚

  • static const SoFieldData **getFieldDataPtr(void) β€” pointer to the field data
  • static const SoNodekitCatalog **getClassNodekitCatalogPtr(void) β€” pointer to the class nodekit catalog
  • static void startCB(void *f, SoDragger *d) β€” the start callback
  • static void motionCB(void *f, SoDragger *d) β€” the motion callback
  • static void finishCB(void *f, SoDragger *d) β€” the finish callback
  • static void fieldSensorCB(void *f, SoSensor *s) β€” the field sensor callback
  • static void valueChangedCB(void *f, SoDragger *d) β€” the value changed callback

Static Protected Member Functions inherited from SoDragger

  • static const SoFieldData **getFieldDataPtr(void) β€” field data pointer
  • static const SoNodekitCatalog **getClassNodekitCatalogPtr(void) β€” class nodekit catalog pointer
  • static void childTransferMotionAndValueChangedCB(void *, SoDragger *) β€” child motion transfer + value changed callback
  • static void childValueChangedCB(void *, SoDragger *) β€” child value changed callback
  • static void childStartCB(void *, SoDragger *) β€” child start callback
  • static void childMotionCB(void *, SoDragger *) β€” child motion callback
  • static void childFinishCB(void *, SoDragger *) β€” child finish callback
  • static void childOtherEventCB(void *, SoDragger *) β€” child other-event callback

Static Protected Member Functions inherited from SoInteractionKit

  • static const SoFieldData **getFieldDataPtr(void) β€” field data pointer
  • static const SoNodekitCatalog **getClassNodekitCatalogPtr(void) β€” class nodekit catalog pointer
  • static void readDefaultParts(const char *fileName, const char defaultBuffer[], int defBufSize) β€” read the default parts from a file
  • static void fieldSensorCB(void *, SoSensor *) β€” field sensor callback

Static Protected Member Functions inherited from SoBaseKit

  • static const SoFieldData **getFieldDataPtr(void) β€” field data pointer
  • static const SoNodekitCatalog **getClassNodekitCatalogPtr(void) β€” class nodekit catalog pointer

Static Protected Member Functions inherited from SoNode

  • static const SoFieldData **getFieldDataPtr(void) β€” field data pointer
  • static void setNextActionMethodIndex(int index) β€” set the next action method index
  • static int getNextActionMethodIndex(void) β€” get the next action method index
  • static void incNextActionMethodIndex(void) β€” increment the next action method index
  • static void setCompatibilityTypes(const SoType &nodetype, const uint32_t bitmask) β€” set compatibility types for a node type with a bitmask

Static Protected Member Functions inherited from SoBase

  • static uint32_t getCurrentWriteCounter(void) β€” get the current write counter
  • static void staticDataLock(void) β€” lock the static data πŸ”’
  • static void staticDataUnlock(void) β€” unlock it πŸ”“

πŸ’œ Protected Attributes πŸ’œ

  • SoSFNode feedback β€” the feedback node
  • SoSFNode feedbackActive β€” the active feedback node
  • SoSFNode feedbackSwitch β€” the feedback switch node
  • SoSFNode scaler β€” the scaler node
  • SoSFNode scalerActive β€” the active scaler node
  • SoSFNode scalerSwitch β€” the scaler switch node
  • SoFieldSensor *fieldSensor β€” pointer to the field sensor
  • SbLineProjector *lineProj β€” pointer to the line projector

Protected Attributes inherited from SoDragger

  • SoSFNode motionMatrix β€” the motion matrix node

Protected Attributes inherited from SoInteractionKit

  • SoSFNode geomSeparator β€” the geometry separator
  • SoSFNode topSeparator β€” the top separator
  • SoFieldSensor *fieldSensor β€” field sensor pointer
  • SoSeparator *oldTopSep β€” pointer to the old top separator

Protected Attributes inherited from SoBaseKit

  • SoSFNode callbackList β€” the callback list node
  • SoChildList *children β€” pointer to the children list
  • SbBool connectionsSetUp β€” whether connections are set up

Protected Attributes inherited from SoNode

  • SbUniqueId uniqueId β€” this node's unique id ✨

Protected Attributes inherited from SoFieldContainer

  • SbBool isBuiltIn β€” is it built in

🌈 Additional Inherited Members 🌈

Public Types inherited from SoDragger

  • enum ProjectorFrontSetting { FRONT, BACK, USE_PICK } β€” where the projector should sit: FRONT, BACK, or USE_PICK

Public Types inherited from SoInteractionKit

  • enum CacheEnabled { OFF, ON, AUTO } β€” caching options: OFF, ON, AUTO

Public Types inherited from SoNode

  • enum NodeType { INVENTOR = 0x0000, VRML1 = 0x0001, VRML2 = 0x0002, INVENTOR_1 = 0x0004, INVENTOR_2_0 = 0x0008, INVENTOR_2_1 = 0x0010, INVENTOR_2_5 = 0x0020, INVENTOR_2_6 = 0x0040, COIN_1_0 = 0x0080, COIN_2_0 = 0x0100, EXTENSION = 0x0200, COIN_2_2 = 0x0400, COIN_2_3 = 0x0800, COIN_2_4 = 0x1000, INVENTOR_5_0 = 0x2000, COIN_2_5 = 0x4000, COIN_3_0 = 0x8000, INVENTOR_6_0 = 0x10000, COIN_4_0 = 0x20000 } β€” the whole node type family tree, every single value, right there πŸ‘‘

Protected Types inherited from SoBase

  • enum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 } β€” base flags: IS_ENGINE or IS_GROUP

Static Protected Attributes inherited from SoNode

  • static SbUniqueId nextUniqueId = 1 β€” the next unique id, starting at 1
  • static int nextActionMethodIndex = 0 β€” the next action method index, starting at 0

πŸ’… Detailed Description πŸ’…

The SoScaleUniformDragger class is literally your girl for letting the end-user scale stuff in three whole dimensions. ✨

Here's how the dragger looks with its default geometry in the inactive state:

(there's a picture of it right here in the original docs β€” imagine it, inactive, just vibing) πŸ¦‹

Use this dragger when you want the end-user of your app to scale along all the axes at the same time. Simultaneously. Together. Besties. 🫢

Scaling with this dragger can only be done in a uniform manner, i.e. the X, Y and Z components of the SoScaleUniformDragger::scaleFactor will always be exactly equal. No pick-me axis, no favoritism. Periodt. πŸ‘‘

πŸ‘€ See also

  • SoScale2UniformDragger

πŸŽ€ Constructor & Destructor Documentation πŸŽ€

SoScaleUniformDragger::SoScaleUniformDragger (void )

Default constructor, and she sets up the dragger nodekit catalog with the interaction and feedback geometry. The whole backstage. πŸ’–

Nodekit structure (new entries versus parent class marked with arrow prefix):

CLASS SoScaleUniformDragger
-->"this"
      "callbackList"
      "topSeparator"
         "motionMatrix"
         "geomSeparator"
-->         "scalerSwitch"
-->            "scaler"
-->            "scalerActive"
-->         "feedbackSwitch"
-->            "feedback"
-->            "feedbackActive"

(See SoBaseKit::printDiagram() for information about the output formatting.)

Detailed information on catalog parts:

CLASS SoScaleUniformDragger
PVT   "this",  SoScaleUniformDragger  ---
      "callbackList",  SoNodeKitListPart [ SoCallback, SoEventCallback ]
PVT   "topSeparator",  SoSeparator  ---
PVT   "motionMatrix",  SoMatrixTransform  ---
PVT   "geomSeparator",  SoSeparator  ---
PVT   "scalerSwitch",  SoSwitch  ---
      "scaler",  SoSeparator  ---
      "scalerActive",  SoSeparator  ---
PVT   "feedbackSwitch",  SoSwitch  ---
      "feedback",  SoSeparator  ---
      "feedbackActive",  SoSeparator  ---

(See SoBaseKit::printTable() for information about the output formatting.)

SoScaleUniformDragger::~SoScaleUniformDragger (void ) [protected], [virtual]

Protected destructor, bestie. πŸšͺ

(Dragger classes are derived from SoBase, so they are reference counted and automatically destroyed when their reference count goes to 0.) So like… she leaves the party when nobody's holding her hand anymore. Iconic behaviour, honestly. πŸ’…


✨ Member Function Documentation ✨

SoType SoScaleUniformDragger::getClassTypeId (void ) [static]

This static method returns the SoType object associated with objects of this class. Your little class ID card. πŸͺͺ

SoType SoScaleUniformDragger::getTypeId (void ) const [virtual]

Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting. Basically the "wait, are you actually who you say you are?" check. πŸ”

Reimplemented from SoDragger.

const SoFieldData ** SoScaleUniformDragger::getFieldDataPtr (void ) [static], [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

Returns the SoFieldData class which holds information about fields in this node.

const SoFieldData * SoScaleUniformDragger::getFieldData (void ) const [protected], [virtual]

Returns a pointer to the class-wide field data storage object for this instance. If no fields are present, returns NULL. Ngl, if there are no fields it just hands you NULL and walks away. πŸ’€

Reimplemented from SoDragger.

const SoNodekitCatalog * SoScaleUniformDragger::getClassNodekitCatalog (void ) [static]

Returns the nodekit catalog which defines the layout of this class' kit. πŸ—‚οΈ

const SoNodekitCatalog * SoScaleUniformDragger::getNodekitCatalog (void ) const [virtual]

Returns the nodekit catalog which defines the layout of this class' kit. (Yes bestie, same energy as the one above β€” one's the class version, this one's the instance version.) 🫢

Reimplemented from SoDragger.

const SoNodekitCatalog ** SoScaleUniformDragger::getClassNodekitCatalogPtr (void ) [static], [protected]

Returns the pointer to the pointer of the nodekit catalog for this class. Double pointer. Very meta. Very main character. ✨

void SoScaleUniformDragger::initClass (void ) [static]

Initializes type system for this dragger class. πŸš€

Application programmers should usually not have to invoke this method, see documentation of SoInteraction::init(). So like… hands off unless you know what you're doing, bestie. 🀚

SbBool SoScaleUniformDragger::setUpConnections (SbBool onoff, SbBool doitalways = FALSE) [protected], [virtual]

Sets up all internal connections for instances of this class. πŸ”—

(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 SoBaseKit class documentation.) So it's giving for the builders only, iykyk. πŸ› οΈ

Reimplemented from SoInteractionKit.

void SoScaleUniformDragger::startCB (void * f, SoDragger * d) [static], [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

void SoScaleUniformDragger::motionCB (void * f, SoDragger * d) [static], [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

void SoScaleUniformDragger::finishCB (void * f, SoDragger * d) [static], [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

void SoScaleUniformDragger::fieldSensorCB (void * d, SoSensor * s) [static], [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

void SoScaleUniformDragger::valueChangedCB (void * f, SoDragger * d) [static], [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

void SoScaleUniformDragger::dragStart (void ) [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

Called when dragger is selected (picked) by the user. Like, she's been chosen. πŸ’–

void SoScaleUniformDragger::drag (void ) [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

Called when user drags the mouse after picking the dragger. πŸ–±οΈβœ¨

void SoScaleUniformDragger::dragFinish (void ) [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

Called when mouse button is released after picking and interacting with the dragger. And scene. 🎬


🌸 Member Data Documentation 🌸

SoSFVec3f SoScaleUniformDragger::scaleFactor

Continuously updated to contain the current vector of scaling along the X, Y and Z axes. Bestie is always updating her status. 🌈

SoFieldSensor* SoScaleUniformDragger::fieldSensor [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ

SbLineProjector* SoScaleUniformDragger::lineProj [protected]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. πŸ™ˆ


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. So technically the author is a robot and not a girlie, but she ate regardless. πŸ’…βœ¨


Okay that's the whole page bestie, you made it to the end, so proud of you πŸ₯ΉπŸ’– This was SoScaleUniformDragger(3) from Coin version 4.0.10, dated Thu Jun 25 2026 00:00:00 β€” write that date down, she's timeless. Now go scale something uniformly. Periodt. πŸŽ€πŸ¦‹β­

πŸ“¦ where this page comes from