SoScale2UniformDragger(3)

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

okay bestie, sit down, hydrate, because you're about to read the SoScale2UniformDragger(3) page from the Coin manual. it's a whole trilogy and this is part 1, so don't go anywhere. we're doing this together. πŸ’–


✨ NAME ✨

SoScale2UniformDragger β€” the class that gives your end-user a whole mechanism for scaling things in two dimensions. two! dimensions! iconic. πŸŽ€


🌸 SYNOPSIS 🌸

#include <Inventor/draggers/SoScale2UniformDragger.h>

Inherits SoDragger.

πŸ¦‹ Public Member Functions πŸ¦‹

the homegrown ones, the ones that are hers:

virtual SoType getTypeId (void) const
virtual const SoNodekitCatalog * getNodekitCatalog (void) const
SoScale2UniformDragger (void)

that's it. that's the whole original menu. everything else is inherited, and bestie, there is a LOT of everything else. 🫢


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

she got all of this from her SoDragger parent and she did not have to lift a finger for it, we love an inheritance moment:

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

look at that list. she's thriving. 😭


🧚 Public Member Functions inherited from SoInteractionKit 🧚

more free stuff, no cap:

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 πŸ“

the kit keeps giving, honestly:

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 πŸ‘‘

yes bestie, everything is a node, everything is connected, it's giving ancestry dot com:

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 🌈

fields. containers. the whole vibe:

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 πŸ’€

the root of the whole family tree. the original main character:

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
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
heads up on one of these: isOfType() returns TRUE if the type of this object is either of the same type or inherited from type. iykyk, it's the type-check bestie. πŸ’…

⭐ Static Public Member Functions ⭐

the static girlies. no instance required, they just exist:

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)
static void setSwitchValue (SoNode *node, const int newVal)
and one tiny note, because the original literally says it: that initClass() up there sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. periodt. that's the whole job.

πŸ’– 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 the end of the SYNOPSIS portion, bestie. there's more page coming β€” part 2 is right behind this one, don't you dare close the tab. πŸ¦‹

βœ¨πŸ’– Static Public Member Functions inherited from SoNode πŸ’–βœ¨

okay so these are the static public member functions inherited from SoNode β€” they're all iconic in their own lowkey way.

  • static uint32_t getCompatibilityTypes (const SoType &nodetype) β€” no description, bestie β€” the manpage left this one on read.
  • static SoType getClassTypeId (void) β€” no description, just the signature serving looks.
  • static SoNode * getByName (const SbName &name) β€” no description, but it's giving lookup energy.
  • static int getByName (const SbName &name, SoNodeList &l) β€” no description, still valid.
  • 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. Basically getting the whole class ready to slay.
  • static void initClasses (void) β€” no description, just vibes.
  • static SbUniqueId getNextNodeId (void) β€” no description, but it's handing out IDs like candy.
  • static int getActionMethodIndex (const SoType type) β€” no description, still iconic.
  • static void getBoundingBoxS (SoAction *action, SoNode *node) β€” no description, just a static action helper doing its thing.
  • static void GLRenderS (SoAction *action, SoNode *node) β€” no description, GL things.
  • static void callbackS (SoAction *action, SoNode *node) β€” no description.
  • static void getMatrixS (SoAction *action, SoNode *node) β€” no description.
  • static void handleEventS (SoAction *action, SoNode *node) β€” no description.
  • static void pickS (SoAction *action, SoNode *node) β€” no description.
  • static void rayPickS (SoAction *action, SoNode *node) β€” no description.
  • static void searchS (SoAction *action, SoNode *node) β€” no description.
  • static void writeS (SoAction *action, SoNode *node) β€” no description.
  • static void audioRenderS (SoAction *action, SoNode *node) β€” no description.
  • static void getPrimitiveCountS (SoAction *action, SoNode *node) β€” no description.

βœ¨πŸ’… 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. Same energy as above β€” getting the class prepped.
  • static SoType getClassTypeId (void) β€” This static method returns the SoType object associated with objects of this class. It's literally the class's type ID, no cap.
  • static void cleanupClass (void) β€” no description, just cleanup duty.
  • static void initCopyDict (void) β€” no description.
  • static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy) β€” no description.
  • static SoFieldContainer * checkCopy (const SoFieldContainer *orig) β€” no description.
  • static SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections) β€” no description.
  • static void copyDone (void) β€” no description.

