File: SoDrawStyle.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 (45 lines) | stat: -rw-r--r-- 1,173 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
NAME SoDrawStyle SoDStyle SO_D_STYLE_ {
node that defines the style to use when rendering
}

INCLUDE nodes/SoDrawStyle.h

DESC {
This node defines the current drawing style for all subsequent shape
nodes in a scene graph. \cSoDrawStyle\. specifies how primitives
should be rendered. The drawing style has no effect on picking or
callback primitive generation.
}

ENUM Style {
    FILLED	"Draw filled regions",
    LINES	"Draw only outlines (wire frame)",
    POINTS	"Draw points at vertices",
    INVISIBLE	"Do not draw anything at all"
}

FIELD style { Drawing style. }

FIELD pointSize { Radius of points (for \kPOINTS\. style). }

FIELD lineWidth { Width of lines (for \kLINES\. style). }

FIELD linePattern  {
Stipple pattern for lines (for \kLINES\. style). Values can range from
0 (invisible) to 0xffff (solid). This specifies how dashed or dotted
lines will be drawn.
}

METHOD "" SoDrawStyle() {
Creates a drawing style node with default settings.
}

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

ACTION SoGLRenderAction, SoCallbackAction {
Sets the current drawing style.
}

ALSO { SoLightModel, SoPickStyle, SoShapeHints }