File: SoTransformSeparator.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 (36 lines) | stat: -rw-r--r-- 1,197 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
NAME SoTransformSeparator SoXfSep "" {
group node that saves and restores transformation state
}

INCLUDE nodes/SoTransformSeparator.h

DESC {
This group node is similar to the \cSoSeparator\. node in that it
saves state before traversing its children and restores it afterwards.
However, it saves only the current transformation; all other state is
left as is. This node can be useful for positioning a camera, since
the transformations to the camera will not affect the rest of the
scene, even through the camera will view the scene. Similarly, this
node can be used to isolate transformations to light sources or other
objects.
}

METHOD "" SoTransformSeparator() {
Creates a transform separator node with default settings.
}

METHOD CreateN SoTransformSeparator(int nChildren) {
Constructor that takes approximate number of children.
}

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

ACTION SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction,
       SoGetMatrixAction, SoRayPickAction {
Saves the current transformation state, traverses all children, and
restores the previous transformation state.
}

ALSO { SoResetTransform, SoTransformation }