Salome HOME
Merge branch 'V9_9_BR'
[modules/paravis.git] / src / Plugins / MEDReader / plugin / ParaViewPlugin / Resources / MEDReaderServer.xml
1 <ServerManagerConfiguration>
2   <ProxyGroup name="sources">
3     <SourceProxy name="MEDReader" class="vtkMEDReader" label="MED Reader">
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
139   <ProxyGroup name="filters">
140     <SourceProxy name="ExtractGroup" class="vtkExtractGroup" label="Extract Group">
141      <InputProperty name="Input" command="SetInputConnection">
142        <ProxyGroupDomain name="groups">
143          <Group name="sources"/>
144          <Group name="filters"/>
145        </ProxyGroupDomain>
146        <DataTypeDomain name="input_type">
147          <DataType value="vtkDataSet"/>
148        </DataTypeDomain>
149        <Documentation>
150          This property specifies the input to the Level Scalars filter.
151        </Documentation>
152      </InputProperty>
153
154      <StringVectorProperty name="GroupsFlagsInfo" information_only="1">
155        <ArraySelectionInformationHelper attribute_name="GroupsFlags" />
156      </StringVectorProperty>
157
158      <StringVectorProperty name="GroupsFlagsStatus" command="SetGroupsFlagsStatus"
159                            label="All Groups"
160                            number_of_elements="0"
161                            repeat_command="1"
162                            number_of_elements_per_command="2"
163                            element_types="2 0"
164                            information_property="GroupsFlagsInfo"
165                            panel_widget="ExtractGroupFieldsWidgetType">
166        <ArraySelectionDomain name="array_list">
167          <RequiredProperties>
168            <Property name="GroupsFlagsInfo" function="ArrayList" />
169          </RequiredProperties>
170        </ArraySelectionDomain>
171        <Documentation>
172           This property lists all groups and families to select.
173        </Documentation>
174      </StringVectorProperty>
175
176      <IntVectorProperty command="SetInsideOut" default_values="0" name="InsideOut" label="Extract Complementary" number_of_elements="1">
177        <BooleanDomain name="bool"/>
178        <Documentation>Choose which part of the dataset to keep regarding the selected Groups/Families. When 0 (default) the direct selection
179        is kept. When 1 the complementary part is selected.
180        </Documentation>
181       </IntVectorProperty>
182
183       <StringVectorProperty
184           name="MeshName"
185           command="GetMeshName"
186           number_of_elements="1"
187           animateable="0"
188           information_only="1">
189         <Documentation>
190           This property returns the name of the mesh.
191         </Documentation>
192       </StringVectorProperty>
193
194     </SourceProxy>
195
196     <SourceProxy name="GroupAsMultiBlock" class="vtkGroupAsMultiBlock" label="Groups As MultiBlocks">
197       <InputProperty name="Input" command="SetInputConnection">
198        <ProxyGroupDomain name="groups">
199          <Group name="sources"/>
200          <Group name="filters"/>
201        </ProxyGroupDomain>
202        <DataTypeDomain name="input_type">
203          <DataType value="vtkDataSet"/>
204        </DataTypeDomain>
205        <Documentation>
206          This property specifies the input to the Level Scalars filter.
207        </Documentation>
208      </InputProperty>
209     </SourceProxy>
210
211     <SourceProxy name="GroupsNames" class="vtkGroupsNames" label="Groups Names">
212       <InputProperty name="Input" command="SetInputConnection">
213        <ProxyGroupDomain name="groups">
214          <Group name="sources"/>
215          <Group name="filters"/>
216        </ProxyGroupDomain>
217        <DataTypeDomain name="input_type">
218          <DataType value="vtkDataSet"/>
219        </DataTypeDomain>
220        <Documentation>
221          This property specifies the input to the Level Scalars filter.
222        </Documentation>
223      </InputProperty>
224     </SourceProxy>
225
226
227   </ProxyGroup>
228
229   <ProxyGroup name="filters">
230     <SourceProxy name="ExtractCellType" class="vtkExtractCellType" label="Extract Cell Type">
231      <InputProperty name="Input" command="SetInputConnection">
232        <ProxyGroupDomain name="groups">
233          <Group name="sources"/>
234          <Group name="filters"/>
235        </ProxyGroupDomain>
236        <DataTypeDomain name="input_type">
237          <DataType value="vtkDataSet"/>
238        </DataTypeDomain>
239        <Documentation>
240          This property specifies the input to the Level Scalars filter.
241        </Documentation>
242      </InputProperty>
243
244      <StringVectorProperty name="GeoTypesInfo" information_only="1">
245        <ArraySelectionInformationHelper attribute_name="GeoTypes" />
246      </StringVectorProperty>
247
248      <StringVectorProperty name="GeoTypesStatus" command="SetGeoTypesStatus"
249                            label="All Geo Types"
250                            number_of_elements="0"
251                            repeat_command="1"
252                            number_of_elements_per_command="2"
253                            element_types="2 0"
254                            information_property="GeoTypesInfo">
255        <ArraySelectionDomain name="array_list">
256          <RequiredProperties>
257            <Property name="GeoTypesInfo" function="ArrayList" />
258          </RequiredProperties>
259        </ArraySelectionDomain>
260        <Documentation>
261           This property lists all the geometric types to select.
262        </Documentation>
263      </StringVectorProperty>
264      <IntVectorProperty command="SetInsideOut" label="Extract Complementary" default_values="0" name="InsideOut" number_of_elements="1">
265        <BooleanDomain name="bool"/>
266        <Documentation>Choose which part of the dataset to keep regarding the selected geometric types. When 0 (default) the direct selection
267        is kept. When 1 the complementary part is selected.
268        </Documentation>
269       </IntVectorProperty>
270     </SourceProxy>
271
272     <SourceProxy name="ELNOMesh" class="vtkELNOMeshFilter" label="ELNO field To Surface">
273       <Documentation
274           long_help="Create a Mesh with ELNO values mapped at each vertex."
275           short_help="Create a Mesh with ELNO values mapped at each vertex.">
276         "Create a Mesh with ELNO values mapped at each vertex."
277       </Documentation>
278
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="vtkUnstructuredGrid" />
286         </DataTypeDomain>
287         <InputArrayDomain name="input_array" attribute_type="cell" />
288       </InputProperty>
289
290       <DoubleVectorProperty animateable="1"
291                             command="SetShrinkFactor"
292                             default_values="0.9999"
293                             name="ShrinkFactor"
294                             number_of_elements="1">
295         <DoubleRangeDomain max="1" min="0" name="range" />
296         <Documentation>The value of this property determines how far the points
297         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>
298       </DoubleVectorProperty>
299       <Hints>
300         <ShowInMenu category="Mechanics" />
301       </Hints>
302     </SourceProxy>
303
304     <SourceProxy name="ELNOSurface" class="vtkELNOSurfaceFilter" label="ELNO field To Surface (skin only)">
305       <Documentation
306         long_help="Extract the surface of a dataset with ELNO values."
307         short_help="Extract the surface of a dataset with ELNO values.">
308         "Extract the surface of a dataset with ELNO values."
309       </Documentation>
310       <OutputPort name="ELNO Surface" index="0" />
311       <InputProperty name="Input" command="SetInputConnection">
312         <ProxyGroupDomain name="groups">
313           <Group name="sources" />
314           <Group name="filters" />
315         </ProxyGroupDomain>
316         <DataTypeDomain name="input_type">
317           <DataType value="vtkUnstructuredGrid" />
318         </DataTypeDomain>
319         <InputArrayDomain name="input_array" attribute_type="cell" />
320       </InputProperty>
321
322       <!-- Source Array -->
323       <StringVectorProperty
324         name="SelectSourceArray"
325         command="SetInputArrayToProcess"
326         number_of_elements="5"
327         element_types="0 0 0 0 2"
328         animateable="0">
329         <Documentation>
330           Specifies the offset array from which we generate ELNO points.
331         </Documentation>
332
333         <ArrayListDomain
334           name="array_list"
335           key_locations="MEDUtilities"
336           key_names="ELNO"
337           key_strategies="need_key">
338           <RequiredProperties>
339             <Property name="Input" function="Input" />
340           </RequiredProperties>
341         </ArrayListDomain>
342       </StringVectorProperty>
343       <Hints>
344         <Property name="SelectSourceArray" show="0"/>
345         <ShowInMenu category="Mechanics" />
346       </Hints>
347     </SourceProxy>
348
349     <SourceProxy name="GaussPoints" class="vtkMEDQuadraturePointsGenerator" label="ELGA field To Point Gaussian">
350       <Documentation
351         long_help="Create a point set with data at Gauss points."
352         short_help="Create a point set with data at Gauss points.">
353         "Create a point set with data at quadrature points."
354       </Documentation>
355
356       <OutputPort
357         name="Gauss Points"
358         index="0" />
359
360       <InputProperty
361         name="Input"
362         command="SetInputConnection">
363         <ProxyGroupDomain
364           name="groups">
365           <Group
366             name="sources" />
367           <Group
368             name="filters" />
369         </ProxyGroupDomain>
370         <DataTypeDomain
371           name="input_type">
372           <DataType
373             value="vtkUnstructuredGrid" />
374         </DataTypeDomain>
375         <InputArrayDomain
376           name="input_array"
377           attribute_type="cell" />
378       </InputProperty>
379
380       <!-- Source Array -->
381       <StringVectorProperty
382         name="SelectSourceArray"
383         command="SetInputArrayToProcess"
384         number_of_elements="5"
385         element_types="0 0 0 0 2"
386         animateable="0">
387         <Documentation>
388           Specifies the offset array from which we generate Gauss points.
389         </Documentation>
390
391         <ArrayListDomain
392           name="array_list"
393           key_locations="MEDUtilities"
394           key_names="ELGA"
395           key_strategies="need_key">
396           <RequiredProperties>
397             <Property
398               name="Input"
399               function="Input" />
400           </RequiredProperties>
401         </ArrayListDomain>
402       </StringVectorProperty>
403
404       <Hints>
405         <Property name="SelectSourceArray" show="1"/>
406         <ShowInMenu category="Mechanics" />
407       </Hints>
408
409     </SourceProxy>
410
411     <SourceProxy name="ELNOPoints" class="vtkELNOFilter" label="ELNO field To Point Gaussian">
412       <Documentation
413         long_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center."
414         short_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center.">
415         "Create a point set with data at quadrature points."
416       </Documentation>
417
418       <OutputPort name="ELNO Points" index="0" />
419
420       <InputProperty name="Input" command="SetInputConnection">
421         <ProxyGroupDomain name="groups">
422           <Group name="sources" />
423           <Group name="filters" />
424         </ProxyGroupDomain>
425         <DataTypeDomain
426           name="input_type">
427           <DataType value="vtkUnstructuredGrid" />
428         </DataTypeDomain>
429         <InputArrayDomain name="input_array" attribute_type="cell" />
430       </InputProperty>
431
432       <!-- Source Array -->
433       <StringVectorProperty
434         name="SelectSourceArray"
435         command="SetInputArrayToProcess"
436         number_of_elements="5"
437         element_types="0 0 0 0 2"
438         animateable="0">
439         <Documentation>
440           Specifies the offset array from which we generate ELNO points.
441         </Documentation>
442
443         <ArrayListDomain
444           name="array_list"
445           key_locations="MEDUtilities"
446           key_names="ELNO"
447           key_strategies="need_key"
448           input_domain_name="input_array">
449           <RequiredProperties>
450             <Property name="Input" function="Input" />
451           </RequiredProperties>
452         </ArrayListDomain>
453       </StringVectorProperty>
454
455       <DoubleVectorProperty
456         name="ShrinkFactor"
457         command="SetShrinkFactor"
458         label="Shrink Factor"
459         number_of_elements="1"
460         default_values="0.5">
461         <DoubleRangeDomain name="range" min="0" max="1" />
462       </DoubleVectorProperty>
463
464       <Hints>
465         <Property name="SelectSourceArray" show="0"/>
466         <ShowInMenu category="Mechanics" />
467       </Hints>
468     </SourceProxy>
469
470     <SourceProxy
471       name="GenerateStructuralElement"
472       class="vtkGenerateStructElement"
473       label="Generate Structural Element">
474
475      <InputProperty
476         name="Input"
477         command="SetInputConnection">
478            <ProxyGroupDomain name="groups">
479              <Group name="sources"/>
480              <Group name="filters"/>
481            </ProxyGroupDomain>
482            <DataTypeDomain name="input_type">
483              <DataType value="vtkUnstructuredGrid"/>
484            </DataTypeDomain>
485            <Documentation>
486              This property specifies the input to the Generate Structural Element filter.
487            </Documentation>
488      </InputProperty>
489
490     </SourceProxy>
491   </ProxyGroup>
492 </ServerManagerConfiguration>