βœ¨πŸ¦‹ 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. Yep, same initClass ritual.
  • static SoType getClassTypeId (void) β€” This static method returns the SoType object associated with objects of this class. Type ID again, iconic.
  • static void addName (SoBase *const base, const char *const name) β€” no description.
  • static void removeName (SoBase *const base, const char *const name) β€” no description.
  • static void incrementCurrentWriteCounter (void) β€” no description.
  • static void decrementCurrentWriteCounter (void) β€” no description.
  • static SoBase * getNamedBase (const SbName &name, SoType type) β€” no description.
  • static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type) β€” no description.
  • static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype) β€” no description.
  • static void setInstancePrefix (const SbString &c) β€” no description.
  • static void setTraceRefs (SbBool trace) β€” no description.
  • static SbBool getTraceRefs (void) β€” no description.
  • static SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname) β€” no description.
  • static SbBool readRoute (SoInput *input) β€” no description.

✨🌸 Public Attributes 🌸✨

  • SoSFVec3f scaleFactor β€” no description, just the scale factor field living its best life.

βœ¨πŸŽ€ Public Attributes inherited from SoDragger πŸŽ€βœ¨

  • SoSFBool isActive β€” no description.

✨🌈 Public Attributes inherited from SoInteractionKit 🌈✨

  • SoSFEnum renderCaching β€” no description.
  • SoSFEnum boundingBoxCaching β€” no description.
  • SoSFEnum renderCulling β€” no description.
  • SoSFEnum pickCulling β€” no description.

βœ¨πŸ’œ Protected Member Functions πŸ’œβœ¨

  • virtual const SoFieldData * getFieldData (void) const β€” no description.
  • virtual ~SoScale2UniformDragger (void) β€” no description.
  • virtual SbBool setUpConnections (SbBool onoff, SbBool doitalways=FALSE) β€” no description.
  • void dragStart (void) β€” no description.
  • void drag (void) β€” no description.
  • void dragFinish (void) β€” no description.

✨πŸ”₯ Protected Member Functions inherited from SoDragger πŸ”₯✨

  • SoDragger (void) β€” no description.
  • virtual ~SoDragger (void) β€” no description.
  • SbVec2f getNormalizedLocaterPosition (void) β€” no description.
  • SbVec2s getLocaterPosition (void) β€” no description.
  • SbVec2s getStartLocaterPosition (void) const β€” no description.
  • void setStartLocaterPosition (SbVec2s p) β€” no description.
  • SbBool isAdequateConstraintMotion (void) β€” no description.
  • virtual SbBool shouldGrabBasedOnSurrogate (const SoPath *pickpath, const SoPath *surrogatepath) β€” no description.
  • void setCameraInfo (SoAction *action) β€” no description.
  • virtual void handleEvent (SoHandleEventAction *ha) β€” no description.
  • void transferMotion (SoDragger *child) β€” no description.
  • void setIgnoreInBbox (SbBool newval) β€” no description.
  • SbBool isIgnoreInBbox (void) β€” no description.
  • virtual void getBoundingBox (SoGetBoundingBoxAction *action) β€” no description.
  • void setActiveChildDragger (SoDragger *newchilddragger) β€” no description.
  • SoDragger * getActiveChildDragger (void) const β€” no description.
  • virtual void setDefaultOnNonWritingFields (void) β€” no description.
  • void updateDraggerCache (const SoPath *path) β€” no description.
  • virtual const SoPickedPoint * getPickedPointForStart (SoHandleEventAction *action) β€” no description.

