File: SoClipPlane.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 (34 lines) | stat: -rw-r--r-- 1,011 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
NAME SoClipPlane SoClpPln "" { clipping plane node }

INCLUDE nodes/SoClipPlane.h

DESC {
This node clips all subsequent shapes in the scene graph to the
half-space defined by the \cplane\. field. The half-space is the side
of the plane in the direction of the plane normal. 
For example, if the plane is positioned at the origin 
and the normal is pointing down the positive X axis,
everything in the negative X space will be clipped away.
\p
Any number of
clipping planes may be active simultaneously, although the graphics
library may place a limit on this number during rendering.
}

FIELD plane { Plane defining half-space. }

FIELD on    { Whether clipping plane is active. }

METHOD "" SoClipPlane() {
Creates a clip plane node with default settings.
}

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

ACTION SoGLRenderAction, SoCallbackAction, SoRayPickAction {
Adds the plane to the current list of clipping planes in the state.
}

ALSO { SoCamera, SoShapeHints }