SOSCALE(3iv)
πΈ NAME πΈ
omg hi bestie π welcome to SoScale(3IV) β the manual page, the icon, the moment. This is literally the node representing a 3D geometric scaling. Yes, scaling. In 3D. She's giving transformation energy, and we're obsessed. β¨
π¦ INHERITS FROM π¦
SoBase > SoFieldContainer > SoNode > SoTransformation > SoScale
That's the family tree, no cap. She inherits from all of them. Periodt. π
β¨ SYNOPSIS β¨
#include <Inventor/nodes/SoScale.h>
π Fields from class SoScale π
SoSFVec3f scaleFactor
π Methods from class SoScale π
SoScale()static SoType getClassTypeId()
π Methods from class SoNode π
void setOverride(SbBool state)SbBool isOverride() constSoNode * copy(SbBool copyConnections = FALSE) constvirtual SbBool affectsState() conststatic SoNode * getByName(const SbName &name)static int getByName(const SbName &name, SoNodeList &list)
π§ Methods from class SoFieldContainer π§
void setToDefaults()SbBool hasDefaultValues() constSbBool fieldsAreEqual(const SoFieldContainer *fc) constvoid copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)SbBool set(const char *fieldDataString)void get(SbString &fieldDataString)virtual int getFields(SoFieldList &resultList) constvirtual SoField * getField(const SbName &fieldName) constSbBool getFieldName(const SoField *field, SbName &fieldName) constSbBool isNotifyEnabled() constSbBool enableNotify(SbBool flag)
π Methods from class SoBase π
void ref()void unref() constvoid unrefNoDelete() constvoid touch()virtual SoType getTypeId() constSbBool isOfType(SoType type) constvirtual void setName(const SbName &name)virtual SbName getName() const
π DESCRIPTION π
Okay so listen: this node defines a 3D scaling about the origin. That's the whole vibe. But here's the tea: if the components of the scaling vector are not all the same, this produces a non-uniform scale. So like, not all equal = stretched in a specific way. Iconic, honestly. π«Ά
π FIELDS π
SoSFVec3f scaleFactorβ the scaling factors in the x, y, and z dimensions. That's it, that's the field. But bestie, be careful: non-positive values may cause undesirable results. So maybe don't? π
β οΈ Non-positive values may cause undesirable results. That's a warning, not a drill. π
π₯ METHODS π₯
SoScale()β creates a scale node with default settings. She's fresh out the box, defaults on, ready to scale. β¨static SoType getClassTypeId()β returns type identifier for this class. You need the type ID? She got you. π
π ACTION BEHAVIOR π
SoGLRenderAction,SoCallbackAction,SoGetBoundingBoxAction,SoRayPickActionβ these accumulate scaling transformation into the current transformation. So like, they stack it up. No cap. πSoGetMatrixActionβ returns the matrix corresponding to the scaling. It's giving matrix realness. π
π FILE FORMAT/DEFAULTS π
Scale {
scaleFactor 1 1 1
}
That's the default: scaleFactor 1 1 1. Exactly. Don't touch the spacing, she's sensitive. π
π SEE ALSO π
SoTransformSoUnits
Go check them out, they're in the same friend group. fr fr. π¦
and that's the whole manual page, bestie. The footer says SoScale(3IV)() β that's the source/version/date energy we're leaving you with. Stay scaling, stay iconic. Mwah πβ¨
π¦ 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