]> SALOME platform Git repositories - modules/paravis.git/blob - src/Plugins/MEDReader/plugin/ParaViewPlugin/Resources/MEDReaderServer.xml
Salome HOME
[EDF24817] : MEDReader deal with file series considered as Spatial aggragation not...
[modules/paravis.git] / src / Plugins / MEDReader / plugin / ParaViewPlugin / Resources / MEDReaderServer.xml
1 <ServerManagerConfiguration>
2   <ProxyGroup name="internal_sources">
3     <SourceProxy name="MEDReaderInternal" class="vtkMEDReader">
4
5       <Hints>
6         <ReaderFactory extensions="med rmed"
7                        file_description="MED Files">
8         </ReaderFactory>
9       </Hints>
10
11       <Property name="Reload"
12                 command="Reload"
13                 panel_widget="MEDReaderReloadWidgetType"/>
14
15       <StringVectorProperty
16         name="FileName"
17         command="SetFileName"
18         number_of_elements="1"
19         panel_visibility="never"
20         animateable="0">
21         <FileListDomain name="files" />
22         <Documentation>
23           This property specifies the file name for the MED reader.
24         </Documentation>
25       </StringVectorProperty>
26
27       <!-- retrieves using GetNumberOf[FieldsTree]Arrays and GetFieldsTreeArrayName the keys used by FieldsStatus -->
28       <StringVectorProperty name="FieldsTreeInfo" information_only="1">
29         <ArraySelectionInformationHelper attribute_name="FieldsTree" />
30       </StringVectorProperty>
31
32       <StringVectorProperty
33         name="FieldsStatus"
34         command="SetFieldsStatus"
35         label="All Arrays"
36         number_of_elements="0"
37         repeat_command="1"
38         number_of_elements_per_command="2"
39         element_types="2 0"
40         information_property="FieldsTreeInfo"
41         immediate_update="1"
42         panel_widget="MEDReaderFieldsWidgetType">
43         <ArraySelectionDomain name="array_list">
44           <RequiredProperties>
45             <Property name="FieldsTreeInfo" function="ArrayList" />
46           </RequiredProperties>
47         </ArraySelectionDomain>
48         <Documentation>
49           This property lists all the fields sorted by time steps then by mesh then by common support.
50        </Documentation>
51       </StringVectorProperty>
52
53       <IntVectorProperty name="VectorsProperty"
54                          label="Generate Vectors"
55                          command="GenerateVectors"
56                          number_of_elements="1"
57                          default_values="0"
58                          panel_widget="MEDReaderVectorsWidgetType">
59         <Documentation>
60           This property define if the reader generate vectors.
61         </Documentation>
62         <BooleanDomain name="bool"/>
63       </IntVectorProperty>
64       <IntVectorProperty name="TimeModeProperty"
65                          label="Activate Mode"
66                          command="ChangeMode"
67                          number_of_elements="1"
68                          default_values="0"
69                          panel_widget="MEDReaderTimeModeWidgetType">
70         <Documentation>
71           This property define if the reader read time steps as modes or not.
72         </Documentation>
73         <BooleanDomain name="bool"/>
74       </IntVectorProperty>
75
76       <StringVectorProperty
77         name="Separator"
78         command="GetSeparator"
79         number_of_elements="1"
80         animateable="0"
81         information_only="1">
82         <Documentation>
83           This property specifies the file name for the MED reader.
84         </Documentation>
85       </StringVectorProperty>
86
87       <DoubleVectorProperty
88         name="TimestepValues"
89         repeatable="1"
90         information_only="1">
91         <TimeStepsInformationHelper />
92         <Documentation>
93           Available timestep values.
94         </Documentation>
95       </DoubleVectorProperty>
96
97       <StringVectorProperty name="TimesFlagsInfo" information_only="1">
98        <ArraySelectionInformationHelper attribute_name="TimesFlags" />
99      </StringVectorProperty>
100
101      <StringVectorProperty name="TimesFlagsStatus" command="SetTimesFlagsStatus"
102                            label="All TimeSteps"
103                            number_of_elements="0"
104                            repeat_command="1"
105                            number_of_elements_per_command="2"
106                            element_types="2 0"
107                            information_property="TimesFlagsInfo"
108                            panel_widget="MEDReaderTimesFlagsWidgetType">
109        <ArraySelectionDomain name="array_list">
110          <RequiredProperties>
111            <Property name="TimesFlagsInfo" function="ArrayList" />
112          </RequiredProperties>
113        </ArraySelectionDomain>
114         <Documentation>
115           This property define which time steps the reader should read.
116         </Documentation>
117         <Hints>
118           <PropertyWidgetDecorator type="ShowWidgetDecorator">
119             <Property name="TimeModeProperty" function="boolean" />
120           </PropertyWidgetDecorator>
121         </Hints>
122      </StringVectorProperty>
123
124      <IntVectorProperty name="GhostCellGeneratorCallForPara"
125                         label="Ghost Computation In Parallel Case"
126                         command="GhostCellGeneratorCallForPara"
127                         number_of_elements="1"
128                         default_values="1"
129                         panel_visibility="advanced">
130         <Documentation>
131           This property tells if ghost cell generator is applied in parallel mode right after MED file read. This call has a CPU cost but it avoids viz artefacts (interfaces inside dataset on domain borders) you can experiment during usage of filters sensitive to ghost cells in // mode (Ex transparency, contour...). 
132         </Documentation>
133         <BooleanDomain name="bool"/>
134       </IntVectorProperty>
135
136    </SourceProxy>
137   </ProxyGroup>
138   <ProxyGroup name="sources">
139
140    <SourceProxy class="vtkFileSeriesGroupReader"
141                  file_name_method="SetFileName"
142                  label="MED Reader"
143                  name="MEDReader"
144                  si_class="vtkSIMetaReaderProxy">
145       <SubProxy>
146         <Proxy name="Reader"
147                proxygroup="internal_sources"
148                proxyname="MEDReaderInternal"></Proxy>
149         <ExposedProperties>
150           <Property name="Reload" />
151           <Property name="FieldsTreeInfo" />
152           <Property name="FieldsStatus" />
153           <Property name="VectorsProperty" />
154           <Property name="Separator" />
155           <Property name="TimeModeProperty" />
156           <Property name="TimesFlagsInfo" />
157           <Property name="TimesFlagsStatus" />
158           <Property name="GhostCellGeneratorCallForPara" />
159         </ExposedProperties>
160       </SubProxy>
161       <StringVectorProperty animateable="0"
162                             clean_command="RemoveAllFileNames"
163                             command="AddFileName"
164                             name="FileNames"
165                             number_of_elements="0"
166                             panel_visibility="never"
167                             repeat_command="1">
168         <FileListDomain name="files" />
169         <Documentation>The list of files to be read by the 
170         reader.</Documentation>
171       </StringVectorProperty>
172       <DoubleVectorProperty
173           information_only="1"
174           name="TimestepValues"
175           repeatable="1">
176         <TimeStepsInformationHelper />
177       </DoubleVectorProperty>
178
179       <Hints>
180               <ReaderFactory extensions="med rmed"
181                                    file_description="MED Files">
182         </ReaderFactory>
183       </Hints>
184    </SourceProxy>
185   </ProxyGroup>
186
187   <ProxyGroup name="filters">
188     <SourceProxy name="ExtractGroup" class="vtkExtractGroup" label="Extract Group">
189      <InputProperty name="Input" command="SetInputConnection">
190        <ProxyGroupDomain name="groups">
191          <Group name="sources"/>
192          <Group name="filters"/>
193        </ProxyGroupDomain>
194        <DataTypeDomain name="input_type">
195          <DataType value="vtkDataSet"/>
196        </DataTypeDomain>
197        <Documentation>
198          This property specifies the input to the Level Scalars filter.
199        </Documentation>
200      </InputProperty>
201
202      <StringVectorProperty name="GroupsFlagsInfo" information_only="1">
203        <ArraySelectionInformationHelper attribute_name="GroupsFlags" />
204      </StringVectorProperty>
205
206      <StringVectorProperty name="GroupsFlagsStatus" command="SetGroupsFlagsStatus"
207                            label="All Groups"
208                            number_of_elements="0"
209                            repeat_command="1"
210                            number_of_elements_per_command="2"
211                            element_types="2 0"
212                            information_property="GroupsFlagsInfo"
213                            panel_widget="ExtractGroupFieldsWidgetType">
214        <ArraySelectionDomain name="array_list">
215          <RequiredProperties>
216            <Property name="GroupsFlagsInfo" function="ArrayList" />
217          </RequiredProperties>
218        </ArraySelectionDomain>
219        <Documentation>
220           This property lists all groups and families to select.
221        </Documentation>
222      </StringVectorProperty>
223
224      <IntVectorProperty command="SetInsideOut" default_values="0" name="InsideOut" label="Extract Complementary" number_of_elements="1">
225        <BooleanDomain name="bool"/>
226        <Documentation>Choose which part of the dataset to keep regarding the selected Groups/Families. When 0 (default) the direct selection
227        is kept. When 1 the complementary part is selected.
228        </Documentation>
229       </IntVectorProperty>
230
231       <StringVectorProperty
232           name="MeshName"
233           command="GetMeshName"
234           number_of_elements="1"
235           animateable="0"
236           information_only="1">
237         <Documentation>
238           This property returns the name of the mesh.
239         </Documentation>
240       </StringVectorProperty>
241
242     </SourceProxy>
243
244     <SourceProxy name="GroupAsMultiBlock" class="vtkGroupAsMultiBlock" label="Groups As MultiBlocks">
245       <InputProperty name="Input" command="SetInputConnection">
246        <ProxyGroupDomain name="groups">
247          <Group name="sources"/>
248          <Group name="filters"/>
249        </ProxyGroupDomain>
250        <DataTypeDomain name="input_type">
251          <DataType value="vtkDataSet"/>
252        </DataTypeDomain>
253        <Documentation>
254          This property specifies the input to the Level Scalars filter.
255        </Documentation>
256      </InputProperty>
257     </SourceProxy>
258
259     <SourceProxy name="GroupsNames" class="vtkGroupsNames" label="Groups Names">
260       <InputProperty name="Input" command="SetInputConnection">
261        <ProxyGroupDomain name="groups">
262          <Group name="sources"/>
263          <Group name="filters"/>
264        </ProxyGroupDomain>
265        <DataTypeDomain name="input_type">
266          <DataType value="vtkDataSet"/>
267        </DataTypeDomain>
268        <Documentation>
269          This property specifies the input to the Level Scalars filter.
270        </Documentation>
271      </InputProperty>
272     </SourceProxy>
273
274
275   </ProxyGroup>
276
277   <ProxyGroup name="filters">
278     <SourceProxy name="ExtractCellType" class="vtkExtractCellType" label="Extract Cell Type">
279      <InputProperty name="Input" command="SetInputConnection">
280        <ProxyGroupDomain name="groups">
281          <Group name="sources"/>
282          <Group name="filters"/>
283        </ProxyGroupDomain>
284        <DataTypeDomain name="input_type">
285          <DataType value="vtkDataSet"/>
286        </DataTypeDomain>
287        <Documentation>
288          This property specifies the input to the Level Scalars filter.
289        </Documentation>
290      </InputProperty>
291
292      <StringVectorProperty name="GeoTypesInfo" information_only="1">
293        <ArraySelectionInformationHelper attribute_name="GeoTypes" />
294      </StringVectorProperty>
295
296      <StringVectorProperty name="GeoTypesStatus" command="SetGeoTypesStatus"
297                            label="All Geo Types"
298                            number_of_elements="0"
299                            repeat_command="1"
300                            number_of_elements_per_command="2"
301                            element_types="2 0"
302                            information_property="GeoTypesInfo">
303        <ArraySelectionDomain name="array_list">
304          <RequiredProperties>
305            <Property name="GeoTypesInfo" function="ArrayList" />
306          </RequiredProperties>
307        </ArraySelectionDomain>
308        <Documentation>
309           This property lists all the geometric types to select.
310        </Documentation>
311      </StringVectorProperty>
312      <IntVectorProperty command="SetInsideOut" label="Extract Complementary" default_values="0" name="InsideOut" number_of_elements="1">
313        <BooleanDomain name="bool"/>
314        <Documentation>Choose which part of the dataset to keep regarding the selected geometric types. When 0 (default) the direct selection
315        is kept. When 1 the complementary part is selected.
316        </Documentation>
317       </IntVectorProperty>
318     </SourceProxy>
319
320     <SourceProxy name="ELNOMesh" class="vtkELNOMeshFilter" label="ELNO field To Surface">
321       <Documentation
322           long_help="Create a Mesh with ELNO values mapped at each vertex."
323           short_help="Create a Mesh with ELNO values mapped at each vertex.">
324         "Create a Mesh with ELNO values mapped at each vertex."
325       </Documentation>
326
327       <InputProperty name="Input" command="SetInputConnection">
328         <ProxyGroupDomain name="groups">
329           <Group name="sources" />
330           <Group name="filters" />
331         </ProxyGroupDomain>
332         <DataTypeDomain name="input_type">
333           <DataType value="vtkUnstructuredGrid" />
334         </DataTypeDomain>
335         <InputArrayDomain name="input_array" attribute_type="cell" />
336       </InputProperty>
337
338       <DoubleVectorProperty animateable="1"
339                             command="SetShrinkFactor"
340                             default_values="0.9999"
341                             name="ShrinkFactor"
342                             number_of_elements="1">
343         <DoubleRangeDomain max="1" min="0" name="range" />
344         <Documentation>The value of this property determines how far the points
345         will move in the mesh before to be colored using ELNO fields on it. A value of 0 positions the points at the centroid of the cell; a value of 1 leaves them at their original positions.</Documentation>
346       </DoubleVectorProperty>
347       <Hints>
348         <ShowInMenu category="Mechanics" />
349       </Hints>
350     </SourceProxy>
351
352     <SourceProxy name="ELNOSurface" class="vtkELNOSurfaceFilter" label="ELNO field To Surface (skin only)">
353       <Documentation
354         long_help="Extract the surface of a dataset with ELNO values."
355         short_help="Extract the surface of a dataset with ELNO values.">
356         "Extract the surface of a dataset with ELNO values."
357       </Documentation>
358       <OutputPort name="ELNO Surface" index="0" />
359       <InputProperty name="Input" command="SetInputConnection">
360         <ProxyGroupDomain name="groups">
361           <Group name="sources" />
362           <Group name="filters" />
363         </ProxyGroupDomain>
364         <DataTypeDomain name="input_type">
365           <DataType value="vtkUnstructuredGrid" />
366         </DataTypeDomain>
367         <InputArrayDomain name="input_array" attribute_type="cell" />
368       </InputProperty>
369
370       <!-- Source Array -->
371       <StringVectorProperty
372         name="SelectSourceArray"
373         command="SetInputArrayToProcess"
374         number_of_elements="5"
375         element_types="0 0 0 0 2"
376         animateable="0">
377         <Documentation>
378           Specifies the offset array from which we generate ELNO points.
379         </Documentation>
380
381         <ArrayListDomain
382           name="array_list"
383           key_locations="MEDUtilities"
384           key_names="ELNO"
385           key_strategies="need_key">
386           <RequiredProperties>
387             <Property name="Input" function="Input" />
388           </RequiredProperties>
389         </ArrayListDomain>
390       </StringVectorProperty>
391       <Hints>
392         <Property name="SelectSourceArray" show="0"/>
393         <ShowInMenu category="Mechanics" />
394       </Hints>
395     </SourceProxy>
396
397     <SourceProxy name="GaussPoints" class="vtkMEDQuadraturePointsGenerator" label="ELGA field To Point Gaussian">
398       <Documentation
399         long_help="Create a point set with data at Gauss points."
400         short_help="Create a point set with data at Gauss points.">
401         "Create a point set with data at quadrature points."
402       </Documentation>
403
404       <OutputPort
405         name="Gauss Points"
406         index="0" />
407
408       <InputProperty
409         name="Input"
410         command="SetInputConnection">
411         <ProxyGroupDomain
412           name="groups">
413           <Group
414             name="sources" />
415           <Group
416             name="filters" />
417         </ProxyGroupDomain>
418         <DataTypeDomain
419           name="input_type">
420           <DataType
421             value="vtkUnstructuredGrid" />
422         </DataTypeDomain>
423         <InputArrayDomain
424           name="input_array"
425           attribute_type="cell" />
426       </InputProperty>
427
428       <!-- Source Array -->
429       <StringVectorProperty
430         name="SelectSourceArray"
431         command="SetInputArrayToProcess"
432         number_of_elements="5"
433         element_types="0 0 0 0 2"
434         animateable="0">
435         <Documentation>
436           Specifies the offset array from which we generate Gauss points.
437         </Documentation>
438
439         <ArrayListDomain
440           name="array_list"
441           key_locations="MEDUtilities"
442           key_names="ELGA"
443           key_strategies="need_key">
444           <RequiredProperties>
445             <Property
446               name="Input"
447               function="Input" />
448           </RequiredProperties>
449         </ArrayListDomain>
450       </StringVectorProperty>
451
452       <Hints>
453         <Property name="SelectSourceArray" show="1"/>
454         <ShowInMenu category="Mechanics" />
455       </Hints>
456
457     </SourceProxy>
458
459     <SourceProxy name="ELNOPoints" class="vtkELNOFilter" label="ELNO field To Point Gaussian">
460       <Documentation
461         long_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center."
462         short_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center.">
463         "Create a point set with data at quadrature points."
464       </Documentation>
465
466       <OutputPort name="ELNO Points" index="0" />
467
468       <InputProperty name="Input" command="SetInputConnection">
469         <ProxyGroupDomain name="groups">
470           <Group name="sources" />
471           <Group name="filters" />
472         </ProxyGroupDomain>
473         <DataTypeDomain
474           name="input_type">
475           <DataType value="vtkUnstructuredGrid" />
476         </DataTypeDomain>
477         <InputArrayDomain name="input_array" attribute_type="cell" />
478       </InputProperty>
479
480       <!-- Source Array -->
481       <StringVectorProperty
482         name="SelectSourceArray"
483         command="SetInputArrayToProcess"
484         number_of_elements="5"
485         element_types="0 0 0 0 2"
486         animateable="0">
487         <Documentation>
488           Specifies the offset array from which we generate ELNO points.
489         </Documentation>
490
491         <ArrayListDomain
492           name="array_list"
493           key_locations="MEDUtilities"
494           key_names="ELNO"
495           key_strategies="need_key"
496           input_domain_name="input_array">
497           <RequiredProperties>
498             <Property name="Input" function="Input" />
499           </RequiredProperties>
500         </ArrayListDomain>
501       </StringVectorProperty>
502
503       <DoubleVectorProperty
504         name="ShrinkFactor"
505         command="SetShrinkFactor"
506         label="Shrink Factor"
507         number_of_elements="1"
508         default_values="0.5">
509         <DoubleRangeDomain name="range" min="0" max="1" />
510       </DoubleVectorProperty>
511
512       <Hints>
513         <Property name="SelectSourceArray" show="0"/>
514         <ShowInMenu category="Mechanics" />
515       </Hints>
516     </SourceProxy>
517
518     <SourceProxy
519       name="GenerateStructuralElement"
520       class="vtkGenerateStructElement"
521       label="Generate Structural Element">
522
523      <InputProperty
524         name="Input"
525         command="SetInputConnection">
526            <ProxyGroupDomain name="groups">
527              <Group name="sources"/>
528              <Group name="filters"/>
529            </ProxyGroupDomain>
530            <DataTypeDomain name="input_type">
531              <DataType value="vtkUnstructuredGrid"/>
532            </DataTypeDomain>
533            <Documentation>
534              This property specifies the input to the Generate Structural Element filter.
535            </Documentation>
536      </InputProperty>
537
538     </SourceProxy>
539   </ProxyGroup>
540 </ServerManagerConfiguration>