ExplicitStructuredGrid_server_manager_modules_data.h
Go to the documentation of this file.
1 // Loadable modules
2 //
3 // Generated by ../../bin/vtkProcessXML-pv5.9
4 //
5 #ifndef ExplicitStructuredGrid_server_manager_modules_data_h
6 #define ExplicitStructuredGrid_server_manager_modules_data_h
7 
8 #include <string.h>
9 #include <cassert>
10 #include <algorithm>
11 
12 
13 // From file /builds/gitlab-kitware-sciviz-ci/Plugins/ExplicitStructuredGrid/Filter/ExplicitStructuredGrid.xml
15 "<ServerManagerConfiguration>\n"
16 " <ProxyGroup name=\"sources\">\n"
17 " <!-- ==================================================================== -->\n"
18 " <SourceProxy class=\"vtkExplicitStructuredGridGeneratorSource\"\n"
19 " label=\"ExplicitStructuredGrid Generator Source\"\n"
20 " name=\"ExplicitUnstructuredGeneratorSource\">\n"
21 " <Documentation long_help=\"Generate reservoir grids described as VTK unstructured grids.\">\n"
22 " </Documentation>\n"
23 " <IntVectorProperty command=\"SetGeneratorMode\"\n"
24 " default_values=\"2\"\n"
25 " name=\"GeneratorMode\"\n"
26 " number_of_elements=\"1\">\n"
27 " <EnumerationDomain name=\"enum\">\n"
28 " <Entry text=\"Pillar\" value=\"0\" />\n"
29 " <Entry text=\"Discontinuous\" value=\"1\" />\n"
30 " <Entry text=\"Continuous\" value=\"2\" />\n"
31 " <Entry text=\"Steps\" value=\"3\" />\n"
32 " <Entry text=\"Pyramid\" value=\"4\" />\n"
33 " </EnumerationDomain>\n"
34 " <Documentation>This property set the generator to use.</Documentation>\n"
35 " </IntVectorProperty>\n"
36 " <DoubleVectorProperty information_only=\"1\"\n"
37 " name=\"TimestepValues\"\n"
38 " repeatable=\"1\">\n"
39 " <TimeStepsInformationHelper />\n"
40 " </DoubleVectorProperty>\n"
41 " <IntVectorProperty command=\"SetDataExtent\"\n"
42 " default_values=\"0 50 0 50 0 50\"\n"
43 " name=\"DataExtent\"\n"
44 " number_of_elements=\"6\"\n"
45 " panel_visibility=\"default\">\n"
46 " <IntRangeDomain name=\"range\" />\n"
47 " <Documentation>The whole grid extent to generate.</Documentation>\n"
48 " </IntVectorProperty>\n"
49 " <IntVectorProperty command=\"SetPyramidStepSize\"\n"
50 " default_values=\"10\"\n"
51 " name=\"PyramidStepSize\"\n"
52 " number_of_elements=\"1\"\n"
53 " panel_visibility=\"default\">\n"
54 " <IntRangeDomain name=\"range\" />\n"
55 " <Documentation>The pyramid or step size.</Documentation>\n"
56 " </IntVectorProperty>\n"
57 " <IntVectorProperty command=\"SetNumberOfTimeSteps\"\n"
58 " default_values=\"20\"\n"
59 " name=\"NumberOfTimeSteps\"\n"
60 " number_of_elements=\"1\"\n"
61 " panel_visibility=\"default\">\n"
62 " <IntRangeDomain name=\"range\" />\n"
63 " <Documentation>The number of generated time steps.</Documentation>\n"
64 " </IntVectorProperty>\n"
65 " </SourceProxy>\n"
66 " </ProxyGroup>\n"
67 " <ProxyGroup name=\"filters\">\n"
68 " <!-- ==================================================================== -->\n"
69 " <SourceProxy name=\"ExplicitStructuredGridCrop\"\n"
70 " class=\"vtkExplicitStructuredGridCrop\"\n"
71 " label=\"ExplicitStructuredGrid Crop\">\n"
72 " <Documentation long_help=\"Efficiently extract a volume of interest from a 3d explicit structured grid.\"\n"
73 " short_help=\"Extract a volume of interest.\">\n"
74 " The Crop filter extracts a volume of interest from a 3D explicit structured\n"
75 " grid by allowing the user to specify the minimum and maximum extents of each\n"
76 " dimension of the data. Both the input and output of this filter are explicit\n"
77 " structured grids.\n"
78 " </Documentation>\n"
79 " <InputProperty command=\"SetInputConnection\"\n"
80 " name=\"Input\">\n"
81 " <ProxyGroupDomain name=\"groups\">\n"
82 " <Group name=\"sources\" />\n"
83 " <Group name=\"filters\" />\n"
84 " </ProxyGroupDomain>\n"
85 " <DataTypeDomain name=\"input_type\">\n"
86 " <DataType value=\"vtkExplicitStructuredGrid\" />\n"
87 " </DataTypeDomain>\n"
88 " <Documentation>This property specifies the input to the filter.\n"
89 " </Documentation>\n"
90 " </InputProperty>\n"
91 " <IntVectorProperty command=\"SetOutputWholeExtent\"\n"
92 " default_values=\"0 0 0 0 0 0\"\n"
93 " name=\"OutputWholeExtent\"\n"
94 " number_of_elements=\"6\">\n"
95 " <ExtentDomain name=\"extent\">\n"
96 " <RequiredProperties>\n"
97 " <Property function=\"Input\" name=\"Input\" />\n"
98 " </RequiredProperties>\n"
99 " </ExtentDomain>\n"
100 " <Documentation>\n"
101 " This property gives the minimum and maximum point index\n"
102 " (extent) in each dimension for the output dataset.\n"
103 " </Documentation>\n"
104 " </IntVectorProperty>\n"
105 " </SourceProxy>\n"
106 "\n"
107 " <!-- ==================================================================== -->\n"
108 " <SourceProxy name=\"ExplicitStructuredGridSurfaceFilter\"\n"
109 " class=\"vtkExplicitStructuredGridSurfaceFilter\"\n"
110 " label=\"ExplicitStructuredGrid Extract Surface\">\n"
111 " <Documentation long_help=\"Extract the surface of an explicit structured grid as vtkPolyData.\">\n"
112 " </Documentation>\n"
113 " <InputProperty command=\"SetInputConnection\"\n"
114 " name=\"Input\">\n"
115 " <ProxyGroupDomain name=\"groups\">\n"
116 " <Group name=\"sources\" />\n"
117 " <Group name=\"filters\" />\n"
118 " </ProxyGroupDomain>\n"
119 " <DataTypeDomain name=\"input_type\">\n"
120 " <DataType value=\"vtkExplicitStructuredGrid\" />\n"
121 " </DataTypeDomain>\n"
122 " <Documentation>This property specifies the input to the filter.\n"
123 " </Documentation>\n"
124 " </InputProperty>\n"
125 " <IntVectorProperty command=\"SetPassThroughCellIds\"\n"
126 " default_values=\"0\"\n"
127 " name=\"PassThroughCellIds\"\n"
128 " number_of_elements=\"1\">\n"
129 " <BooleanDomain name=\"bool\" />\n"
130 " <Documentation>\n"
131 " If on, the output polygonal dataset will have a celldata array that\n"
132 " holds the cell index of the original 3D cell that produced each output\n"
133 " cell. This is useful for cell picking. The default is off to save\n"
134 " memory.\n"
135 " </Documentation>\n"
136 " </IntVectorProperty>\n"
137 " <IntVectorProperty command=\"SetPassThroughPointIds\"\n"
138 " default_values=\"0\"\n"
139 " name=\"PassThroughPointIds\"\n"
140 " number_of_elements=\"1\">\n"
141 " <BooleanDomain name=\"bool\" />\n"
142 " <Documentation>\n"
143 " If on, the output polygonal dataset will have a pointdata array that\n"
144 " holds the point index of the original 3D point that produced each output\n"
145 " point. This is useful for point picking. The default is off to save\n"
146 " memory.\n"
147 " </Documentation>\n"
148 " </IntVectorProperty>\n"
149 " <StringVectorProperty command=\"SetOriginalCellIdsName\"\n"
150 " default_values=\"vtkOriginalCellIds\"\n"
151 " name=\"OriginalCellIdsName\"\n"
152 " number_of_elements=\"1\"\n"
153 " panel_visibility=\"default\">\n"
154 " <Documentation>\n"
155 " If PassThroughCellIds is on, then these ivars control the name given to\n"
156 " the field in which the ids are written into.\n"
157 " </Documentation>\n"
158 " <Hints>\n"
159 " <PropertyWidgetDecorator type=\"GenericDecorator\"\n"
160 " mode=\"visibility\"\n"
161 " property=\"PassThroughCellIds\"\n"
162 " value=\"1\" />\n"
163 " </Hints>\n"
164 " </StringVectorProperty>\n"
165 " <StringVectorProperty command=\"SetOriginalPointIdsName\"\n"
166 " default_values=\"vtkOriginalPointIds\"\n"
167 " name=\"OriginalPointIdsName\"\n"
168 " number_of_elements=\"1\"\n"
169 " panel_visibility=\"default\">\n"
170 " <Documentation>\n"
171 " If PassThroughPointIds is on, then these ivars control the name given to\n"
172 " the field in which the ids are written into.\n"
173 " </Documentation>\n"
174 " <Hints>\n"
175 " <PropertyWidgetDecorator type=\"GenericDecorator\"\n"
176 " mode=\"visibility\"\n"
177 " property=\"PassThroughPointIds\"\n"
178 " value=\"1\" />\n"
179 " </Hints>\n"
180 " </StringVectorProperty>\n"
181 " </SourceProxy>\n"
182 "\n"
183 " <!-- ==================================================================== -->\n"
184 " <SourceProxy name=\"ExplicitStructuredGridToUnstructuredGrid\"\n"
185 " class=\"vtkExplicitStructuredGridToUnstructuredGrid\"\n"
186 " label=\"ExplicitStructuredGrid To UnstructuredGrid\">\n"
187 " <InputProperty command=\"SetInputConnection\"\n"
188 " name=\"Input\">\n"
189 " <ProxyGroupDomain name=\"groups\">\n"
190 " <Group name=\"sources\" />\n"
191 " <Group name=\"filters\" />\n"
192 " </ProxyGroupDomain>\n"
193 " <DataTypeDomain name=\"input_type\">\n"
194 " <DataType value=\"vtkExplicitStructuredGrid\" />\n"
195 " </DataTypeDomain>\n"
196 " <Documentation>\n"
197 " This property specifies the input to the filter.\n"
198 " </Documentation>\n"
199 " </InputProperty>\n"
200 " </SourceProxy>\n"
201 "\n"
202 " <SourceProxy name=\"ImageDataToExplicitStructuredGrid\"\n"
203 " class=\"vtkImageDataToExplicitStructuredGrid\"\n"
204 " label=\"ImageData To ExplicitStructuredGrid\">\n"
205 " <InputProperty command=\"SetInputConnection\"\n"
206 " name=\"Input\">\n"
207 " <ProxyGroupDomain name=\"groups\">\n"
208 " <Group name=\"sources\" />\n"
209 " <Group name=\"filters\" />\n"
210 " </ProxyGroupDomain>\n"
211 " <DataTypeDomain name=\"input_type\">\n"
212 " <DataType value=\"vtkImageData\" />\n"
213 " </DataTypeDomain>\n"
214 " <Documentation>\n"
215 " This property specifies the input to the filter.\n"
216 " </Documentation>\n"
217 " </InputProperty>\n"
218 " </SourceProxy>\n"
219 "\n"
220 " <!-- ==================================================================== -->\n"
221 " <SourceProxy name=\"UnstructuredGridToExplicitStructuredGrid\"\n"
222 " class=\"vtkUnstructuredGridToExplicitStructuredGrid\"\n"
223 " label=\"UnstructuredGrid To ExplicitStructuredGrid\">\n"
224 " <InputProperty command=\"SetInputConnection\"\n"
225 " name=\"Input\">\n"
226 " <ProxyGroupDomain name=\"groups\">\n"
227 " <Group name=\"sources\" />\n"
228 " <Group name=\"filters\" />\n"
229 " </ProxyGroupDomain>\n"
230 " <DataTypeDomain name=\"input_type\">\n"
231 " <DataType value=\"vtkUnstructuredGrid\" />\n"
232 " </DataTypeDomain>\n"
233 " <InputArrayDomain attribute_type=\"cell\"\n"
234 " name=\"input_array\"\n"
235 " number_of_components=\"1\"/>\n"
236 " <Documentation>This property specifies the input to the filter.\n"
237 " </Documentation>\n"
238 " </InputProperty>\n"
239 " <StringVectorProperty command=\"SetInputArrayToProcess\"\n"
240 " default_values_delimiter=\";\"\n"
241 " default_values=\"0;0;0;0;BLOCK_I\"\n"
242 " element_types=\"0 0 0 0 2\"\n"
243 " label=\"I Array\"\n"
244 " name=\"iArray\"\n"
245 " number_of_elements=\"5\">\n"
246 " <ArrayListDomain input_domain_name=\"input_array\"\n"
247 " name=\"array_list\">\n"
248 " <RequiredProperties>\n"
249 " <Property function=\"Input\"\n"
250 " name=\"Input\" />\n"
251 " </RequiredProperties>\n"
252 " </ArrayListDomain>\n"
253 " </StringVectorProperty>\n"
254 " <StringVectorProperty command=\"SetInputArrayToProcess\"\n"
255 " default_values_delimiter=\";\"\n"
256 " default_values=\"1;0;0;0;BLOCK_J\"\n"
257 " element_types=\"0 0 0 0 2\"\n"
258 " label=\"J Array\"\n"
259 " name=\"jArray\"\n"
260 " number_of_elements=\"5\">\n"
261 " <ArrayListDomain input_domain_name=\"input_array\"\n"
262 " name=\"array_list\">\n"
263 " <RequiredProperties>\n"
264 " <Property function=\"Input\"\n"
265 " name=\"Input\" />\n"
266 " </RequiredProperties>\n"
267 " </ArrayListDomain>\n"
268 " </StringVectorProperty>\n"
269 " <StringVectorProperty command=\"SetInputArrayToProcess\"\n"
270 " default_values_delimiter=\";\"\n"
271 " default_values=\"2;0;0;0;BLOCK_K\"\n"
272 " element_types=\"0 0 0 0 2\"\n"
273 " label=\"K Array\"\n"
274 " name=\"kArray\"\n"
275 " number_of_elements=\"5\">\n"
276 " <ArrayListDomain input_domain_name=\"input_array\"\n"
277 " name=\"array_list\">\n"
278 " <RequiredProperties>\n"
279 " <Property function=\"Input\"\n"
280 " name=\"Input\" />\n"
281 " </RequiredProperties>\n"
282 " </ArrayListDomain>\n"
283 " </StringVectorProperty>\n"
284 " <IntVectorProperty command=\"SetWholeExtent\"\n"
285 " default_values=\"0 -1 0 -1 0 -1\"\n"
286 " name=\"WholeExtent\"\n"
287 " number_of_elements=\"6\">\n"
288 " <Documentation>\n"
289 " This property gives the minimum and maximum point index\n"
290 " (extent) in each dimension for the output dataset.\n"
291 " </Documentation>\n"
292 " </IntVectorProperty>\n"
293 " </SourceProxy>\n"
294 " </ProxyGroup>\n"
295 "</ServerManagerConfiguration>\n"
296 "\n";
297 // Get single string
299 {
300 
302  size_t len = ( 0
303  + len0 );
304  char* res = new char[ len + 1];
305  size_t offset = 0;
307  assert(offset == len);
308  res[offset] = 0;
309  return res;
310 }
311 
312 
313 // From file /builds/gitlab-kitware-sciviz-ci/Plugins/ExplicitStructuredGrid/Filter/ExplicitStructuredGridPythonExtractor.xml
315 "<ServerManagerConfiguration>\n"
316 " <ProxyGroup name=\"filters\">\n"
317 " <!-- ==================================================================== -->\n"
318 " <SourceProxy class=\"vtkExplicitStructuredGridPythonExtractor\"\n"
319 " label=\"ExplicitStructuredGrid Slice and Cells Extractor\"\n"
320 " name=\"ExplicitStructuredGridPythonExtractor\">\n"
321 " <Documentation long_help=\"Extract a i-j-k slice from a reservoir grid described as an unstructured grid or a 3D image data.\">\n"
322 " </Documentation>\n"
323 " <InputProperty command=\"SetInputConnection\"\n"
324 " name=\"Input\">\n"
325 " <ProxyGroupDomain name=\"groups\">\n"
326 " <Group name=\"sources\" />\n"
327 " <Group name=\"filters\" />\n"
328 " </ProxyGroupDomain>\n"
329 " <DataTypeDomain name=\"input_type\">\n"
330 " <DataType value=\"vtkExplicitStructuredGrid\" />\n"
331 " </DataTypeDomain>\n"
332 " <Documentation>The input from which the selection is\n"
333 " extracted.</Documentation>\n"
334 " </InputProperty>\n"
335 " <IntVectorProperty command=\"SetPassDataToScript\"\n"
336 " default_values=\"0\"\n"
337 " name=\"PassDataToScript\"\n"
338 " number_of_elements=\"1\">\n"
339 " <BooleanDomain name=\"bool\" />\n"
340 " <Documentation>\n"
341 " If ON, the script will have access to the cell data arrays (CellArray) and the 8 points data arrays (PointArray)\n"
342 " of the evaluated cell - activate it only if needed, the cost is lot higher.\n"
343 " </Documentation>\n"
344 " </IntVectorProperty>\n"
345 " <StringVectorProperty command=\"SetPythonExpression\"\n"
346 " default_values=\"ret=(i==0 or j==0 or k==0)\"\n"
347 " name=\"PythonExpression\"\n"
348 " number_of_elements=\"1\"\n"
349 " panel_visibility=\"default\">\n"
350 " <Documentation>\n"
351 " This property contains the Python script that will be evaluated on each grid cell. The script has access to\n"
352 " variables i, j and k which are the coordinates of the cell grid exprimed in the whole grid extent. The\n"
353 " script should modify the value of variable 'ret'. If ret is 0, the cell will be discarded, otherwise it\n"
354 " will be copied in the output grid.\n"
355 " </Documentation>\n"
356 " </StringVectorProperty>\n"
357 " </SourceProxy>\n"
358 " </ProxyGroup>\n"
359 "</ServerManagerConfiguration>\n"
360 "\n";
361 // Get single string
363 {
364 
366  size_t len = ( 0
367  + len0 );
368  char* res = new char[ len + 1];
369  size_t offset = 0;
371  assert(offset == len);
372  res[offset] = 0;
373  return res;
374 }
375 
376 
377 
378 #endif
offset
static const char *const ExplicitStructuredGrid_server_manager_modulesExplicitStructuredGridInterface0
char * ExplicitStructuredGrid_server_manager_modulesExplicitStructuredGridGetInterfaces()
static const char *const ExplicitStructuredGrid_server_manager_modulesExplicitStructuredGridPythonExtractorInterface0
char * ExplicitStructuredGrid_server_manager_modulesExplicitStructuredGridPythonExtractorGetInterfaces()