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