Debian Codegraph @

models/oiv_compliance/drawstyle.iv

raw
1 #Inventor V2.1 ascii
2
3 # Check rendering with SoDrawStyle.
4 #
5 # For seeing how drawstyle settings influence different shape types, see
6 # the compliance test file for the shapes.
7 #
8 # 19990515 mortene
9
10 Separator {
11 # (ROW 0) Check style field on a cube.
12 Separator {
13 DrawStyle { }
14 Cube { }
15
16 Translation { translation 4 0 0 }
17 BaseColor { rgb 1 0 0 }
18 DrawStyle { style INVISIBLE }
19 Cube { }
20
21 Translation { translation 4 0 0 }
22 BaseColor { rgb 0 1 0 }
23 DrawStyle { style POINTS }
24 Cube { }
25
26 Translation { translation 4 0 0 }
27 BaseColor { rgb 0 0 1 }
28 DrawStyle { style LINES }
29 Cube { }
30
31 Translation { translation 4 0 0 }
32 BaseColor { rgb 1 1 0 }
33 DrawStyle { style FILLED }
34 Cube { }
35 }
36
37 # (ROW 1) Check style field in combination with other fields.
38 Translation { translation 0 4 0 }
39 Separator {
40 DrawStyle {
41 style POINTS
42 pointSize 4
43 }
44 Cube { }
45
46 Translation { translation 4 0 0 }
47 BaseColor { rgb 1 0 0 }
48 DrawStyle {
49 style LINES
50 lineWidth 4
51 }
52 Cube { }
53
54 Translation { translation 4 0 0 }
55 BaseColor { rgb 0 1 0 }
56 DrawStyle {
57 style LINES
58 lineWidth 4
59 linePattern 0xf0f0
60 }
61 Cube { }
62 }
63
64 # (ROW 2) Check pointSize field.
65 Translation { translation 0 4 0 }
66 Separator {
67 DrawStyle {
68 style POINTS
69 pointSize 0
70 }
71 Cube { }
72
73 Translation { translation 4 0 0 }
74 BaseColor { rgb 1 0 0 }
75 DrawStyle {
76 style POINTS
77 pointSize 0.5
78 }
79 Cube { }
80
81 Translation { translation 4 0 0 }
82 BaseColor { rgb 0 1 0 }
83 DrawStyle {
84 style POINTS
85 pointSize 1
86 }
87 Cube { }
88
89 Translation { translation 4 0 0 }
90 BaseColor { rgb 0 0 1 }
91 DrawStyle {
92 style POINTS
93 pointSize 2
94 }
95 Cube { }
96
97
98 Translation { translation 4 0 0 }
99 BaseColor { rgb 1 0 1 }
100 DrawStyle {
101 style POINTS
102 pointSize 4
103 }
104 Cube { }
105
106 Translation { translation 4 0 0 }
107 BaseColor { rgb 1 1 0 }
108 DrawStyle {
109 style POINTS
110 pointSize 8
111 }
112 Cube { }
113
114 Translation { translation 4 0 0 }
115 BaseColor { rgb 0 1 1 }
116 DrawStyle {
117 style POINTS
118 pointSize 16
119 }
120 Cube { }
121
122 Translation { translation 4 0 0 }
123 BaseColor { rgb 1 1 1 }
124 DrawStyle {
125 style POINTS
126 pointSize 64
127 }
128 Cube { }
129 }
130
131 # (ROW 3) Check lineWidth field.
132 Translation { translation 0 4 0 }
133 Separator {
134 DrawStyle {
135 style LINES
136 lineWidth 0
137 }
138 Cube { }
139
140 Translation { translation 4 0 0 }
141 BaseColor { rgb 1 0 0 }
142 DrawStyle {
143 style LINES
144 lineWidth 0.5
145 }
146 Cube { }
147
148 Translation { translation 4 0 0 }
149 BaseColor { rgb 0 1 0 }
150 DrawStyle {
151 style LINES
152 lineWidth 1
153 }
154 Cube { }
155
156 Translation { translation 4 0 0 }
157 BaseColor { rgb 0 0 1 }
158 DrawStyle {
159 style LINES
160 lineWidth 2
161 }
162 Cube { }
163
164
165 Translation { translation 4 0 0 }
166 BaseColor { rgb 1 0 1 }
167 DrawStyle {
168 style LINES
169 lineWidth 4
170 }
171 Cube { }
172
173 Translation { translation 4 0 0 }
174 BaseColor { rgb 1 1 0 }
175 DrawStyle {
176 style LINES
177 lineWidth 8
178 }
179 Cube { }
180
181 Translation { translation 4 0 0 }
182 BaseColor { rgb 0 1 1 }
183 DrawStyle {
184 style LINES
185 lineWidth 16
186 }
187 Cube { }
188
189 Translation { translation 4 0 0 }
190 BaseColor { rgb 1 1 1 }
191 DrawStyle {
192 style LINES
193 lineWidth 64
194 }
195 Cube { }
196 }
197
198 # (ROW 4) Check linePattern field.
199 Translation { translation 0 4 0 }
200 Separator {
201 DrawStyle {
202 style LINES
203 lineWidth 2
204 linePattern 0x0000
205 }
206 Cube { }
207
208 Translation { translation 4 0 0 }
209 BaseColor { rgb 1 0 0 }
210 DrawStyle {
211 style LINES
212 lineWidth 2
213 linePattern 0x0001
214 }
215 Cube { }
216
217 Translation { translation 4 0 0 }
218 BaseColor { rgb 0 1 0 }
219 DrawStyle {
220 style LINES
221 lineWidth 2
222 linePattern 0x000f
223 }
224 Cube { }
225
226 Translation { translation 4 0 0 }
227 BaseColor { rgb 0 0 1 }
228 DrawStyle {
229 style LINES
230 lineWidth 2
231 linePattern 0x0f0f
232 }
233 Cube { }
234
235 Translation { translation 4 0 0 }
236 BaseColor { rgb 1 0 1 }
237 DrawStyle {
238 style LINES
239 lineWidth 2
240 linePattern 0x5555
241 }
242 Cube { }
243
244 Translation { translation 4 0 0 }
245 BaseColor { rgb 1 1 0 }
246 DrawStyle {
247 style LINES
248 lineWidth 2
249 linePattern 0x7001
250 }
251 Cube { }
252
253 Translation { translation 4 0 0 }
254 BaseColor { rgb 0 1 1 }
255 DrawStyle {
256 style LINES
257 lineWidth 2
258 linePattern 0xff00
259 }
260 Cube { }
261
262 Translation { translation 4 0 0 }
263 BaseColor { rgb 1 1 1 }
264 DrawStyle {
265 style LINES
266 lineWidth 2
267 linePattern 0xffff
268 }
269 Cube { }
270 }
271
272 # (ROW 5) Check ignore flags.
273 Translation { translation 0 4 0 }
274 Separator {
275 DrawStyle { }
276 Cube { }
277
278 Translation { translation 4 0 0 }
279 BaseColor { rgb 1 0 0 }
280 DrawStyle { style INVISIBLE ~ }
281 Cube { }
282
283 Translation { translation 4 0 0 }
284 BaseColor { rgb 0 1 0 }
285 DrawStyle {
286 style POINTS
287 pointSize 8 ~
288 }
289 Cube { }
290
291 Translation { translation 4 0 0 }
292 BaseColor { rgb 0 0 1 }
293 DrawStyle {
294 style LINES
295 lineWidth 8 ~
296 }
297 Cube { }
298
299 Translation { translation 4 0 0 }
300 BaseColor { rgb 1 1 0 }
301 DrawStyle {
302 style LINES
303 lineWidth 4
304 linePattern 0x0ff0 ~
305 }
306 Cube { }
307 }
308 }