IOSS 2.0
Loading...
Searching...
No Matches
CameraValidTests.h
Go to the documentation of this file.
1// Copyright(C) 1999-2021 National Technology & Engineering Solutions
2// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3// NTESS, the U.S. Government retains certain rights in this software.
4//
5// See packages/seacas/LICENSE for details
6
7#ifndef __CAMERA_VALID_TESTS_H
8#define __CAMERA_VALID_TESTS_H
9
10#include <string>
11
12std::string Camera = R"(
13 begin catalyst
14 begin camera fooCamera
15 end camera
16 begin imageset fooImageset
17 camera = fooCamera
18 image size = 800 450
19 end imageset
20 end
21 )";
22
24 begin catalyst
25 begin camera fooCamera
26 look at absolute point = 1.1 2 3e-8
27 end camera
28 begin imageset fooImageset
29 camera = fooCamera
30 image size = 800 450
31 end imageset
32 end
33 )";
34
35std::string CameraLookDirection = R"(
36 begin catalyst
37 begin camera fooCamera
38 look direction = 1 2 3
39 end camera
40 begin imageset fooImageset
41 camera = fooCamera
42 image size = 800 450
43 end imageset
44 end
45 )";
46
48 begin catalyst
49 begin camera fooCamera
50 look at relative distance = 2.0
51 end camera
52 begin imageset fooImageset
53 camera = fooCamera
54 image size = 800 450
55 end imageset
56 end
57 )";
58
60 begin catalyst
61 begin camera fooCamera
62 look at absolute distance = 15.0
63 end camera
64 begin imageset fooImageset
65 camera = fooCamera
66 image size = 800 450
67 end imageset
68 end
69 )";
70
71std::string CameraAtAbsolutePoint = R"(
72 begin catalyst
73 begin camera fooCamera
74 camera at absolute point = -2.0 3.0 30.0
75 end camera
76 begin imageset fooImageset
77 camera = fooCamera
78 image size = 800 450
79 end imageset
80 end
81 )";
82
83std::string CameraAtRelativePoint = R"(
84 begin catalyst
85 begin camera fooCamera
86 camera at relative point = -0.5 1.5 20.0
87 look direction = 0.1 -0.1 -1.0
88 end camera
89 begin imageset fooImageset
90 camera = fooCamera
91 image size = 800 450
92 end imageset
93 end
94 )";
95
96std::string CameraAtElement = R"(
97 begin catalyst
98 begin camera fooCamera
99 camera at element = 1
100 end camera
101 begin imageset fooImageset
102 camera = fooCamera
103 image size = 800 450
104 end imageset
105 end
106 )";
107
108std::string CameraAtNode = R"(
109 begin catalyst
110 begin camera fooCamera
111 camera at node = 1
112 end camera
113 begin imageset fooImageset
114 camera = fooCamera
115 image size = 800 450
116 end imageset
117 end
118 )";
119
121 begin catalyst
122 begin camera fooCamera
123 camera at element displaced = 1 -3.0 10.0 20.0
124 look at element = 1
125 end camera
126 begin imageset fooImageset
127 camera = fooCamera
128 image size = 800 450
129 end imageset
130 end
131 )";
132
133std::string CameraAtNodeDisplaced = R"(
134 begin catalyst
135 begin camera fooCamera
136 camera at node displaced = 1 -3.0 10.0 20.0
137 look at node = 1
138 end camera
139 begin imageset fooImageset
140 camera = fooCamera
141 image size = 800 450
142 end imageset
143 end
144 )";
145
146std::string CameraUpVector = R"(
147 begin catalyst
148 begin camera fooCamera
149 up vector = 0 1 2
150 end camera
151 begin imageset fooImageset
152 camera = fooCamera
153 image size = 800 450
154 end imageset
155 end
156 )";
157
158std::string CameraFOV = R"(
159 begin catalyst
160 begin camera fooCamera
161 camera fov = 45
162 look at relative point = 0.0 0.0 0.0
163 look at absolute distance = 10.0
164 end camera
165 begin imageset fooImageset
166 camera = fooCamera
167 image size = 800 450
168 end imageset
169 end
170 )";
171
172std::string CameraImageNameAddon = R"(
173 begin catalyst
174 begin camera fooCamera
175 image name addon = "_foo_"
176 end camera
177 begin imageset fooImageset
178 camera = fooCamera
179 image size = 800 450
180 end imageset
181 end
182 )";
183
185 begin catalyst
186 begin camera parallel_projection_cam1
187 projection type = parallel
188 look direction = -5 -1 -1
189 end camera
190 begin camera perspective_projection_cam1
191 projection type = perspective
192 look direction = -5 -1 -1
193 end camera
194 begin imageset parallel_projection_is1
195 camera = parallel_projection_cam1
196 image size = 800 450
197 image basename = parallel_projection_is1.
198 end imageset
199 begin imageset perspective_projection_is1
200 camera = perspective_projection_cam1
201 image size = 800 450
202 image basename = perspective_projection_is1.
203 end imageset
204 end
205 )";
206
207std::string MultiCamera8 = R"(
208 begin catalyst
209 begin multicamera8 fooCamera
210 end multicamera8
211 begin imageset fooImageset
212 camera = fooCamera
213 image size = 800 450
214 end imageset
215 end
216 )";
217
219 begin catalyst
220 begin multicamera8 fooCamera
221 look at absolute point = 1.1 2 3e-8
222 end multicamera8
223 begin imageset fooImageset
224 camera = fooCamera
225 image size = 800 450
226 end imageset
227 end
228 )";
229
231 begin catalyst
232 begin multicamera8 fooCamera
233 look at relative point = 0.5 -0.5 0.5
234 end multicamera8
235 begin imageset fooImageset
236 camera = fooCamera
237 image size = 800 450
238 end imageset
239 end
240 )";
241
243 begin catalyst
244 begin multicamera8 fooCamera
245 look at element = 17
246 end multicamera8
247 begin imageset fooImageset
248 camera = fooCamera
249 image size = 800 450
250 end imageset
251 end
252 )";
253
254std::string MultiCamera8LookAtNode = R"(
255 begin catalyst
256 begin multicamera8 fooCamera
257 look at node = 20
258 end multicamera8
259 begin imageset fooImageset
260 camera = fooCamera
261 image size = 800 450
262 end imageset
263 end
264 )";
265
267 begin catalyst
268 begin multicamera8 fooCamera
269 look at relative distance = 2.0
270 end multicamera8
271 begin imageset fooImageset
272 camera = fooCamera
273 image size = 800 450
274 end imageset
275 end
276 )";
277
279 begin catalyst
280 begin multicamera8 fooCamera
281 look at absolute distance = 15.0
282 end multicamera8
283 begin imageset fooImageset
284 camera = fooCamera
285 image size = 800 450
286 end imageset
287 end
288 )";
289
290std::string MultiCamera8UpVector = R"(
291 begin catalyst
292 begin multicamera8 fooCamera
293 up vector = 0 1 2
294 end multicamera8
295 begin imageset fooImageset
296 camera = fooCamera
297 image size = 800 450
298 end imageset
299 end
300 )";
301
302std::string MultiCamera8FOV = R"(
303 begin catalyst
304 begin multicamera8 fooCamera
305 camera fov = 45
306 look at relative point = 0.0 0.0 0.0
307 look at absolute distance = 10.0
308 end multicamera8
309 begin imageset fooImageset
310 camera = fooCamera
311 image size = 800 450
312 end imageset
313 end
314 )";
315
317 begin catalyst
318 begin multicamera8 fooCamera
319 image name addon = "_foo_"
320 end multicamera8
321 begin imageset fooImageset
322 camera = fooCamera
323 image size = 800 450
324 end imageset
325 end
326 )";
327
329 begin catalyst
330 begin multicamera8 parallel_projection_cam1
331 projection type = parallel
332 end multicamera8
333 begin multicamera8 perspective_projection_cam1
334 projection type = perspective
335 end multicamera8
336 begin imageset parallel_projection_is1
337 camera = parallel_projection_cam1
338 image size = 800 450
339 image basename = parallel_projection_is1.
340 end imageset
341 begin imageset perspective_projection_is1
342 camera = perspective_projection_cam1
343 image size = 800 450
344 image basename = perspective_projection_is1.
345 end imageset
346 end
347 )";
348
349#endif /* __CAMERA_VALID_TESTS_H */
std::string CameraFOV
Definition CameraValidTests.h:158
std::string MultiCamera8ParallelProjection1
Definition CameraValidTests.h:328
std::string MultiCamera8UpVector
Definition CameraValidTests.h:290
std::string MultiCamera8LookAtRelativeDistance
Definition CameraValidTests.h:266
std::string MultiCamera8LookAtAbsolutePoint
Definition CameraValidTests.h:218
std::string MultiCamera8LookAtRelativePoint
Definition CameraValidTests.h:230
std::string Camera
Definition CameraValidTests.h:12
std::string MultiCamera8
Definition CameraValidTests.h:207
std::string MultiCamera8FOV
Definition CameraValidTests.h:302
std::string CameraUpVector
Definition CameraValidTests.h:146
std::string CameraAtElementDisplaced
Definition CameraValidTests.h:120
std::string CameraLookDirection
Definition CameraValidTests.h:35
std::string CameraLookAtAbsolutePoint
Definition CameraValidTests.h:23
std::string MultiCamera8LookAtElement
Definition CameraValidTests.h:242
std::string CameraAtElement
Definition CameraValidTests.h:96
std::string CameraLookAtRelativeDistance
Definition CameraValidTests.h:47
std::string CameraParallelProjection1
Definition CameraValidTests.h:184
std::string CameraImageNameAddon
Definition CameraValidTests.h:172
std::string MultiCamera8LookAtAbsoluteDistance
Definition CameraValidTests.h:278
std::string CameraAtRelativePoint
Definition CameraValidTests.h:83
std::string CameraAtNode
Definition CameraValidTests.h:108
std::string CameraAtAbsolutePoint
Definition CameraValidTests.h:71
std::string CameraLookAtAbsoluteDistance
Definition CameraValidTests.h:59
std::string MultiCamera8LookAtNode
Definition CameraValidTests.h:254
std::string MultiCamera8ImageNameAddon
Definition CameraValidTests.h:316
std::string CameraAtNodeDisplaced
Definition CameraValidTests.h:133