Debian Codegraph @

packages/seacas/libraries/ioss/src/visualization/catalyst/test/parser/ImageSetOperationValidTests.h

raw
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 __IMAGE_SET_OPERATION_VALID_TESTS_H
8 #define __IMAGE_SET_OPERATION_VALID_TESTS_H
9
10 #include <string>
11
12 std::string ImagesetOperationThreshold1 = R"(
13 begin catalyst
14 begin camera singletestcamera
15 look direction = -1 -1 -1
16 end
17 begin imageset fooImageset
18 camera = singletestcamera
19 threshold = scalar VON_MISES keep between 28.5 30.5
20 image size = 800 450
21 end imageset
22 end
23 )";
24
25 std::string ImagesetOperationThreshold2 = R"(
26 begin catalyst
27 begin camera singletestcamera
28 look direction = -1 -1 -1
29 end
30 begin imageset fooImageset
31 camera = singletestcamera
32 threshold = vector magnitude displ keep between 0.003 0.008
33 image size = 800 450
34 end imageset
35 end
36 )";
37
38 std::string ImagesetOperationThreshold3 = R"(
39 begin catalyst
40 begin camera singletestcamera
41 look direction = -1 -1 -1
42 end
43 begin imageset fooImageset
44 camera = singletestcamera
45 threshold = vector component displ_x keep between 0.003 0.008
46 image size = 800 450
47 end imageset
48 end
49 )";
50
51 std::string ImagesetOperationThreshold4 = R"(
52 begin catalyst
53 begin camera singletestcamera
54 look direction = -1 -1 -1
55 end
56 begin imageset fooImageset
57 camera = singletestcamera
58 threshold = tensor component stress_xy keep between 1.0 1.7
59 image size = 800 450
60 end imageset
61 end
62 )";
63
64 std::string ImagesetOperationThreshold5 = R"(
65 begin catalyst
66 begin camera singletestcamera
67 look direction = -1 -1 -1
68 end
69 begin imageset fooImageset
70 camera = singletestcamera
71 threshold = scalar VON_MISES keep above 28.5
72 image size = 800 450
73 end imageset
74 end
75 )";
76
77 std::string ImagesetOperationThreshold6 = R"(
78 begin catalyst
79 begin camera singletestcamera
80 look direction = -1 -1 -1
81 end
82 begin imageset fooImageset
83 camera = singletestcamera
84 threshold = scalar VON_MISES keep below 28.5
85 image size = 800 450
86 end imageset
87 end
88 )";
89
90 std::string ImagesetOperationBoxClip1 = R"(
91 begin catalyst
92 begin camera singletestcamera
93 look direction = -1 -1 -1
94 end
95 begin imageset fooImageset
96 camera = singletestcamera
97 boxclip = center 4 1 -0.61 extents 6 1.5 2 keep inside
98 image size = 800 450
99 end imageset
100 end
101 )";
102
103 std::string ImagesetOperationClip1 = R"(
104 begin catalyst
105 begin camera singletestcamera
106 look direction = -1 -1 -1
107 end
108 begin imageset fooImageset
109 camera = singletestcamera
110 clip = point 0 1 2 normal 3 4 5
111 image size = 800 450
112 end imageset
113 end
114 )";
115
116 std::string ImagesetOperationSlice1 = R"(
117 begin catalyst
118 begin camera singletestcamera
119 look direction = -1 -1 -1
120 end
121 begin imageset fooImageset
122 camera = singletestcamera
123 slice = point 0 1 2 normal 3 4 5
124 image size = 800 450
125 end imageset
126 end
127 )";
128
129 std::string ImagesetOperationContour1 = R"(
130 begin catalyst
131 begin camera singletestcamera
132 look direction = -1 -1 -1
133 look at absolute point = 5.0 1.0 0.0
134 look at absolute distance = 10.0
135 end
136 begin imageset fooImageset
137 camera = singletestcamera
138 contour = scalar VON_MISES value list 30.0
139 image size = 800 450
140 end imageset
141 end
142 )";
143
144 std::string ImagesetOperationContour2 = R"(
145 begin catalyst
146 begin camera singletestcamera
147 look direction = -1 -1 -1
148 end
149 begin imageset fooImageset
150 camera = singletestcamera
151 contour = vector magnitude displ value list 0.0001 0.0021 0.0041 0.0061 0.0081 0.011
152 image size = 800 450
153 end imageset
154 end
155 )";
156
157 std::string ImagesetOperationContour3 = R"(
158 begin catalyst
159 begin camera singletestcamera
160 look direction = -1 -1 -1
161 end
162 begin imageset fooImageset
163 camera = singletestcamera
164 image size = 800 450
165 contour = vector component displ_x value list 0.0001 0.0021 0.0041 0.0061 0.0081 0.011
166 end imageset
167 end
168 )";
169
170 std::string ImagesetOperationContour4 = R"(
171 begin catalyst
172 begin camera singletestcamera
173 look direction = -1 -1 -1
174 end
175 begin imageset fooImageset
176 camera = singletestcamera
177 contour = tensor component stress_xy value list 0.1 0.5 1.0 1.5 1.8
178 image size = 800 450
179 end imageset
180 end
181 )";
182
183 std::string ImagesetOperationContour5 = R"(
184 begin catalyst
185 begin camera singletestcamera
186 look direction = -1 -1 -1
187 end
188 begin imageset fooImageset
189 camera = singletestcamera
190 contour = vector component displ_x value list 0.0001 0.0011 0.0021 0.0031 0.0041 0.0051 0.0061 0.0071 0.0081 0.0091 0.0101
191 image size = 800 450
192 end imageset
193 end
194 )";
195
196 std::string ImagesetOperationContour6 = R"(
197 begin catalyst
198 begin camera singletestcamera
199 look direction = -1 -1 -1
200 end
201 begin imageset fooImageset
202 camera = singletestcamera
203 contour = vector component displ_x value sequence 0.0001 0.001 0.03
204 image size = 800 450
205 end imageset
206 end
207 )";
208
209 #endif /* __IMAGE_SET_OPERATION_VALID_TESTS_H */