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