File: SoResetTransform.ivm

package info (click to toggle)
inventor 2.1.5-10-14
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 32,892 kB
  • ctags: 21,729
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 76; csh: 35; sed: 11
file content (52 lines) | stat: -rw-r--r-- 1,453 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
NAME SoResetTransform SoResetXf SO_RESET_XF_ {
node that resets the current transformation to identity
}

INCLUDE nodes/SoResetTransform.h

DESC {
This node resets the current transformation to identity. It can be
used to apply an absolute world space transformation afterwards, such
as translating to a specific point from within a hierarchy.

An \cSoResetTransform\. node should probably be used under an
\cSoSeparator\. or \cSoTransformSeparator\. so it won't change
transformations for the rest of the scene graph.

An \cSoResetTransform\. node can also be used to reset the current
bounding box to empty during traversal of an
\cSoGetBoundingBoxAction\., if the \vwhatToReset\. field has the
\vBBOX\. bit set.
}

ENUM ResetType {
    TRANSFORM	"Reset the current transformation to identity",
    BBOX	"Reset the bounding box to empty"
}

FIELD whatToReset {
Specifies which items to reset when the node is traversed.
}

METHOD "" SoResetTransform() {
Creates a reset transformation node with default settings.
}

METHOD "" static SoType getClassTypeId() {
Returns type identifier for this class.
}

ACTION SoGLRenderAction, SoCallbackAction, SoRayPickAction {
If specified, resets current transformation matrix to identity.
}

ACTION SoGetBoundingBoxAction {
If specified, resets current transformation matrix to identity and
current computed bounding box to be empty.
}

ACTION SoGetMatrixAction {
Returns identity matrix.
}

ALSO { SoTransform }