1SoScale(3IV)()                                                  SoScale(3IV)()
2
3
4

NAME

6       SoScale — node representing a 3D geometric scaling
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoTransformation > SoScale
10

SYNOPSIS

12       #include <Inventor/nodes/SoScale.h>
13
14          Fields from class SoScale:
15
16     SoSFVec3f           scaleFactor
17
18          Methods from class SoScale:
19
20                         SoScale()
21     static SoType       getClassTypeId()
22
23          Methods from class SoNode:
24
25     void                setOverride(SbBool state)
26     SbBool              isOverride() const
27     SoNode *            copy(SbBool copyConnections = FALSE) const
28     virtual SbBool      affectsState() const
29     static SoNode *     getByName(const SbName &name)
30     static int          getByName(const SbName &name, SoNodeList &list)
31
32          Methods from class SoFieldContainer:
33
34     void                setToDefaults()
35     SbBool              hasDefaultValues() const
36     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
37     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
38                              copyConnections = FALSE)
39     SbBool              set(const char *fieldDataString)
40     void                get(SbString &fieldDataString)
41     virtual int         getFields(SoFieldList &resultList) const
42     virtual SoField *   getField(const SbName &fieldName) const
43     SbBool              getFieldName(const SoField *field, SbName &fieldName)
44                              const
45     SbBool              isNotifyEnabled() const
46     SbBool              enableNotify(SbBool flag)
47
48          Methods from class SoBase:
49
50     void                ref()
51     void                unref() const
52     void                unrefNoDelete() const
53     void                touch()
54     virtual SoType      getTypeId() const
55     SbBool              isOfType(SoType type) const
56     virtual void        setName(const SbName &name)
57     virtual SbName      getName() const
58
59

DESCRIPTION

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

FIELDS

66     SoSFVec3f           scaleFactor
67          The scaling factors in the x, y, and z dimensions. Non-positive val‐
68          ues may cause undesirable results.
69
70

METHODS

72                         SoScale()
73          Creates a scale node with default settings.
74
75     static SoType       getClassTypeId()
76          Returns type identifier for this class.
77
78

ACTION BEHAVIOR

80       SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction,  SoRayPick‐
81       Action
82          Accumulates scaling transformation into the current transformation.
83
84     SoGetMatrixAction
85          Returns the matrix corresponding to the scaling.
86
87

FILE FORMAT/DEFAULTS

89       Scale {
90          scaleFactor  1 1 1
91     }
92

SEE ALSO

94       SoTransform, SoUnits
95
96
97
98
99                                                                SoScale(3IV)()
Impressum