]> SALOME platform Git repositories - tools/paravisaddons_common.git/blob - src/ElectromagnetismVecteur/plugin/filters.xml
Salome HOME
Issues/Warnings detected by Paraview 5.9 in some plugins
[tools/paravisaddons_common.git] / src / ElectromagnetismVecteur / plugin / filters.xml
1 <ServerManagerConfiguration>
2   <ProxyGroup name="filters">
3     <SourceProxy class="vtkElectromagnetismVecteur"
4                  name="Vecteur">
5       <InputProperty name="Input"
6                      command="SetInputConnection">
7         <ProxyGroupDomain name="groups">
8           <Group name="sources"/>
9           <Group name="filters"/>
10         </ProxyGroupDomain>
11         <DataTypeDomain name="input_type">
12           <DataType value="vtkUnstructuredGrid"/>
13         </DataTypeDomain>
14
15         <InputArrayDomain name="vector_array"
16                           number_of_components="3"
17                           optional="1" />
18
19         <Documentation short_help= "Affiche les vecteurs sur champ aux cellules."
20                        long_help = "Affiche les vecteurs sur champ aux cellules.">
21         </Documentation>
22       </InputProperty>
23       <DoubleVectorProperty command="SetScaleFactor"
24                             default_values="1.0"
25                             name="ScaleFactor"
26                             number_of_elements="1"
27                             animateable="1"
28                             panel_visibility="default">
29         <BoundsDomain mode="scaled_extent" name="bounds" scale_factor="0.1">
30           <RequiredProperties>
31             <Property function="Input" name="Input" />
32           </RequiredProperties>
33         </BoundsDomain>
34         <ArrayRangeDomain name="vector_range">
35           <RequiredProperties>
36             <Property function="Input" name="Input" />
37             <Property function="ArraySelection" name="OrientationArray" />
38           </RequiredProperties>
39         </ArrayRangeDomain>
40         <Documentation>This property specifies the scale factor applied to the length of arrow.
41         </Documentation>
42       </DoubleVectorProperty>
43
44       <IntVectorProperty command="SetGlyphMode"
45                          default_values="0"
46                          name="GlyphMode"
47                          number_of_elements="1"
48                          panel_visibility="default">
49         <EnumerationDomain name="enum">
50           <Entry text="All Points" value="0"/>
51           <Entry text="Every Nth Point" value="1"/>
52           <Entry text="Uniform Spatial Distribution (Bounds Based)" value="2"/>
53           <Entry text="Uniform Spatial Distribution (Surface Sampling)" value="3"/>
54           <Entry text="Uniform Spatial Distribution (Volume Sampling)" value="4"/>
55         </EnumerationDomain>
56         <Documentation>
57 This property indicates the mode that will be used to generate
58 glyphs from the dataset.
59         </Documentation>
60       </IntVectorProperty>
61       <IntVectorProperty command="SetMaximumNumberOfSamplePoints"
62                         number_of_elements="1"
63                         default_values="5000"
64                         name="MaximumNumberOfSamplePoints">
65         <IntRangeDomain min="1" name="range" />
66         <Documentation>
67 This property specifies the maximum number of sample points to use
68 when sampling the space when Uniform Spatial Distribution is used.
69         </Documentation>
70         <Hints>
71           <PropertyWidgetDecorator type="CompositeDecorator">
72             <Expression type="or">
73               <PropertyWidgetDecorator type="GenericDecorator" mode="visibility" property="GlyphMode" value="2" inverse="0" />
74               <PropertyWidgetDecorator type="GenericDecorator" mode="visibility" property="GlyphMode" value="3" inverse="0" />
75               <PropertyWidgetDecorator type="GenericDecorator" mode="visibility" property="GlyphMode" value="4" inverse="0" />
76             </Expression>
77           </PropertyWidgetDecorator>
78           <!-- show this widget when GlyphMode==2||3||4 -->
79         </Hints>
80       </IntVectorProperty>
81       <IntVectorProperty command="SetSeed"
82                         number_of_elements="1"
83                         default_values="10339"
84                         name="Seed">
85         <IntRangeDomain min="1" name="range"/>
86         <Documentation>
87 This property specifies the seed that will be used for generating a
88 uniform distribution of glyph points when a Uniform Spatial
89 Distribution is used.
90         </Documentation>
91         <Hints>
92           <PropertyWidgetDecorator type="CompositeDecorator">
93             <Expression type="or">
94               <PropertyWidgetDecorator type="GenericDecorator" mode="visibility" property="GlyphMode" value="2" inverse="0" />
95               <PropertyWidgetDecorator type="GenericDecorator" mode="visibility" property="GlyphMode" value="3" inverse="0" />
96               <PropertyWidgetDecorator type="GenericDecorator" mode="visibility" property="GlyphMode" value="4" inverse="0" />
97             </Expression>
98           </PropertyWidgetDecorator>
99           <!-- show this widget when GlyphMode==2||3||4 -->
100         </Hints>
101       </IntVectorProperty>
102
103       <IntVectorProperty command="SetStride"
104                          number_of_elements="1"
105                          default_values="1"
106                          name="Stride">
107         <IntRangeDomain min="1" name="range"/>
108         <Documentation>
109 This property specifies the stride that will be used when glyphing by
110 Every Nth Point.
111         </Documentation>
112         <Hints>
113           <PropertyWidgetDecorator type="GenericDecorator"
114                                    mode="visibility"
115                                    property="GlyphMode"
116                                    value="1" />
117           <!-- show this widget when GlyphMode==1 -->
118         </Hints>
119       </IntVectorProperty>
120
121       <StringVectorProperty command="SetInputArrayToProcess"
122                             default_values="1"
123                             element_types="0 0 0 0 2"
124                             name="OrientationArray"
125                             number_of_elements="5">
126         <!-- default value=1 so normals go to the right place -->
127         <ArrayListDomain attribute_type="Vectors"
128                          input_domain_name="vector_array"
129                          name="array_list">
130           <RequiredProperties>
131             <Property function="Input"
132                       name="Input" />
133           </RequiredProperties>
134         </ArrayListDomain>
135         <Documentation>
136 Select the input array to use for orienting the glyphs.
137         </Documentation>
138       </StringVectorProperty>
139
140       <StringVectorProperty
141         name="ColorArrayName"
142         command="GetColorArrayName"
143         number_of_elements="1"
144         animateable="0"
145         information_only="1">
146         <Documentation>
147           This readonly property gives the name of array used to color the default active array for auto selection for Color in render view.
148         </Documentation>
149       </StringVectorProperty>
150
151       <Hints>
152         <RepresentationType view="RenderView" type="Wireframe"/>
153         <ShowInMenu category="Electromagnetism" />
154       </Hints>
155     </SourceProxy>
156   </ProxyGroup>
157 </ServerManagerConfiguration>