| 1 |
NAME SoScale SoScale "" { node representing a 3D geometric scaling } |
| 2 |
|
| 3 |
INCLUDE nodes/SoScale.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This node defines a 3D scaling about the origin. |
| 7 |
If the components of the scaling vector are not all the same, this produces |
| 8 |
a non-uniform scale. |
| 9 |
} |
| 10 |
|
| 11 |
FIELD scaleFactor { |
| 12 |
The scaling factors in the x, y, and z dimensions. Non-positive values |
| 13 |
may cause undesirable results. |
| 14 |
} |
| 15 |
|
| 16 |
METHOD "" SoScale() { |
| 17 |
Creates a scale node with default settings. |
| 18 |
} |
| 19 |
|
| 20 |
METHOD "" static SoType getClassTypeId() { |
| 21 |
Returns type identifier for this class. |
| 22 |
} |
| 23 |
|
| 24 |
ACTION SoGLRenderAction, SoCallbackAction, |
| 25 |
SoGetBoundingBoxAction, SoRayPickAction { |
| 26 |
Accumulates scaling transformation into the current transformation. |
| 27 |
} |
| 28 |
|
| 29 |
ACTION SoGetMatrixAction { |
| 30 |
Returns the matrix corresponding to the scaling. |
| 31 |
} |
| 32 |
|
| 33 |
ALSO { SoTransform, SoUnits } |