βœ¨πŸ‘‘ Protected Member Functions inherited from SoInteractionKit πŸ‘‘βœ¨

  • virtual ~SoInteractionKit () β€” no description.
  • virtual void copyContents (const SoFieldContainer *fromFC, SbBool copyConnections) β€” no description.
  • virtual SbBool setPart (const int partNum, SoNode *node) β€” no description.
  • virtual SbBool readInstance (SoInput *in, unsigned short flags) β€” no description.
  • virtual SbBool setAnyPartAsDefault (const SbName &partname, SoNode *node, SbBool anypart=TRUE, SbBool onlyifdefault=TRUE) β€” no description.
  • virtual SbBool setAnyPartAsDefault (const SbName &partname, const SbName &nodename, SbBool anypart=TRUE, SbBool onlyifdefault=TRUE) β€” no description.
  • SbBool setAnySurrogatePath (const SbName &name, SoPath *path, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE) β€” no description.
  • void connectSeparatorFields (SoSeparator *dest, SbBool onOff) β€” no description.

✨🧚 Protected Member Functions inherited from SoBaseKit 🧚✨

  • virtual ~SoBaseKit () β€” no description.
  • virtual SoNode * addToCopyDict (void) const β€” no description.
  • SoGroup * getContainerNode (const SbName &listname, SbBool makeifneeded=TRUE) β€” no description.
  • virtual SoNode * getAnyPart (const SbName &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE) β€” no description.
  • virtual SoNodeKitPath * createPathToAnyPart (const SbName &partname, SbBool makeifneeded, SbBool leafcheck=FALSE, SbBool publiccheck=FALSE, const SoPath *pathtoextend=NULL) β€” no description.
  • virtual SbBool setAnyPart (const SbName &partname, SoNode *from, SbBool anypart=TRUE) β€” no description.
  • void createNodekitPartsList (void) β€” no description.
  • void createFieldList (void) β€” no description.
  • virtual void createDefaultParts (void) β€” no description.
  • const SoNodekitParts * getNodekitPartsList (void) const β€” no description.
  • const SbList< SoSFNode * > & getCatalogInstances (void) const β€” no description.
  • void catalogError (void) β€” no description.
  • void countMyFields (SoOutput *out) β€” no description.

βœ¨πŸ“ Protected Member Functions inherited from SoNode πŸ“βœ¨

  • SoNode (void) β€” no description.
  • virtual ~SoNode () β€” no description.

βœ¨πŸ’– Protected Member Functions inherited from SoFieldContainer πŸ’–βœ¨

  • SoFieldContainer (void) β€” no description.
  • virtual ~SoFieldContainer () β€” no description.

βœ¨πŸ’€ Protected Member Functions inherited from SoBase πŸ’€βœ¨

  • SoBase (void) β€” no description.
  • virtual ~SoBase () β€” no description.
  • virtual void destroy (void) β€” no description.
  • SbBool hasMultipleWriteRefs (void) const β€” no description.
  • SbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) const β€” no description.
  • void writeFooter (SoOutput *out) const β€” no description.
  • virtual const char * getFileFormatName (void) const β€” no description.
  • virtual SoNotRec createNotRec (void) β€” no description.

✨⭐ Static Protected Member Functions ⭐✨

  • static const SoFieldData ** getFieldDataPtr (void) β€” no description.
  • static const SoNodekitCatalog ** getClassNodekitCatalogPtr (void) β€” no description.
  • static void startCB (void *f, SoDragger *d) β€” no description.
  • static void motionCB (void *f, SoDragger *d) β€” no description.
  • static void finishCB (void *f, SoDragger *d) β€” no description.
  • static void fieldSensorCB (void *f, SoSensor *s) β€” no description.
  • static void valueChangedCB (void *f, SoDragger *d) β€” no description.

βœ¨πŸ’œ Static Protected Member Functions inherited from SoDragger πŸ’œβœ¨

  • static const SoFieldData ** getFieldDataPtr (void) β€” no description.
  • static const SoNodekitCatalog ** getClassNodekitCatalogPtr (void) β€” no description.
  • static void childTransferMotionAndValueChangedCB (void *, SoDragger *) β€” no description.
  • static void childValueChangedCB (void *, SoDragger *) β€” no description.
  • static void childStartCB (void *, SoDragger *) β€” no description.
  • static void childMotionCB (void *, SoDragger *) β€” no description.
  • static void childFinishCB (void *, SoDragger *) β€” no description.
  • static void childOtherEventCB (void *, SoDragger *) β€” no description.

