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