SOJACKDRAGGER(3iv)
π¦ SoJackDragger(3IV) π¦
okay bestie, buckle up, this is the manual page for SoJackDragger (the 3IV one) and honestly? it's giving main character energy. it's a dragger. it's shaped like a jack. you drag it. it's iconic.
β¨ NAME β¨
SoJackDragger β jack-shaped object you rotate, translate, or scale by dragging with the mouse π
πΈ INHERITS FROM πΈ
SoBase > SoFieldContainer > SoNode > SoBaseKit > SoInteractionKit > SoDragger > SoJackDragger
like yes, she comes from a long line of distinguished ancestors, no cap π
π SYNOPSIS π
#include <Inventor/draggers/SoJackDragger.h>
Fields from class SoJackDragger:
SoSFRotation rotation
SoSFVec3f scaleFactor
SoSFVec3f translation
Fields from class SoDragger:
SoSFBool isActive
Fields from class SoInteractionKit:
SoSFEnum renderCaching
SoSFEnum boundingBoxCaching
SoSFEnum renderCulling
SoSFEnum pickCulling
Parts from class SoBaseKit:
(SoNodeKitListPart) callbackList
Methods from class SoJackDragger:
SoJackDragger()
static const SoNodekitCatalog *
getClassNodekitCatalog() const
static SoType getClassTypeId()
Methods from class SoDragger:
void addStartCallback(SoDraggerCB *f, void *userData =
NULL)
void removeStartCallback(SoDraggerCB *f, void *userData =
NULL)
void addMotionCallback(SoDraggerCB *f, void *userData =
NULL)
void removeMotionCallback(SoDraggerCB *f, void *userData =
NULL)
void addFinishCallback(SoDraggerCB *f, void *userData =
NULL)
void removeFinishCallback(SoDraggerCB *f, void *userData =
NULL)
void addValueChangedCallback(SoDraggerCB *f, void *userData
= NULL)
void removeValueChangedCallback(SoDraggerCB *f, void
*userData = NULL)
SbBool enableValueChangedCallbacks()
void setMinGesture(int pixels)
int getMinGesture() const
static void setMinScale(float newMinScale)
static float getMinScale()
Methods from class SoInteractionKit:
virtual SbBool setPartAsPath(const SbName &partName, SoPath
*surrogatePath )
Methods from class SoBaseKit:
virtual const SoNodekitCatalog *
getNodekitCatalog() const
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)
virtual SbBool setPart(const SbName &partName, SoNode *newPart)
SbBool set(char *partName, char *parameters)
SbBool set(char *nameValuePairs)
static SbBool isSearchingChildren()
static void setSearchingChildren(SbBool newVal)
Methods from class SoNode:
void setOverride(SbBool state)
SbBool isOverride() const
SoNode * copy(SbBool copyConnections = FALSE) const
virtual SbBool affectsState() const
static SoNode * getByName(const SbName &name)
static int getByName(const SbName &name, SoNodeList &list)
Methods from class SoFieldContainer:
void setToDefaults()
SbBool hasDefaultValues() const
SbBool fieldsAreEqual(const SoFieldContainer *fc) const
void copyFieldValues(const SoFieldContainer *fc, SbBool
copyConnections = FALSE)
void get(SbString &fieldDataString)
virtual int getFields(SoFieldList &resultList) const
virtual SoField * getField(const SbName &fieldName) const
SbBool getFieldName(const SoField *field, SbName &fieldName)
const
SbBool isNotifyEnabled() const
SbBool enableNotify(SbBool flag)
Methods from class SoBase:
void ref()
void unref() const
void unrefNoDelete() const
void touch()
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
virtual void setName(const SbName &name)
virtual SbName getName() const
Macros from class SoBaseKit:
SO_GET_PART(kit, partName, partClass)
SO_CHECK_PART(kit, partName, partClass)
π DESCRIPTION π
so. SoJackDragger is a composite dragger shaped like a jack β yeah, like the actual metal jack from the children's game jacks, that one, she's that girl π
Three lines running along the x, y, and z axes form the central star shape, and you can drag that with the mouse to rotate the jack. Then there's these tiny cubes mounted at the end of each axis β drag any of those and you'll scale the jack uniformly in all 3 dimensions (all of them, at once, together, no favourites π
). And at the very core of the jack lives an SoDragPointDragger, which is what handles translating the jack.
Each of these shapes is its own separate dragger, just with the default geometry swapped out. All of them are parts of the jack dragger, which is what keeps them moving together as one little squad. Breaking it down:
- The star is an
SoRotateSphericalDragger, and dragging it updates therotationfield of the jack dragger. - The small cubes are an
SoScaleUniformDragger, tied to thescaleFactorfield. - The position of the
SoDragPointDraggeris given by thetranslationfield.
And as with all draggers β if you change the fields, the dragger will move to match the new settings. she listens. she's responsive. periodt β¨
Remember, bestie: This is not an SoTransform! π
If you want to move other objects with this dragger, you've got two options:
- [a] Use an
SoJackManip, which is subclassed fromSoTransform. It creates one of these draggers and uses it as the interface to change its fields. (see theSoJackManipman page). - [b] Use field-to-field connections to connect the fields of this dragger to those of any
SoTransformationnode.
You can change the parts in any instance of this dragger using setPart(). The default part geometries are defined as resources for this SoJackDragger class, and they're detailed in the Dragger Resources section of the online reference page for this class. If you want your program to use different default resources for the parts, here's the move: copy the file /usr/share/data/draggerDefaults/jackDragger.iv into your own directory, edit that file, and then set the environment variable SO_DRAGGER_DIR to be a path to that directory. slay π«Ά
π FIELDS π
SoSFRotationrotationβ Orientation of the dragger.SoSFVec3fscaleFactorβ Scale of the dragger.SoSFVec3ftranslationβ Position of the dragger.
π METHODS π
SoJackDragger()β Constructor.static const SoNodekitCatalog * getClassNodekitCatalog() constβ Returns anSoNodekitCatalogfor this classstatic SoType getClassTypeId()β Returns type identifier for this class.
π¦ CATALOG PARTS π¦
All parts π
callbackListβ Part Type:NodeKitListPartβ Default Type:--β NULL by Default: yessurroundScaleβ Part Type:SurroundScaleβ Default Type:--β NULL by Default: yesantiSquishβ Part Type:AntiSquishβ Default Type:--β NULL by Default: noscalerβ Part Type:ScaleUniformDraggerβ Default Type:--β NULL by Default: yesrotatorβ Part Type:RotateSphericalDraggerβ Default Type:--β NULL by Default: yestranslatorβ Part Type:DragPointDraggerβ Default Type:--β NULL by Default: yes
Extra information for list parts from above table π
callbackListβ Container Type:Separatorβ Permissible Types:Callback,EventCallback
okay so that's the whole setup, the fields, the methods, the parts, the whole vibe check β and there's still more coming, so don't go anywhere bestie, part 2 is right there π
β¨ DRAGGER RESOURCES β¨
okay bestie, this is the part where we go shopping through the whole dragger catalog ποΈ β every single resource, what part it lives on, what it looks like, and what it does. no skipping, we're looking at all of them π
jackRotatorRotator- Part:
rotator.rotator - Appearance: the 'star' of the jack. a set of 3 white axes (lines) β
- Description: picking that star is what starts the rotational dragging of the
jackDragger. main character energy fr.
- Part:
jackRotatorRotatorActive- Part:
rotator.rotatorActive - Appearance: the yellow version of the
rotator.rotatorpart π - Description: this is what shows up while the
jackDraggeris actively being rotated.
- Part:
jackRotatorFeedback- Part:
rotator.feedback - Appearance: empty separator
- Description: removes any feedback geometry that got created in the constructor of the
SoRotateSphericalDragger. it's giving "nothing to see here" π«₯
- Part:
jackRotatorFeedbackActive- Part:
rotator.feedbackActive - Appearance: empty separator
- Description: removes any feedbackActive geometry created in the constructor of the
SoRotateSphericalDragger. same vibe, active edition.
- Part:
jackScalerScaler- Part:
scaler.scaler - Appearance: six small white cubes π§ β they're the tips of the rotator star
- Description: picking one of these kicks off uniform 3D scaling of the dragger. glow up incoming β¨
- Part:
jackScalerScalerActive- Part:
scaler.scalerActive - Appearance: yellow version of the
scaler.scalerresource - Description: displayed while the dragger is being scaled. she's working π
- Part:
jackScalerFeedback- Part:
scaler.feedback - Appearance: empty separator
- Description: removes any feedback geometry created in the constructor of the
SoScaleUniformDragger.
- Part:
jackScalerFeedbackActive- Part:
scaler.feedbackActive - Appearance: empty separator
- Description: removes any feedbackActive geometry created in the constructor of the
SoScaleUniformDragger.
- Part:
jackTranslatorLineTranslator- Parts:
translator.xTranslator.translatortranslator.yTranslator.translatortranslator.zTranslator.translator
- Appearance: skinny white cylinder aligned with the axes of motion π₯’
- Description: picking these parts initiates dragging in the x, y, and z linear draggers respectively.
- Parts:
jackTranslatorLineTranslatorActive- Parts:
translator.xTranslator.translatorActivetranslator.yTranslator.translatorActivetranslator.zTranslator.translatorActive
- Appearance: skinny yellow cylinder aligned with the axes of motion
- Description: shown during linear dragging in the x, y, and z directions respectively.
- Parts:
jackTranslatorPlaneTranslator- Parts:
translator.yzTranslator.translatortranslator.xzTranslator.translatortranslator.xyTranslator.translator
- Appearance: white flattened cube, drawn in wireframe π²
- Description: picking these parts initiates dragging by the yz, xz, and xy planar draggers respectively.
- Parts:
jackTranslatorPlaneTranslatorActive- Parts:
translator.yzTranslator.translatorActivetranslator.xzTranslator.translatorActivetranslator.xyTranslator.translatorActive
- Appearance: yellow flattened cube, drawn in wireframe
- Description: shown during planar dragging in the yz, xz, and xy planes respectively.
- Parts:
jackTranslatorXFeedback- Part:
xFeedback - Appearance: double-headed purple arrow π
- Description: feedback for motion in the x direction
- Part:
jackTranslatorYFeedback- Part:
yFeedback - Appearance: double-headed purple arrow
- Description: feedback for motion in the y direction
- Part:
jackTranslatorZFeedback- Part:
zFeedback - Appearance: double-headed purple arrow
- Description: feedback for motion in the z direction
- Part:
jackTranslatorYZFeedback- Part:
yzFeedback - Appearance: semi-transparent green square in the yz plane π©
- Description: feedback for motion in the yz plane
- Part:
jackTranslatorXZFeedback- Part:
xzFeedback - Appearance: semi-transparent green square in the yz plane
- Description: feedback for motion in the xz plane
- Part:
jackTranslatorXYFeedback- Part:
xyFeedback - Appearance: semi-transparent green square in the yz plane
- Description: feedback for motion in the xy plane
- Part:
π FILE FORMAT/DEFAULTS π
this is literally the whole vibe of the node out of the box, no cap. every default, exactly as it ships:
JackDragger {
renderCaching AUTO
boundingBoxCaching AUTO
renderCulling AUTO
pickCulling AUTO
isActive FALSE
rotation 0 0 1 0
translation 0 0 0
scaleFactor 1 1 1
callbackList NULL
surroundScale NULL
antiSquish AntiSquish {
sizing BIGGEST_DIMENSION }
scaler ScaleUniformDragger {
}
rotator RotateSphericalDragger {
}
translator DragPointDragger {
}
rotator.rotator <jackRotatorRotator resource>
rotator.rotatorActive <jackRotatorRotatorActive resource>
rotator.feedback <jackRotatorFeedback resource>
rotator.feedbackActive <jackRotatorFeedbackActive resource>
scaler.scaler <jackScalerScaler resource>
scaler.scalerActive <jackScalerScalerActive resource>
scaler.feedback <jackScalerFeedback resource>
scaler.feedbackActive <jackScalerFeedbackActive resource>
translator.xTranslator.translator <jackTranslatorLineTranslator resource>
translator.yTranslator.translator <jackTranslatorLineTranslator resource>
translator.zTranslator.translator <jackTranslatorLineTranslator resource>
translator.xTranslator.translatorActive <jackTranslatorLineTranslatorActive resource>
translator.yTranslator.translatorActive <jackTranslatorLineTranslatorActive resource>
translator.zTranslator.translatorActive <jackTranslatorLineTranslatorActive resource>
translator.yzTranslator.translator <jackTranslatorPlaneTranslator resource>
translator.xzTranslator.translator <jackTranslatorPlaneTranslator resource>
translator.xyTranslator.translator <jackTranslatorPlaneTranslator resource>
translator.yzTranslator.translatorActive <jackTranslatorPlaneTranslatorActive resource>
translator.xzTranslator.translatorActive <jackTranslatorPlaneTranslatorActive resource>
translator.xyTranslator.translatorActive <jackTranslatorPlaneTranslatorActive resource>
xFeedback <jackTranslatorXFeedback resource>
yFeedback <jackTranslatorYFeedback resource>
zFeedback <jackTranslatorZFeedback resource>
yzFeedback <jackTranslatorYZFeedback resource>
xzFeedback <jackTranslatorXZFeedback resource>
xyFeedback <jackTranslatorXYFeedback resource>
}
π SEE ALSO π
if you're gonna fall down the dragger rabbit hole (and bestie, you are π³οΈβ¨), here's the whole squad:
SoInteractionKit, SoDragger, SoCenterballDragger, SoDirectionalLightDragger, SoDragPointDragger, SoHandleBoxDragger, SoPointLightDragger, SoRotateCylindricalDragger, SoRotateDiscDragger, SoRotateSphericalDragger, SoScale1Dragger, SoScale2Dragger, SoScale2UniformDragger, SoScaleUniformDragger, SoSpotLightDragger, SoTabBoxDragger, SoTabPlaneDragger, SoTrackballDragger, SoTransformBoxDragger, SoTransformerDragger, SoTranslate1Dragger, SoTranslate2Dragger
and that's the whole page, babe π«Ά this one's the SoJackDragger(3IV) manual, tagged SoJackDragger(3IV)() down in the footer β version and date field included, keeping it iconic β go forth and drag, you've got this π
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms