logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoScale — node representing a 3D geometric scaling

Action Behavior

SoGLRenderAction,SoCallbackAction,SoGetBoundingBoxAction,SoRayPickAction
          Accumulates scaling transformation into the current transformation.

     SoGetMatrixAction
          Returns the matrix corresponding to the scaling.

Description

       This  node defines a 3D scaling about the origin. If the components of the scaling vector are not all the
       same, this produces a non-uniform scale.

Fields

SoSFVec3fscaleFactor
          The scaling factors in the x, y, and z dimensions. Non-positive values may cause undesirable results.

File Format/Defaults

Scale{scaleFactor111}

Inherits From

       SoBase > SoFieldContainer > SoNode > SoTransformation > SoScale

Methods

SoScale()
          Creates a scale node with default settings.

     staticSoTypegetClassTypeId()
          Returns type identifier for this class.

Name

       SoScale — node representing a 3D geometric scaling

See Also

SoTransform,SoUnitsSoScale(3IV)()

Synopsis

#include<Inventor/nodes/SoScale.h>

          Fields from class SoScale:

     SoSFVec3fscaleFactor

          Methods from class SoScale:

                         SoScale()staticSoTypegetClassTypeId()

          Methods from class SoNode:

     voidsetOverride(SbBoolstate)SbBoolisOverride()constSoNode*copy(SbBoolcopyConnections=FALSE)constvirtualSbBoolaffectsState()conststaticSoNode*getByName(constSbName&name)staticintgetByName(constSbName&name,SoNodeList&list)

          Methods from class SoFieldContainer:

     voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)

          Methods from class SoBase:

     voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const

See Also