File: SoNormalBinding.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 (48 lines) | stat: -rw-r--r-- 1,454 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
NAME SoNormalBinding SoNormBind SO_NORM_BIND_ {
node that specifies how multiple surface normals are bound to shapes
}

INCLUDE nodes/SoNormalBinding.h

DESC {
This node specifies how the current normals are bound to shapes that
follow in the scene graph. Each shape node may interpret bindings
differently.
\p
The bindings for faces and vertices are meaningful only for shapes
that are made from faces and vertices. Similarly, the indexed bindings
are only used by the shapes that allow indexing. For bindings that
require multiple normals, be sure to have at least as many normals
defined as are necessary; otherwise, errors will occur.
}

ENUM Binding {
    OVERALL		"Whole object has same normal",
    PER_PART		"One normal for each part of object",
    PER_PART_INDEXED	"One normal for each part, indexed",
    PER_FACE		"One normal for each face of object",
    PER_FACE_INDEXED	"One normal for each face, indexed",
    PER_VERTEX		"One normal for each vertex of object",
    PER_VERTEX_INDEXED	"One normal for each vertex, indexed"
}

FIELD value { Specifies how to bind normals to shapes. }

METHOD "" SoNormalBinding() {
Creates a normal binding node with default settings.
}

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

ACTION SoGLRenderAction, SoCallbackAction, SoRayPickAction {
Sets the current normal binding type.
}

ALSO {
SoMaterialBinding,
SoNormal,
SoTextureCoordinateBinding,
SoVertexShape
}