Salome HOME
1st step.
[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       <InputProperty name="Input" command="SetInputConnection">
239         <ProxyGroupDomain name="groups">
240           <Group name="sources" />
241           <Group name="filters" />
242         </ProxyGroupDomain>
243         <DataTypeDomain name="input_type">
244           <DataType value="vtkUnstructuredGrid" />
245         </DataTypeDomain>
246         <InputArrayDomain name="input_array" attribute_type="cell" />
247       </InputProperty>
248     </SourceProxy>
249
250     <SourceProxy name="ELNOSurface" class="vtkELNOSurfaceFilter" label="ELNO Surface">
251       <Documentation
252         long_help="Extract the surface of a dataset with ELNO values."
253         short_help="Extract the surface of a dataset with ELNO values.">
254         "Extract the surface of a dataset with ELNO values."
255       </Documentation>
256       <OutputPort name="ELNO Surface" index="0" />
257       <InputProperty name="Input" command="SetInputConnection">
258         <ProxyGroupDomain name="groups">
259           <Group name="sources" />
260           <Group name="filters" />
261         </ProxyGroupDomain>
262         <DataTypeDomain name="input_type">
263           <DataType value="vtkUnstructuredGrid" />
264         </DataTypeDomain>
265         <InputArrayDomain name="input_array" attribute_type="cell" />
266       </InputProperty>
267
268       <!-- Source Array -->
269       <StringVectorProperty
270         name="SelectSourceArray"
271         command="SetInputArrayToProcess"
272         number_of_elements="5"
273         element_types="0 0 0 0 2"
274         animateable="0">
275         <Documentation>
276           Specifies the offset array from which we generate ELNO points.
277         </Documentation>
278
279         <ArrayListDomain
280           name="array_list"
281           key_locations="MEDUtilities"
282           key_names="ELNO"
283           key_strategies="need_key">
284           <RequiredProperties>
285             <Property name="Input" function="Input" />
286           </RequiredProperties>
287         </ArrayListDomain>
288       </StringVectorProperty>
289       <Hints>
290         <Property name="SelectSourceArray" show="0"/>
291       </Hints>
292     </SourceProxy>
293
294     <SourceProxy name="GaussPoints" class="vtkMEDQuadraturePointsGenerator" label="Gauss Points">
295       <Documentation
296         long_help="Create a point set with data at Gauss points."
297         short_help="Create a point set with data at Gauss points.">
298         "Create a point set with data at quadrature points."
299       </Documentation>
300
301       <OutputPort
302         name="Gauss Points"
303         index="0" />
304
305       <InputProperty
306         name="Input"
307         command="SetInputConnection">
308         <ProxyGroupDomain
309           name="groups">
310           <Group
311             name="sources" />
312           <Group
313             name="filters" />
314         </ProxyGroupDomain>
315         <DataTypeDomain
316           name="input_type">
317           <DataType
318             value="vtkUnstructuredGrid" />
319         </DataTypeDomain>
320         <InputArrayDomain
321           name="input_array"
322           attribute_type="cell" />
323       </InputProperty>
324
325       <!-- Source Array -->
326       <StringVectorProperty
327         name="SelectSourceArray"
328         command="SetInputArrayToProcess"
329         number_of_elements="5"
330         element_types="0 0 0 0 2"
331         animateable="0">
332         <Documentation>
333           Specifies the offset array from which we generate Gauss points.
334         </Documentation>
335
336         <ArrayListDomain
337           name="array_list"
338           key_locations="MEDUtilities"
339           key_names="ELGA"
340           key_strategies="need_key">
341           <RequiredProperties>
342             <Property
343               name="Input"
344               function="Input" />
345           </RequiredProperties>
346         </ArrayListDomain>
347       </StringVectorProperty>
348
349       <Hints>
350         <Property name="SelectSourceArray" show="1"/>
351       </Hints>
352
353     </SourceProxy>
354
355     <SourceProxy name="ELNOPoints" class="vtkELNOFilter" label="ELNO Points">
356       <Documentation
357         long_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center."
358         short_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center.">
359         "Create a point set with data at quadrature points."
360       </Documentation>
361
362       <OutputPort name="ELNO Points" index="0" />
363
364       <InputProperty name="Input" command="SetInputConnection">
365         <ProxyGroupDomain name="groups">
366           <Group name="sources" />
367           <Group name="filters" />
368         </ProxyGroupDomain>
369         <DataTypeDomain
370           name="input_type">
371           <DataType value="vtkUnstructuredGrid" />
372         </DataTypeDomain>
373         <InputArrayDomain name="input_array" attribute_type="cell" />
374       </InputProperty>
375
376       <!-- Source Array -->
377       <StringVectorProperty
378         name="SelectSourceArray"
379         command="SetInputArrayToProcess"
380         number_of_elements="5"
381         element_types="0 0 0 0 2"
382         animateable="0">
383         <Documentation>
384           Specifies the offset array from which we generate ELNO points.
385         </Documentation>
386
387         <ArrayListDomain
388           name="array_list"
389           key_locations="MEDUtilities"
390           key_names="ELNO"
391           key_strategies="need_key"
392           input_domain_name="input_array">
393           <RequiredProperties>
394             <Property name="Input" function="Input" />
395           </RequiredProperties>
396         </ArrayListDomain>
397       </StringVectorProperty>
398
399       <DoubleVectorProperty
400         name="ShrinkFactor"
401         command="SetShrinkFactor"
402         label="Shrink Factor"
403         number_of_elements="1"
404         default_values="0.5">
405         <DoubleRangeDomain name="range" min="0" max="1" />
406       </DoubleVectorProperty>
407
408       <Hints>
409         <Property name="SelectSourceArray" show="0"/>
410       </Hints>
411     </SourceProxy>
412
413     <SourceProxy
414       name="GenerateStructuralElement"
415       class="vtkGenerateStructElement"
416       label="Generate Structural Element">
417
418      <InputProperty
419         name="Input"
420         command="SetInputConnection">
421            <ProxyGroupDomain name="groups">
422              <Group name="sources"/>
423              <Group name="filters"/>
424            </ProxyGroupDomain>
425            <DataTypeDomain name="input_type">
426              <DataType value="vtkUnstructuredGrid"/>
427            </DataTypeDomain>
428            <Documentation>
429              This property specifies the input to the Generate Structural Element filter.
430            </Documentation>
431      </InputProperty>
432
433     </SourceProxy>
434   </ProxyGroup>
435 </ServerManagerConfiguration>