Salome HOME
Point Sprite representation does not exist anymore -> Rename it Point Gaussian
[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      <IntVectorProperty name="GhostCellGeneratorCallForPara"
129                         label="Ghost Computation In Parallel Case"
130                         command="GhostCellGeneratorCallForPara"
131                         number_of_elements="1"
132                         default_values="1"
133                         panel_visibility="advanced">
134         <Documentation>
135           This property tells if ghost cell generator is applied in parallel mode right after MED file read. This call has a CPU cost but it avoids viz artefacts (interfaces inside dataset on domain borders) you can experiment during usage of filters sensitive to ghost cells in // mode (Ex transparency, contour...). 
136         </Documentation>
137         <BooleanDomain name="bool"/>
138       </IntVectorProperty>
139
140    </SourceProxy>
141   </ProxyGroup>
142
143   <ProxyGroup name="filters">
144     <SourceProxy name="ExtractGroup" class="vtkExtractGroup" label="Extract Group">
145      <InputProperty name="Input" command="SetInputConnection">
146        <ProxyGroupDomain name="groups">
147          <Group name="sources"/>
148          <Group name="filters"/>
149        </ProxyGroupDomain>
150        <DataTypeDomain name="input_type">
151          <DataType value="vtkDataSet"/>
152        </DataTypeDomain>
153        <Documentation>
154          This property specifies the input to the Level Scalars filter.
155        </Documentation>
156      </InputProperty>
157
158      <StringVectorProperty name="GroupsFlagsInfo" information_only="1">
159        <ArraySelectionInformationHelper attribute_name="GroupsFlags" />
160      </StringVectorProperty>
161
162      <StringVectorProperty name="GroupsFlagsStatus" command="SetGroupsFlagsStatus"
163                            label="All Groups"
164                            number_of_elements="0"
165                            repeat_command="1"
166                            number_of_elements_per_command="2"
167                            element_types="2 0"
168                            information_property="GroupsFlagsInfo"
169                            panel_widget="ExtractGroupFieldsWidgetType">
170        <ArraySelectionDomain name="array_list">
171          <RequiredProperties>
172            <Property name="GroupsFlagsInfo" function="ArrayList" />
173          </RequiredProperties>
174        </ArraySelectionDomain>
175        <Documentation>
176           This property lists all groups and families to select.
177        </Documentation>
178      </StringVectorProperty>
179
180      <IntVectorProperty command="SetInsideOut" default_values="0" name="InsideOut" label="Extract Complementary" number_of_elements="1">
181        <BooleanDomain name="bool"/>
182        <Documentation>Choose which part of the dataset to keep regarding the selected Groups/Families. When 0 (default) the direct selection
183        is kept. When 1 the complementary part is selected.
184        </Documentation>
185       </IntVectorProperty>
186
187       <StringVectorProperty
188           name="MeshName"
189           command="GetMeshName"
190           number_of_elements="1"
191           animateable="0"
192           information_only="1">
193         <Documentation>
194           This property returns the name of the mesh.
195         </Documentation>
196       </StringVectorProperty>
197
198     </SourceProxy>
199   </ProxyGroup>
200
201   <ProxyGroup name="filters">
202     <SourceProxy name="ExtractCellType" class="vtkExtractCellType" label="Extract Cell Type">
203      <InputProperty name="Input" command="SetInputConnection">
204        <ProxyGroupDomain name="groups">
205          <Group name="sources"/>
206          <Group name="filters"/>
207        </ProxyGroupDomain>
208        <DataTypeDomain name="input_type">
209          <DataType value="vtkDataSet"/>
210        </DataTypeDomain>
211        <Documentation>
212          This property specifies the input to the Level Scalars filter.
213        </Documentation>
214      </InputProperty>
215
216      <StringVectorProperty name="GeoTypesInfo" information_only="1">
217        <ArraySelectionInformationHelper attribute_name="GeoTypes" />
218      </StringVectorProperty>
219
220      <StringVectorProperty name="GeoTypesStatus" command="SetGeoTypesStatus"
221                            label="All Geo Types"
222                            number_of_elements="0"
223                            repeat_command="1"
224                            number_of_elements_per_command="2"
225                            element_types="2 0"
226                            information_property="GeoTypesInfo">
227        <ArraySelectionDomain name="array_list">
228          <RequiredProperties>
229            <Property name="GeoTypesInfo" function="ArrayList" />
230          </RequiredProperties>
231        </ArraySelectionDomain>
232        <Documentation>
233           This property lists all the geometric types to select.
234        </Documentation>
235      </StringVectorProperty>
236      <IntVectorProperty command="SetInsideOut" label="Extract Complementary" default_values="0" name="InsideOut" number_of_elements="1">
237        <BooleanDomain name="bool"/>
238        <Documentation>Choose which part of the dataset to keep regarding the selected geometric types. When 0 (default) the direct selection
239        is kept. When 1 the complementary part is selected.
240        </Documentation>
241       </IntVectorProperty>
242     </SourceProxy>
243
244     <SourceProxy name="ELNOMesh" class="vtkELNOMeshFilter" label="ELNO field To Surface">
245       <Documentation
246           long_help="Create a Mesh with ELNO values mapped at each vertex."
247           short_help="Create a Mesh with ELNO values mapped at each vertex.">
248         "Create a Mesh with ELNO values mapped at each vertex."
249       </Documentation>
250
251       <InputProperty name="Input" command="SetInputConnection">
252         <ProxyGroupDomain name="groups">
253           <Group name="sources" />
254           <Group name="filters" />
255         </ProxyGroupDomain>
256         <DataTypeDomain name="input_type">
257           <DataType value="vtkUnstructuredGrid" />
258         </DataTypeDomain>
259         <InputArrayDomain name="input_array" attribute_type="cell" />
260       </InputProperty>
261
262       <DoubleVectorProperty animateable="1"
263                             command="SetShrinkFactor"
264                             default_values="0.9999"
265                             name="ShrinkFactor"
266                             number_of_elements="1">
267         <DoubleRangeDomain max="1" min="0" name="range" />
268         <Documentation>The value of this property determines how far the points
269         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>
270       </DoubleVectorProperty>
271       <Hints>
272         <ShowInMenu category="Mechanics" />
273       </Hints>
274     </SourceProxy>
275
276     <SourceProxy name="ELNOSurface" class="vtkELNOSurfaceFilter" label="ELNO field To Surface (skin only)">
277       <Documentation
278         long_help="Extract the surface of a dataset with ELNO values."
279         short_help="Extract the surface of a dataset with ELNO values.">
280         "Extract the surface of a dataset with ELNO values."
281       </Documentation>
282       <OutputPort name="ELNO Surface" index="0" />
283       <InputProperty name="Input" command="SetInputConnection">
284         <ProxyGroupDomain name="groups">
285           <Group name="sources" />
286           <Group name="filters" />
287         </ProxyGroupDomain>
288         <DataTypeDomain name="input_type">
289           <DataType value="vtkUnstructuredGrid" />
290         </DataTypeDomain>
291         <InputArrayDomain name="input_array" attribute_type="cell" />
292       </InputProperty>
293
294       <!-- Source Array -->
295       <StringVectorProperty
296         name="SelectSourceArray"
297         command="SetInputArrayToProcess"
298         number_of_elements="5"
299         element_types="0 0 0 0 2"
300         animateable="0">
301         <Documentation>
302           Specifies the offset array from which we generate ELNO points.
303         </Documentation>
304
305         <ArrayListDomain
306           name="array_list"
307           key_locations="MEDUtilities"
308           key_names="ELNO"
309           key_strategies="need_key">
310           <RequiredProperties>
311             <Property name="Input" function="Input" />
312           </RequiredProperties>
313         </ArrayListDomain>
314       </StringVectorProperty>
315       <Hints>
316         <Property name="SelectSourceArray" show="0"/>
317         <ShowInMenu category="Mechanics" />
318       </Hints>
319     </SourceProxy>
320
321     <SourceProxy name="GaussPoints" class="vtkMEDQuadraturePointsGenerator" label="ELGA field To Point Gaussian">
322       <Documentation
323         long_help="Create a point set with data at Gauss points."
324         short_help="Create a point set with data at Gauss points.">
325         "Create a point set with data at quadrature points."
326       </Documentation>
327
328       <OutputPort
329         name="Gauss Points"
330         index="0" />
331
332       <InputProperty
333         name="Input"
334         command="SetInputConnection">
335         <ProxyGroupDomain
336           name="groups">
337           <Group
338             name="sources" />
339           <Group
340             name="filters" />
341         </ProxyGroupDomain>
342         <DataTypeDomain
343           name="input_type">
344           <DataType
345             value="vtkUnstructuredGrid" />
346         </DataTypeDomain>
347         <InputArrayDomain
348           name="input_array"
349           attribute_type="cell" />
350       </InputProperty>
351
352       <!-- Source Array -->
353       <StringVectorProperty
354         name="SelectSourceArray"
355         command="SetInputArrayToProcess"
356         number_of_elements="5"
357         element_types="0 0 0 0 2"
358         animateable="0">
359         <Documentation>
360           Specifies the offset array from which we generate Gauss points.
361         </Documentation>
362
363         <ArrayListDomain
364           name="array_list"
365           key_locations="MEDUtilities"
366           key_names="ELGA"
367           key_strategies="need_key">
368           <RequiredProperties>
369             <Property
370               name="Input"
371               function="Input" />
372           </RequiredProperties>
373         </ArrayListDomain>
374       </StringVectorProperty>
375
376       <Hints>
377         <Property name="SelectSourceArray" show="1"/>
378         <ShowInMenu category="Mechanics" />
379       </Hints>
380
381     </SourceProxy>
382
383     <SourceProxy name="ELNOPoints" class="vtkELNOFilter" label="ELNO field To Point Gaussian">
384       <Documentation
385         long_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center."
386         short_help="Create a point set with data at ELNO points. Cells are shrinked by a given factor towards the cell center.">
387         "Create a point set with data at quadrature points."
388       </Documentation>
389
390       <OutputPort name="ELNO Points" index="0" />
391
392       <InputProperty name="Input" command="SetInputConnection">
393         <ProxyGroupDomain name="groups">
394           <Group name="sources" />
395           <Group name="filters" />
396         </ProxyGroupDomain>
397         <DataTypeDomain
398           name="input_type">
399           <DataType value="vtkUnstructuredGrid" />
400         </DataTypeDomain>
401         <InputArrayDomain name="input_array" attribute_type="cell" />
402       </InputProperty>
403
404       <!-- Source Array -->
405       <StringVectorProperty
406         name="SelectSourceArray"
407         command="SetInputArrayToProcess"
408         number_of_elements="5"
409         element_types="0 0 0 0 2"
410         animateable="0">
411         <Documentation>
412           Specifies the offset array from which we generate ELNO points.
413         </Documentation>
414
415         <ArrayListDomain
416           name="array_list"
417           key_locations="MEDUtilities"
418           key_names="ELNO"
419           key_strategies="need_key"
420           input_domain_name="input_array">
421           <RequiredProperties>
422             <Property name="Input" function="Input" />
423           </RequiredProperties>
424         </ArrayListDomain>
425       </StringVectorProperty>
426
427       <DoubleVectorProperty
428         name="ShrinkFactor"
429         command="SetShrinkFactor"
430         label="Shrink Factor"
431         number_of_elements="1"
432         default_values="0.5">
433         <DoubleRangeDomain name="range" min="0" max="1" />
434       </DoubleVectorProperty>
435
436       <Hints>
437         <Property name="SelectSourceArray" show="0"/>
438         <ShowInMenu category="Mechanics" />
439       </Hints>
440     </SourceProxy>
441
442     <SourceProxy
443       name="GenerateStructuralElement"
444       class="vtkGenerateStructElement"
445       label="Generate Structural Element">
446
447      <InputProperty
448         name="Input"
449         command="SetInputConnection">
450            <ProxyGroupDomain name="groups">
451              <Group name="sources"/>
452              <Group name="filters"/>
453            </ProxyGroupDomain>
454            <DataTypeDomain name="input_type">
455              <DataType value="vtkUnstructuredGrid"/>
456            </DataTypeDomain>
457            <Documentation>
458              This property specifies the input to the Generate Structural Element filter.
459            </Documentation>
460      </InputProperty>
461
462     </SourceProxy>
463   </ProxyGroup>
464 </ServerManagerConfiguration>