βœ¨πŸ¦‹ Static Protected Member Functions inherited from SoInteractionKit πŸ¦‹βœ¨

  • static const SoFieldData ** getFieldDataPtr (void) β€” no description.
  • static const SoNodekitCatalog ** getClassNodekitCatalogPtr (void) β€” no description.
  • static void readDefaultParts (const char *fileName, const char defaultBuffer[], int defBufSize) β€” no description.
  • static void fieldSensorCB (void *, SoSensor *) β€” no description.

βœ¨πŸŽ€ Static Protected Member Functions inherited from SoBaseKit πŸŽ€βœ¨

  • static const SoFieldData ** getFieldDataPtr (void) β€” no description.
  • static const SoNodekitCatalog ** getClassNodekitCatalogPtr (void) β€” no description.

✨🌈 Static Protected Member Functions inherited from SoNode 🌈✨

  • static const SoFieldData ** getFieldDataPtr (void) β€” no description.
  • static void setNextActionMethodIndex (int index) β€” no description.
  • static int getNextActionMethodIndex (void) β€” no description.
  • static void incNextActionMethodIndex (void) β€” no description.
  • static void setCompatibilityTypes (const SoType &nodetype, const uint32_t bitmask) β€” no description.

✨πŸ”₯ Static Protected Member Functions inherited from SoBase πŸ”₯✨

  • static uint32_t getCurrentWriteCounter (void) β€” no description.
  • static void staticDataLock (void) β€” no description.
  • static void staticDataUnlock (void) β€” no description.

βœ¨πŸ’… Protected Attributes πŸ’…βœ¨

  • SoSFNode feedback β€” no description.
  • SoSFNode feedbackActive β€” no description.
  • SoSFNode feedbackSwitch β€” no description.
  • SoSFNode scaler β€” no description.
  • SoSFNode scalerActive β€” no description.
  • SoSFNode scalerSwitch β€” no description.
  • SoFieldSensor * fieldSensor β€” no description.
  • SbLineProjector * lineProj β€” no description.

βœ¨πŸ‘‘ Protected Attributes inherited from SoDragger πŸ‘‘βœ¨

  • SoSFNode motionMatrix β€” no description.

✨🧚 Protected Attributes inherited from SoInteractionKit 🧚✨

  • SoSFNode geomSeparator β€” no description.
  • SoSFNode topSeparator β€” no description.
  • SoFieldSensor * fieldSensor β€” no description.
  • SoSeparator * oldTopSep β€” no description.

βœ¨πŸ“ Protected Attributes inherited from SoBaseKit πŸ“βœ¨

  • SoSFNode callbackList β€” no description.
  • SoChildList * children β€” no description.
  • SbBool connectionsSetUp β€” no description.

βœ¨πŸ’– Protected Attributes inherited from SoNode πŸ’–βœ¨

  • SbUniqueId uniqueId β€” no description.

βœ¨πŸ’œ Protected Attributes inherited from SoFieldContainer πŸ’œβœ¨

  • SbBool isBuiltIn β€” no description.

✨⭐ Additional Inherited Members ⭐✨

πŸŽ€ Public Types inherited from SoDragger

  • enum ProjectorFrontSetting { FRONT, BACK, USE_PICK } β€” no description, just the enum.

πŸŽ€ Public Types inherited from SoInteractionKit

  • enum CacheEnabled { OFF, ON, AUTO } β€” no description.

πŸŽ€ 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 }

No description, just the full enum doing its thing.

πŸŽ€ Protected Types inherited from SoBase

  • enum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 } β€” no description.

πŸŽ€ Static Protected Attributes inherited from SoNode

  • static SbUniqueId nextUniqueId = 1 β€” no description.
  • static int nextActionMethodIndex = 0 β€” no description.

✨ Detailed Description ✨

Okay bestie, so the SoScale2UniformDragger class? It's literally the mechanism that lets your end-user scale stuff in two dimensions. Two. That's it. That's the whole job. πŸ’–

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

Use this dragger to allow the end-user of your application to scale along the X-axis and the Y-axis. (Pro tip from the source, not me: use a transformation node in front of the dragger to position it and re-orient it so it scales in any plane you want. Versatile queen. πŸ‘‘)

Now the tea β˜• β€” scaling with this dragger can only be done in a uniform manner, i.e. the X component of the SoScale2UniformDragger::scaleFactor will always equal the Y component. They're bonded. Inseparable. Matching outfits, no exceptions. 🫢

