| 1 |
NAME SoTranslation SoXlate "" { node representing a 3D translation } |
| 2 |
|
| 3 |
INCLUDE nodes/SoTranslation.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This node defines a translation by a 3D vector. |
| 7 |
} |
| 8 |
|
| 9 |
FIELD translation { Translation vector. } |
| 10 |
|
| 11 |
METHOD "" SoTranslation() { |
| 12 |
Creates a translation node with default settings. |
| 13 |
} |
| 14 |
|
| 15 |
METHOD "" static SoType getClassTypeId() { |
| 16 |
Returns type identifier for this class. |
| 17 |
} |
| 18 |
|
| 19 |
ACTION SoGLRenderAction, SoCallbackAction, |
| 20 |
SoGetBoundingBoxAction, SoRayPickAction { |
| 21 |
Accumulates translation into the current transformation. |
| 22 |
} |
| 23 |
|
| 24 |
ACTION SoGetMatrixAction { |
| 25 |
Returns the matrix corresponding to the translation. |
| 26 |
} |
| 27 |
|
| 28 |
ALSO { SoTransform } |