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