And for non-uniform scaling operations in 2 dimensions? Not this one, babe β€” go use the SoScale2Dragger instead.

πŸ¦‹ See also

  • SoScaleUniformDragger

πŸ› οΈ Constructor & Destructor Documentation πŸ› οΈ

πŸ’… SoScale2UniformDragger::SoScale2UniformDragger (void )

Default constructor, and she sets up the dragger nodekit catalog with all the interaction and feedback geometry. ✨

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

CLASS SoScale2UniformDragger
-->"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 SoScale2UniformDragger
PVT   "this",  SoScale2UniformDragger  ---
      "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.)

πŸ”’ SoScale2UniformDragger::~SoScale2UniformDragger (void ) β€” [protected], [virtual]

Protected destructor. She's shy like that. πŸ™ˆ

(Dragger classes are derived from SoBase, so they are reference counted and automatically destroyed when their reference count goes to 0.) So basically, when nobody's holding on anymore, she dips. πŸ’€

🌸 Member Function Documentation 🌸

⭐ SoType SoScale2UniformDragger::getClassTypeId (void ) β€” [static]

This static method returns the SoType object associated with objects of this class. Type-ID reveal, iconic. πŸ‘‘

⭐ SoType SoScale2UniformDragger::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. iykyk. πŸ”₯

Reimplemented from SoDragger.

πŸ” const SoFieldData ** SoScale2UniformDragger::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. (Read: not your business bestie, but we still love her. πŸ’…)

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

πŸ” const SoFieldData * SoScale2UniformDragger::getFieldData (void ) const β€” [protected], [virtual]

Returns a pointer to the class-wide field data storage object for this instance. And if no fields are present? Returns NULL. Empty-handed, no cap. 😭

Reimplemented from SoDragger.

🌈 const SoNodekitCatalog * SoScale2UniformDragger::getClassNodekitCatalog (void ) β€” [static]

Returns the nodekit catalog which defines the layout of this class' kit. The blueprint, the floor plan, the whole vibe. πŸŽ€

🌈 const SoNodekitCatalog * SoScale2UniformDragger::getNodekitCatalog (void ) const β€” [virtual]

Returns the nodekit catalog which defines the layout of this class' kit. Same energy, per-instance edition. ✨

Reimplemented from SoDragger.

πŸ” const SoNodekitCatalog ** SoScale2UniformDragger::getClassNodekitCatalogPtr (void ) β€” [static], [protected]

Returns the pointer to the pointer of the nodekit catalog for this class. Yes, a pointer to a pointer. Double the pointer, double the fun. 🫢

πŸ’œ void SoScale2UniformDragger::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 SoScale2UniformDragger::setUpConnections (SbBool onoff, SbBool doitalways = FALSE) β€” [protected], [virtual]

Sets up all internal connections for instances of this class. Wiring it all together, lowkey the glue of the operation. 🧚

(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.)

Reimplemented from SoInteractionKit.

πŸ” void SoScale2UniformDragger::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 SoScale2UniformDragger::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 SoScale2UniformDragger::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 SoScale2UniformDragger::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 SoScale2UniformDragger::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 SoScale2UniformDragger::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. Main character moment, she's been chosen. ✨

🫧 void SoScale2UniformDragger::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. Dragging = the whole point, slay. πŸ’…

🫧 void SoScale2UniformDragger::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 SoScale2UniformDragger::scaleFactor

Continuously updated to contain the current vector of scaling along the X, Y and Z axes. Always in motion, always updating, she never rests. πŸ”₯

For the SoScale2UniformDragger, only the X and Y components are used β€” the Z component will always be equal to 1 (i.e. no scaling). Z is literally just there for moral support. 😭

πŸ” SoFieldSensor* SoScale2UniformDragger::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* SoScale2UniformDragger::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.


And that's a wrap on SoScale2UniformDragger(3) bestie!! πŸŽ€βœ¨ This was Coin version 4.0.10, dated Thu Jun 25 2026, and honestly? Iconic behavior from start to finish. Go scale something (uniformly, in 2D, obviously). Byeee πŸ’–πŸ¦‹

πŸ“¦ where this page comes from