| 1 |
NAME SoResetTransform SoResetXf SO_RESET_XF_ { |
| 2 |
node that resets the current transformation to identity |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE nodes/SoResetTransform.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This node resets the current transformation to identity. It can be |
| 9 |
used to apply an absolute world space transformation afterwards, such |
| 10 |
as translating to a specific point from within a hierarchy. |
| 11 |
|
| 12 |
An \cSoResetTransform\. node should probably be used under an |
| 13 |
\cSoSeparator\. or \cSoTransformSeparator\. so it won't change |
| 14 |
transformations for the rest of the scene graph. |
| 15 |
|
| 16 |
An \cSoResetTransform\. node can also be used to reset the current |
| 17 |
bounding box to empty during traversal of an |
| 18 |
\cSoGetBoundingBoxAction\., if the \vwhatToReset\. field has the |
| 19 |
\vBBOX\. bit set. |
| 20 |
} |
| 21 |
|
| 22 |
ENUM ResetType { |
| 23 |
TRANSFORM "Reset the current transformation to identity", |
| 24 |
BBOX "Reset the bounding box to empty" |
| 25 |
} |
| 26 |
|
| 27 |
FIELD whatToReset { |
| 28 |
Specifies which items to reset when the node is traversed. |
| 29 |
} |
| 30 |
|
| 31 |
METHOD "" SoResetTransform() { |
| 32 |
Creates a reset transformation node with default settings. |
| 33 |
} |
| 34 |
|
| 35 |
METHOD "" static SoType getClassTypeId() { |
| 36 |
Returns type identifier for this class. |
| 37 |
} |
| 38 |
|
| 39 |
ACTION SoGLRenderAction, SoCallbackAction, SoRayPickAction { |
| 40 |
If specified, resets current transformation matrix to identity. |
| 41 |
} |
| 42 |
|
| 43 |
ACTION SoGetBoundingBoxAction { |
| 44 |
If specified, resets current transformation matrix to identity and |
| 45 |
current computed bounding box to be empty. |
| 46 |
} |
| 47 |
|
| 48 |
ACTION SoGetMatrixAction { |
| 49 |
Returns identity matrix. |
| 50 |
} |
| 51 |
|
| 52 |
ALSO { SoTransform } |