1
1
Page 2
3
Open Inventor Nodes Quick Reference
© Copyright 1994, Silicon Graphics, Inc.(R) All Rights Reserved
This document contains proprietary and confidential information of Silicon
Graphics, Inc. The contents of this document may not be disclosed to third parties,
copied, or duplicated in any form, in whole or in part, without the prior written
permission of Silicon Graphics, Inc.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure of the technical data contained in this document by
the Government is subject to restrictions as set forth in subdivision (c) (1) (ii) of the
Rights in Technical Data and Computer Software clause at DFARS 52.227-7013 and/
or in similar or successor clauses in the FAR, or in the DOD or NASA FAR
Supplement. Unpublished rights reserved under the Copyright Laws of the United
States. Contractor/ manufacturer is Silicon Graphics, Inc., 2011 N. Shoreline Blvd.,
Mountain View, CA 94039-7311.
Silicon Graphics and the Silicon Graphics logo are registered trademarks, and Open
Inventor is a trademark of Silicon Graphics. Specifications are subject to change
without notice.
2
2
Page 3
4
Open Inventor Nodes Quick Reference
Section 2 Inventor Nodes/ File Format Quick Reference
3
3
Page 4
5
Open Inventor Nodes Quick Reference
4
4
Page 5
6
Open Inventor Nodes Quick Reference
5
5
Page 6
7
Open Inventor Nodes Quick Reference
| SoAnnotation SoMultipleCopy | |
| SoArray | SoPathSwitch |
| SoBlinker | SoSelection |
| SoClipPlane | SoSeparator |
| SoFile | SoSwitch |
| SoGroup | SoTransformSeparator |
| SoLevelOfDetail | |
| SoDirectionalLight | |
| SoLight | |
| SoPointLight | |
| SoSpotLight | |
| SoCamera | |
| SoOrthographicCamera | |
| SoPerspectiveCamera | |
| SoCenterballManip | SoTabBoxManip |
| SoDirectionalLightManip | SoTrackballManip |
| SoHandleBoxManip | SoTransformBoxManip |
| SoJackManip | SoTransformManip |
| SoSpotlightManip | |
6
6
Page 7
8
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| AntiSquish | Transformation node that undoes non-uniform 3D scaling | |||
| sizing | AVERAGE_- DIMENSION | SoSFEnum |
AVERAGE_
DIMENSION
BIGGEST_
DIMENSION
|
|
| SMALLEST_ DIMENSION | ||||
| LONGEST_ DIAGONAL | ||||
| BaseColor |
Defines
an
object's
base/
diffuse
color
|
|||
| rgb | [ 0.8 0.8 0.8 ] | SoMFColor |
0
-
1
|
|
| Blinker |
Animated
cycling
switch
node
|
|||
| whichChild | -1 | SoSFLong |
-1
(SO_
SWITCH_
NONE) |
|
| -2 (SO_SWITCH_- | ||||
| INHERIT) | ||||
| -3 (SO_SWITCH_ALL) | ||||
| or 0 | ||||
| speed | 1 | SoSFFloat |
any
|
|
| on | TRUE | SoSFBool |
TRUE,
FALSE
|
|
| Callback |
Provides
custom
behavior
during
action
traversal
|
|||
7
7
Page 8
9
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| ClipPlane |
Specifies
a
plane
against
which
all
geometry
is
clipped
|
|||
| plane | 1 0 0 0 | SoSFPlane |
any
|
|
| on | TRUE | SoSFBool |
TRUE,
FALSE
|
|
| ColorIndex |
Surface
color
index
node
|
|||
| index | [ 1 ] | SoMFLong |
any
valid
color
map
|
|
| index | ||||
| Complexity |
Controls
shape
complexity
|
|||
| type | OBJECT_ SPACE | SoSFEnum |
OBJECT_
SPACE
SCREEN_
SPACE
|
|
| BOUNDING_ BOX | ||||
| value | 0.5 | SoSFFloat |
0
-
1
|
|
| textureQuality | 0.5 | SoSFFloat |
0
-
1
|
|
| Cone |
Represents
a
cone
shape
|
|||
| parts | ALL | SoSFBitMask |
SIDES
BOTTOM
|
|
| ALL | ||||
| bottomRadius | 1 | SoSFFloat |
>
0
|
|
| height | 2 | SoSFFloat |
>
0
|
|
| Coordinate3 |
Defines
coordinates,
vertices,
or
control
points
for
shapes
|
|||
| point | [ 0 0 0 ] | SoMFVec3f |
any
|
|
| Coordinate4 |
Defines
rational
coordinates,
vertices,
or
control
points
for
shapes
|
|||
| point | [ 0 0 0 1 ] | SoMFVec4f |
any
|
|
8
8
Page 9
10
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| Cube |
Represents
a
cube
shape
|
|||
| width | 2 | SoSFFloat |
>
0
|
|
| height | 2 | SoSFFloat |
>
0
|
|
| depth | 2 | SoSFFloat |
>
0
|
|
| Cylinder |
Represents
a
cylinder
shape
|
|||
| parts | ALL | SoSFBitMask |
SIDES |
|
| TOP | ||||
| BOTTOM | ||||
| ALL | ||||
| radius | 1 | SoSFFloat |
>
0
|
|
| height | 2 | SoSFFloat |
>
0
|
|
| DirectionalLight |
Represents
a
directional
light
source
|
|||
| on | TRUE | SoSFBool |
TRUE,
FALSE
|
|
| intensity | 1 | SoSFFloat |
0
-
1
|
|
| color | 1 1 1 | SoSFColor |
0
-
1
|
|
| direction | 0 0 -1 | SoSFVec3f |
any
unit
vector
|
|
| DrawStyle |
Defines
a
drawing
style
|
|||
| style | FILLED | SoSFEnum |
FILLED
LINES
|
|
| POINTS | ||||
| INVISIBLE | ||||
| pointSize | 0 | SoSFFloat |
>
0
|
|
| lineWidth | 0 | SoSFFloat |
>
0
|
|
| linePattern | 0xffff | SoSFUShort |
any
|
|
10
9
Page 10
11
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| EventCallback |
Invokes
callbacks
for
events
|
|||
| FaceSet |
Constructs
faces
from
the
current
coordinates
|
|||
| startIndex | 0 | SoSFLong |
>=
0
|
|
| numVertices | [ -1 ] | SoMFLong |
-1
(SO_
FACE_
SET_-
USE_
REST_
OF_-
|
|
| VERTICES) | ||||
| or >=0 | ||||
| File |
Group
node
that
reads
children
from
a
named
file
|
|||
| name | "< Undefined File>" | SoSFString |
any
|
|
| Font |
Defines
the
font
type
and
size
for
all
subsequent
text
shapes
|
|||
| name | "defaultFont" | SoSFName |
any
|
|
| size | 10 | SoSFFloat |
>
0
|
|
| Group | Group node base class | |||
10
10
Page 11
12
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
11
11
Page 12
13
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| Info |
Contains
an
information
text
string
|
|||
| string | "< Undefined info>" | SoSFString |
any
|
|
| Label |
Contains
a
label
text
string
|
|||
| label | "< Undefined label>" | SoSFName |
any
|
|
| LevelOfDetail |
Group
node
that
allows
switching
between
various
levels
of
detail
|
|||
| screenArea | [ 0 ] | SoMFloat |
>=
0
|
|
| LightModel |
Defines
the
lighting
model
to
use
when
rendering
|
|||
| model | PHONG | SoSFEnum |
BASE_
COLOR,
PHONG
|
|
| LinearProfile | Piecewise linear profile curve | |||
| index | [ 0 ] | SoMFLong |
>=
0
|
|
| linkage | START_ FIRST | SoSFEnum |
START_FIRSTSTART_NEW ADD_TO_CURRENT |
|
12
12
Page 13
14
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| LineSet |
Constructs
polylines
from
the
current
coordinates
|
|||
| startIndex | 0 | SoSFLong |
>=
0
|
|
| numVertices | [ -1 ] | SoMFLong |
-1 (SO_LINE_SET_- USE_REST_OF_-
VERTICES) or >= 0 |
|
| MaterialBinding | Specifies how materials are bound to shapes | |||
| value | DEFAULT | SoSFEnum | DEFAULT OVERALL PER_PART PER_PART_INDEXED PER_ FACE PER_FACE_INDEXED PER_ VERTEX PER_VERTEX_INDEXED | |
| MatrixTransform |
Specifies
a
3D
geometric
transformation
as
a
matrix
|
|||
| matrix | 1 0 0 0 | SoSFMatrix |
any
non-singular
matrix |
|
| 0 1 0 0 |
|
|||
| 0 0 1 0 |
|
|||
| 0 0 0 1 |
|
|||
13
13
Page 14
15
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| MultipleCopy |
Group
node
that
traverses
its
children
multiple
times,
applying
a
different
transformation
matrix each time |
|||
| matrix |
[
1
0
0
0
|
SoMFMatrix |
any
non-singular
matrix |
|
| 0 1 0 0 |
|
|||
| 0 0 1 0 |
|
|||
| 0 0 0 1 ] |
|
|||
| Normal |
Defines
surface
normals
for
shapes
|
|||
| vector | [ 0 0 1 ] | SoMFVec3f |
any
unit
vector
|
|
| NormalBinding |
Specifies
how
surface
normals
are
bound
to
shapes
|
|||
| value | DEFAULT | SoSFEnum |
DEFAULT
OVERALL
|
|
| PER_PART | ||||
| PER_PART_INDEXED | ||||
| PER_FACE | ||||
| PER_FACE_INDEXED | ||||
| PER_VERTEX | ||||
| PER_VERTEX_INDEXED | ||||
| NurbsCurve |
NURBS
curve
shape
node
|
|||
| numControlPoints | 0 | SoSFLong |
>=
0
|
|
| knotVector | [ 0 ] | SoMFFloat |
Refer
to
The
Inventor
Mentor, Ch. 8, for information on restrictions to knot vectors. |
|
| NurbsProfile |
NURBS
profile
curve
|
|||
| index | [ 0 ] | SoMFLong |
>=
0
|
|
| linkage | START_ FIRST | SoSFEnum |
START_
FIRST
START_
NEW
|
|
| ADD_TO_CURRENT | ||||
14
14
Page 15
16
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| PackedColor |
Defines
an
object's
base
color
using
packed
colors
|
|||
| rgba | [ 0xffcccccc ] | SoMFULong |
any
|
|
| PathSwitch |
Group
node
that
traverses
only
the
child
that
matches
a
path
field
|
|||
| path | NULL | SoSFPath |
any
|
|
15
15
Page 16
17
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| Pendulum |
Animated
oscillating
rotation
node
|
|||
| rotation | 0 0 1 0 | SoSFRotation |
any
|
|
| rotation0 | 0 0 1 0 | SoSFRotation |
any
|
|
| rotation1 | 0 0 1 0 | SoSFRotation |
any
|
|
| speed | 1 | SoSFFloat |
any
|
|
| on | TRUE | SoSFBool |
TRUE,
FALSE
|
|
| PickStyle |
Defines
a
picking
style
|
|||
| style | SHAPE | SoSFEnum |
SHAPE
BOUNDING_
BOX
|
|
| UNPICKABLE | ||||
| PointLight |
Represents
a
point
light
source
|
|||
| on | TRUE | SoSFBool |
TRUE,
FALSE
|
|
| intensity | 1 | SoSFFloat |
0
-
1
|
|
| color | 1 1 1 | SoSFColor |
0
-
1
|
|
| location | 0 0 1 | SoSFVec3f |
any
|
|
| PointSet |
Shape
node
that
creates
points
at
the
current
coordinates
|
|||
| startIndex | 0 | SoSFLong |
>=
0
|
|
| numPoints | -1 | SoSFLong |
-1
(SO_
POINT_
SET_-
USE_
REST_
OF_-
|
|
| VERTICES) | ||||
| or |
>=
0
|
|||
16
16
Page 17
18
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| ProfileCoordinate2 |
Nonrational
profile
coordinate
node
|
|||
| point | [ 0 0 ] | SoMFVec2f |
any
|
|
| ProfileCoordinate3 |
Rational
profile
coordinate
node
|
|||
| point | [ 0 0 1 ] | SoMFVec3f |
any
|
|
| QuadMesh |
Quadrilateral
mesh
shape
node
|
|||
| startIndex | 0 | SoSFLong |
>=
0
|
|
| verticesPerColumn | 1 | SoSFLong |
>=
1
|
|
| verticesPerRow | 1 | SoSFLong |
>=
1
|
|
| ResetTransform |
Resets
the
current
transformation
to
identity;
resets
the
current
bounding
box
to
empty
|
|||
| whatToReset | TRANSFORM | SoSFBitMask |
TRANSFORM,
BBOX
|
|
| Rotation |
Represents
a
3D
rotation
about
an
arbitrary
axis
|
|||
| rotation | 0 0 1 0 | SoSFRotation |
any
|
|
| RotationXYZ |
Represents
a
3D
rotation
about
the
x
axis,
y
axis,
or
z
axis
|
|||
| axis | X | SoSFEnum |
X
|
|
| Y | ||||
| Z | ||||
| angle | 0 | SoSFFloat |
any
|
|
| Rotor |
Animated
rotation
node
|
|||
| rotation | 0 0 1 0 | SoSFRotation |
any
|
|
| speed | 1 | SoSFFloat |
any
|
|
| on | TRUE | SoSFBool |
TRUE,
FALSE
|
|
| Scale |
Represents
a
3D
geometric
scale
|
|||
| scaleFactor | 1 1 1 | SoSFVec3f |
>
0
|
|
17
17
Page 18
19
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| Shuttle |
Animated
oscillating
translation
node
|
|||
| translation | 0 0 0 | SoSFVec3f |
any
|
|
| translation0 | 0 0 0 | SoSFVec3f |
any
|
|
| translation1 | 0 0 0 | SoSFVec3f |
any
|
|
| speed | 1 | SoSFFloat |
any
|
|
| on | TRUE | SoSFBool |
TRUE,
FALSE
|
|
| Sphere |
Represents
a
sphere
shape
|
|||
| radius | 1 | SoSFFloat |
>
0
|
|
18
18
Page 19
20
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| Switch |
Group
node
that
traverses
one
chosen
child
|
|||
| whichChild | -1 | SoSFLong |
-1
(SO_
SWITCH_
NONE)
-2
(SO_
SWITCH_-
|
|
| INHERIT) | ||||
| -3 |
(SO_
SWITCH_
ALL)
or
>=
0
|
|||
19
19
Page 20
21
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| Text2 |
Screen-aligned
2D
text
node
|
|||
| string | [ "" ] | SoMFString |
any
|
|
| spacing | 1 | SoSFFloat |
any
|
|
| justification | LEFT | SoSFEnum |
LEFT
RIGHT
|
|
| CENTER | ||||
| Text3 |
3D
text
node
|
|||
| string | [ "" ] | SoMFString |
any
|
|
| spacing | 1 | SoSFFloat |
any
|
|
| justification | LEFT | SoSFEnum |
LEFT
RIGHT
|
|
| CENTER | ||||
| parts | FRONT | SoSFBitMask |
SIDES
FRONT
|
|
| BACK | ||||
| ALL | ||||
| Texture2Transform |
2D
texture
transformation
node
|
|||
| translation | 0 0 | SoSFVec2f |
any
|
|
| rotation | 0 | SoSFFloat |
any
|
|
| scaleFactor | 1 1 | SoSFVec2f |
>
0
|
|
| center | 0 0 | SoSFVec2f |
any
|
|
| TextureCoordinate2 |
Defines
2D
texture
coordinates
|
|||
| point | [ 0 0 ] | SoMFVec2f |
any
|
|
20
20
Page 21
22
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| TextureCoordinate-Binding |
Specifies
how
texture
coordinates
are
bound
to
shapes
|
|||
| value | DEFAULT | SoSFEnum |
DEFAULT
PER_
VERTEX
|
|
| PER_ |
VERTEX_
INDEXED
|
|||
| TextureCoordinate-Default |
Removes
texture
coordinates
from
state
|
|||
| TextureCoordinate-Environment |
Specifies
texture
coordinates
by
projection
from
an
environment
|
|||
| coord | ALL | SoSFEnum |
S
T
|
|
| ALL | ||||
| TextureCoordinate-Plane |
Specifies
texture
coordinates
by
projection
from
a
plane
|
|||
| directionS | 1 0 0 | SoSFVec3f |
any
|
|
| directionT | 0 1 0 | SoSFVec3f |
any
|
|
21
21
Page 22
Open Inventor Nodes Quick Reference
| Node | Field | Default Value | Value Type | Value Range |
| TransformSeparator |
Group
node
that
saves
and
restores
transformation
state
|
|||
| Translation |
Represents
a
3D
geometric
translation
|
|||
| translation | 0 0 0 | SoSFVec3f |
any
|
|
| TriangleStripSet |
Constructs
strips
of
triangular
faces
from
the
current
coordinates
|
|||
| startIndex | 0 | SoSFLong |
>=
0
|
|
| numVertices | [ -1 ] | SoMFLong |
-1
(SO_
TRI_
STRIP_-
SET_
USE_
REST_
OF_-
|
|
| VERTICES) | ||||
| or >=0 | ||||
| Units |
Scales
to
convert
units
of
length
|
|||
| units | METERS | SoSFEnum |
METERS
CENTIMETERS
|
|
| MILLIMETERS | ||||
| MICROMETERS | ||||
| MICRONS | ||||
| NANOMETERS | ||||
| ANGSTROMS | ||||
| KILOMETERS | ||||
| FEET | ||||
| INCHES | ||||
| POINTS | ||||
| YARDS | ||||
| MILES | ||||
| NAUTICAL_ MILES | ||||
22