SoScale(3IV)

SoScale (SoScale) - node representing a 3D geometric scaling

As shipped in IRIX 6.5.30. Added in IRIX 6.5.22.

NAME
     SoScale (SoScale) - node representing a 3D geometric scaling

INHERITS FROM
     SoBase > SoFieldContainer > SoNode > SoTransformation > SoScale

SYNOPSIS
     #include <Inventor_c/nodes/SoScale.h>

          Fields from class SoScale:

     SoSFVec3f           scaleFactor

          Functions from class SoScale:

     SoScale *           SoScaleCreate()
     SoType              SoScaleGetClassTypeId()

          Functions from class SoNode:

     void                SoScaleSetOverride(SoScale *this, SbBool state)
     SbBool              SoScaleIsOverride(const SoScale *this)
     SoNode *            SoScaleCopy(const SoScale *this, SbBool
                              copyConnections = FALSE)
     SbBool              SoScaleAffectsState(const SoScale *this)
     SoNode *            SoScaleGetByName(const char *name)
     int                 SoScaleGetByNameList(const char *name, SoNodeList
                              *list)

          Functions from class SoFieldContainer:

     void                SoScaleSetToDflts(SoScale *this)
     SbBool              SoScaleHasDfltVals(const SoScale *this)
     SbBool              SoScaleFldsAreEq(const SoScale *this, const
                              SoFieldContainer *fc)
     void                SoScaleCopyFieldVals(SoScale *this, const
                              SoFieldContainer *fc, SbBool copyConnections =
                              FALSE)
     SbBool              SoScaleSet(SoScale *this, const char
                              *fieldDataString)
     void                SoScaleGet(SoScale *this, SbString *fieldDataString)
     int                 SoScaleGetFields(const SoScale *this, SoFieldList
                              *resultList)
     SoField *           SoScaleGetField(const SoScale *this, const char
                              *fieldName)
     SbBool              SoScaleGetFieldName(const SoScale *this, const
                              SoField *field, SbName *fieldName)
     SbBool              SoScaleIsNotifyEnabled(const SoScale *this)
     SbBool              SoScaleEnableNotify(SoScale *this, SbBool flag)

          Functions from class SoBase:
     void                SoScaleRef(SoScale *this)
     void                SoScaleUnref(const SoScale *this)
     void                SoScaleUnrefNoDelete(const SoScale *this)
     void                SoScaleTouch(SoScale *this)
     SoType              SoScaleGetTypeId(const SoScale *this)
     SbBool              SoScaleIsOfType(const SoScale *this, SoType type)
     void                SoScaleSetName(SoScale *this, const char *name)
     SbName              SoScaleGetName(const SoScale *this)


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
     SoSFVec3f           scaleFactor
          The scaling factors in the x, y, and z dimensions. Non-positive
          values may cause undesirable results.


FUNCTIONS
     SoScale *           SoScaleCreate()
          Creates a scale node with default settings.

     SoType              SoScaleGetClassTypeId()
          Returns type identifier for this class.


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

     SoGetMatrixAction
          Returns the matrix corresponding to the scaling.


FILE FORMAT/DEFAULTS
     Scale {
          scaleFactor  1 1 1
     }

SEE ALSO
     SoTransform, SoUnits