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