Salome HOME
Merge branch 'V7_3_1_BR' into akl/tests_update
[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       <StringVectorProperty
12         name="FileName"
13         command="SetFileName"
14         number_of_elements="1"
15         animateable="0">
16         <FileListDomain name="files" />
17         <Documentation>
18           This property specifies the file name for the MED reader.
19         </Documentation>
20       </StringVectorProperty>
21       
22       <IntVectorProperty
23         name="ReloadReq"
24         command="Reload"
25         number_of_elements="1"
26         default_values="0"
27         animateable="0">
28         <SimpleIntInformationHelper />
29       </IntVectorProperty>
30
31       <IntVectorProperty
32         name="GenerateVectors"
33         command="GenerateVectors"
34         number_of_elements="1"
35         default_values="0"
36         animateable="0">
37         <SimpleIntInformationHelper />
38       </IntVectorProperty>
39
40       <IntVectorProperty
41         name="TimeOrModal"
42         command="ChangeMode"
43         number_of_elements="1"
44         default_values="0"
45         animateable="0">
46         <SimpleIntInformationHelper />
47       </IntVectorProperty>
48
49       <!-- retrieves using GetNumberOf[FieldsTree]Arrays and GetFieldsTreeArrayName the keys used by FieldsStatus -->
50       <StringVectorProperty name="FieldsTreeInfo" information_only="1">
51         <ArraySelectionInformationHelper attribute_name="FieldsTree" />
52       </StringVectorProperty>
53       
54       <StringVectorProperty
55         name="FieldsStatus"
56         command="SetFieldsStatus"
57         label="All Arrays"
58         number_of_elements="0"
59         repeat_command="1"
60         number_of_elements_per_command="2"
61         element_types="2 0"
62         information_property="FieldsTreeInfo">
63         <ArraySelectionDomain name="array_list">
64           <RequiredProperties>
65             <Property name="FieldsTreeInfo" function="ArrayList" />
66           </RequiredProperties>
67         </ArraySelectionDomain>
68         <Documentation>
69           This property lists all the fields sorted by time steps then by mesh then by common support.
70        </Documentation>
71       </StringVectorProperty>
72
73       <StringVectorProperty name="TimesFlagsInfo" information_only="1">
74        <ArraySelectionInformationHelper attribute_name="TimesFlags" />
75      </StringVectorProperty>
76      
77      <StringVectorProperty name="TimesFlagsStatus" command="SetTimesFlagsStatus"
78                            label="All TimeSteps"
79                            number_of_elements="0"
80                            repeat_command="1"
81                            number_of_elements_per_command="2"
82                            element_types="2 0"
83                            information_property="TimesFlagsInfo">
84        <ArraySelectionDomain name="array_list">
85          <RequiredProperties>
86            <Property name="TimesFlagsInfo" function="ArrayList" />
87          </RequiredProperties>
88        </ArraySelectionDomain>
89        <Documentation>
90           This property lists all groups and families to select.
91        </Documentation>
92      </StringVectorProperty>
93
94       <StringVectorProperty
95         name="Separator"
96         command="GetSeparator"
97         number_of_elements="1"
98         animateable="0"
99         information_only="1">
100         <FileListDomain name="files" />
101         <Documentation>
102           This property specifies the file name for the MED reader.
103         </Documentation>
104       </StringVectorProperty>
105
106       <DoubleVectorProperty
107         name="TimestepValues"
108         repeatable="1"
109         information_only="1">
110         <TimeStepsInformationHelper />
111         <Documentation>
112           Available timestep values.
113         </Documentation>
114       </DoubleVectorProperty>
115
116     </SourceProxy>
117   </ProxyGroup>
118
119   <ProxyGroup name="filters">
120     <SourceProxy name="ExtractGroup" class="vtkExtractGroup" label="Extract Group">
121      <InputProperty name="Input" command="SetInputConnection">
122        <ProxyGroupDomain name="groups">
123          <Group name="sources"/>
124          <Group name="filters"/>
125        </ProxyGroupDomain>
126        <DataTypeDomain name="input_type">
127          <DataType value="vtkDataSet"/>
128        </DataTypeDomain>
129        <Documentation>
130          This property specifies the input to the Level Scalars filter.
131        </Documentation>
132      </InputProperty>
133      
134      <IntVectorProperty name="SILUpdateStamp" command="GetSILUpdateStamp" information_only="1">
135        <SimpleIntInformationHelper />
136        <Documentation>
137          Information property indicating the update stamp of the SIL. Every
138          time the SIL is rebuild, this
139          time stamp is changed.
140        </Documentation>
141      </IntVectorProperty>
142      
143      <StringVectorProperty name="GroupsFlagsInfo" information_only="1">
144        <ArraySelectionInformationHelper attribute_name="GroupsFlags" />
145      </StringVectorProperty>
146      
147      <StringVectorProperty name="GroupsFlagsStatus" command="SetGroupsFlagsStatus"
148                            label="All Groups"
149                            number_of_elements="0"
150                            repeat_command="1"
151                            number_of_elements_per_command="2"
152                            element_types="2 0"
153                            information_property="GroupsFlagsInfo">
154        <ArraySelectionDomain name="array_list">
155          <RequiredProperties>
156            <Property name="GroupsFlagsInfo" function="ArrayList" />
157          </RequiredProperties>
158        </ArraySelectionDomain>
159        <Documentation>
160           This property lists all groups and families to select.
161        </Documentation>
162      </StringVectorProperty>
163
164      <IntVectorProperty command="SetInsideOut" default_values="0" name="InsideOut" number_of_elements="1">
165        <BooleanDomain name="bool"/>
166        <Documentation>Choose which part of the dataset to keep regarding the selected Groups/Families. When 0 (default) the direct selection
167        is kept. When 1 the complementary part is selected.
168        </Documentation>
169       </IntVectorProperty>
170     </SourceProxy>
171   </ProxyGroup>
172   
173   <ProxyGroup name="filters">
174     <SourceProxy name="ExtractCellType" class="vtkExtractCellType" label="Extract Cell Type">
175      <InputProperty name="Input" command="SetInputConnection">
176        <ProxyGroupDomain name="groups">
177          <Group name="sources"/>
178          <Group name="filters"/>
179        </ProxyGroupDomain>
180        <DataTypeDomain name="input_type">
181          <DataType value="vtkDataSet"/>
182        </DataTypeDomain>
183        <Documentation>
184          This property specifies the input to the Level Scalars filter.
185        </Documentation>
186      </InputProperty>
187      
188      <IntVectorProperty name="SILUpdateStamp" command="GetSILUpdateStamp" information_only="1">
189        <SimpleIntInformationHelper />
190        <Documentation>
191          Information property indicating the update stamp of the SIL. Every
192          time the SIL is rebuild, this
193          time stamp is changed.
194        </Documentation>
195      </IntVectorProperty>
196      
197      <StringVectorProperty name="GeoTypesInfo" information_only="1">
198        <ArraySelectionInformationHelper attribute_name="GeoTypes" />
199      </StringVectorProperty>
200      
201      <StringVectorProperty name="GeoTypesStatus" command="SetGeoTypesStatus"
202                            label="All GeoTypes"
203                            number_of_elements="0"
204                            repeat_command="1"
205                            number_of_elements_per_command="2"
206                            element_types="2 0"
207                            information_property="GeoTypesInfo">
208        <ArraySelectionDomain name="array_list">
209          <RequiredProperties>
210            <Property name="GeoTypesInfo" function="ArrayList" />
211          </RequiredProperties>
212        </ArraySelectionDomain>
213        <Documentation>
214           This property lists all the geometric types to select.
215        </Documentation>
216      </StringVectorProperty>
217      <IntVectorProperty command="SetInsideOut" default_values="0" name="InsideOut" number_of_elements="1">
218        <BooleanDomain name="bool"/>
219        <Documentation>Choose which part of the dataset to keep regarding the selected geometric types. When 0 (default) the direct selection
220        is kept. When 1 the complementary part is selected.
221        </Documentation>
222       </IntVectorProperty>
223     </SourceProxy>
224
225     <SourceProxy name="ELNOMesh" class="vtkELNOMeshFilter" label="ELNO Mesh">
226       <Documentation
227           long_help="Create a Mesh with ELNO values mapped at each vertex."
228           short_help="Create a Mesh with ELNO values mapped at each vertex.">
229         "Create a Mesh with ELNO values mapped at each vertex."
230       </Documentation>
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="vtkUnstructuredGrid" />
238         </DataTypeDomain>
239         <InputArrayDomain name="input_array" attribute_type="cell" />
240       </InputProperty>
241     </SourceProxy>
242
243     <SourceProxy name="ELNOSurface" class="vtkELNOSurfaceFilter" label="ELNO Surface">
244       <Documentation
245         long_help="Extract the surface of a dataset with ELNO values."
246         short_help="Extract the surface of a dataset with ELNO values.">
247         "Extract the surface of a dataset with ELNO values."
248       </Documentation>
249       <OutputPort name="ELNO Surface" index="0" />
250       <InputProperty name="Input" command="SetInputConnection">
251         <ProxyGroupDomain name="groups">
252           <Group name="sources" />
253           <Group name="filters" />
254         </ProxyGroupDomain>
255         <DataTypeDomain name="input_type">
256           <DataType value="vtkUnstructuredGrid" />
257         </DataTypeDomain>
258         <InputArrayDomain name="input_array" attribute_type="cell" />
259       </InputProperty>
260
261       <!-- Source Array -->
262       <StringVectorProperty
263         name="SelectSourceArray"
264         command="SetInputArrayToProcess"
265         number_of_elements="5"
266         element_types="0 0 0 0 2"
267         animateable="0">
268         <Documentation>
269           Specifies the offset array from which we generate ELNO points.
270         </Documentation>
271
272         <ArrayListDomain
273           name="array_list"
274           key_locations="MEDUtilities"
275           key_names="ELNO"
276           key_strategies="need_key">
277           <RequiredProperties>
278             <Property name="Input" function="Input" />
279           </RequiredProperties>
280         </ArrayListDomain>
281       </StringVectorProperty>
282       <Hints> 
283         <Property name="SelectSourceArray" show="0"/>
284       </Hints>
285     </SourceProxy>
286
287     <SourceProxy name="GaussPoints" class="vtkQuadraturePointsGenerator" label="Gauss Points">
288       <Documentation
289         long_help="Create a point set with data at Gauss points."
290         short_help="Create a point set with data at Gauss points.">
291         "Create a point set with data at quadrature points."
292       </Documentation>
293
294       <OutputPort
295         name="Gauss Points"
296         index="0" />
297
298       <InputProperty
299         name="Input"
300         command="SetInputConnection">
301         <ProxyGroupDomain
302           name="groups">
303           <Group
304             name="sources" />
305           <Group
306             name="filters" />
307         </ProxyGroupDomain>
308         <DataTypeDomain
309           name="input_type">
310           <DataType
311             value="vtkUnstructuredGrid" />
312         </DataTypeDomain>
313         <InputArrayDomain
314           name="input_array"
315           attribute_type="cell" />
316       </InputProperty>
317
318       <!-- Source Array -->
319       <StringVectorProperty
320         name="SelectSourceArray"
321         command="SetInputArrayToProcess"
322         number_of_elements="5"
323         element_types="0 0 0 0 2"
324         animateable="0">
325         <Documentation>
326           Specifies the offset array from which we generate Gauss points.
327         </Documentation>
328
329         <ArrayListDomain
330           name="array_list"
331           key_locations="MEDUtilities"
332           key_names="ELGA"
333           key_strategies="need_key">
334           <RequiredProperties>
335             <Property
336               name="Input"
337               function="Input" />
338           </RequiredProperties>
339         </ArrayListDomain>
340       </StringVectorProperty>
341
342       <Hints>
343         <Property name="SelectSourceArray" show="1"/>
344       </Hints>
345
346     </SourceProxy>
347     
348     <SourceProxy name="ELNOPoints" class="vtkELNOFilter" label="ELNO Points">
349       <Documentation
350         long_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center."
351         short_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center.">
352         "Create a point set with data at quadrature points."
353       </Documentation>
354
355       <OutputPort name="ELNO Points" index="0" />
356
357       <InputProperty name="Input" command="SetInputConnection">
358         <ProxyGroupDomain name="groups">
359           <Group name="sources" />
360           <Group name="filters" />
361         </ProxyGroupDomain>
362         <DataTypeDomain
363           name="input_type">
364           <DataType value="vtkUnstructuredGrid" />
365         </DataTypeDomain>
366         <InputArrayDomain name="input_array" attribute_type="cell" />
367       </InputProperty>
368
369       <!-- Source Array -->
370       <StringVectorProperty
371         name="SelectSourceArray"
372         command="SetInputArrayToProcess"
373         number_of_elements="5"
374         element_types="0 0 0 0 2"
375         animateable="0">
376         <Documentation>
377           Specifies the offset array from which we generate ELNO points.
378         </Documentation>
379
380         <ArrayListDomain
381           name="array_list"
382           key_locations="MEDUtilities"
383           key_names="ELNO"
384           key_strategies="need_key"
385           input_domain_name="input_array">
386           <RequiredProperties>
387             <Property name="Input" function="Input" />
388           </RequiredProperties>
389         </ArrayListDomain>
390       </StringVectorProperty>
391
392       <DoubleVectorProperty
393         name="ShrinkFactor"
394         command="SetShrinkFactor"
395         label="Shrink Factor"
396         number_of_elements="1"
397         default_values="0.5">
398         <DoubleRangeDomain name="range" min="0" max="1" />
399       </DoubleVectorProperty>
400
401       <Hints>
402         <Property name="SelectSourceArray" show="0"/>
403       </Hints>
404     </SourceProxy>
405
406
407     <SourceProxy
408       name="GenerateStructuralElement"
409       class="vtkGenerateStructElement"
410       label="Generate Structural Element">
411
412      <InputProperty
413         name="Input"
414         command="SetInputConnection">
415            <ProxyGroupDomain name="groups">
416              <Group name="sources"/>
417              <Group name="filters"/>
418            </ProxyGroupDomain>
419            <DataTypeDomain name="input_type">
420              <DataType value="vtkUnstructuredGrid"/>
421            </DataTypeDomain>
422            <Documentation>
423              This property specifies the input to the Generate Structural Element filter.
424            </Documentation>
425      </InputProperty>
426
427     </SourceProxy>
428   </ProxyGroup>
429 </ServerManagerConfiguration>