Debian Codegraph @

models/oiv_compliance/multiplecopy.iv

raw
1 #Inventor V2.1 ascii
2
3 # Check rendering with SoMultipleCopy.
4 #
5 # 19990515 mortene
6
7 Separator {
8 # (ROW 0) With a single child.
9 Separator {
10 MultipleCopy {
11 matrix [
12 1 0 0 0
13 0 1 0 0
14 0 0 1 0
15 0 0 0 1,
16
17 1 0 0 0
18 0 1 0 0
19 0 0 1 0
20 5 0 0 1,
21
22 1 0 0 0
23 0 1 0 0
24 0 0 1 0
25 0 5 0 1,
26
27 1 0 0 0
28 0 1 0 0
29 0 0 1 0
30 5 5 0 1,
31
32 1 0 0 0
33 0 1 0 0
34 0 0 1 0
35 0 0 5 1,
36
37 1 0 0 0
38 0 1 0 0
39 0 0 1 0
40 5 0 5 1,
41
42 1 0 0 0
43 0 1 0 0
44 0 0 1 0
45 0 5 5 1,
46
47 1 0 0 0
48 0 1 0 0
49 0 0 1 0
50 5 5 5 1,
51 ]
52 Cube { }
53 }
54 }
55
56 # (ROW 1) With multiple children.
57 Translation { translation 0 10 0 }
58 BaseColor { rgb 1 1 0 }
59 Separator {
60 MultipleCopy {
61 matrix [
62 1 0 0 0
63 0 1 0 0
64 0 0 1 0
65 0 0 0 1,
66
67 1 0 0 0
68 0 1 0 0
69 0 0 1 0
70 5 0 0 1,
71
72 1 0 0 0
73 0 1 0 0
74 0 0 1 0
75 0 5 0 1,
76
77 1 0 0 0
78 0 1 0 0
79 0 0 1 0
80 5 5 0 1,
81
82 1 0 0 0
83 0 1 0 0
84 0 0 1 0
85 0 0 5 1,
86
87 1 0 0 0
88 0 1 0 0
89 0 0 1 0
90 5 0 5 1,
91
92 1 0 0 0
93 0 1 0 0
94 0 0 1 0
95 0 5 5 1,
96
97 1 0 0 0
98 0 1 0 0
99 0 0 1 0
100 5 5 5 1,
101 ]
102 Cube { }
103 Translation { translation 2 0 0 }
104 Cone { }
105
106 # Check switch inheritance.
107 Translation { translation 20 0 0 }
108 BaseColor { rgb 1 0 0 }
109 Switch {
110 whichChild -2 # SO_SWITCH_IHERIT
111 Cylinder { }
112 Cone { }
113 Cube { }
114 Sphere { }
115 Sphere { }
116 Cube { }
117 Cone { }
118 Cylinder { }
119 }
120 }
121 }
122 }