Salome HOME
Porting to ParaView 5.8
[modules/paravis.git] / src / Plugins / DifferenceTimesteps / plugin / filters.xml
1 <ServerManagerConfiguration>
2   <ProxyGroup name="filters">
3     <SourceProxy name="DifferenceTimesteps"
4                  class="vtkDifferenceTimestepsFilter"
5                  label="Difference Timesteps">
6       <Documentation
7         long_help="The filter computes difference between two selected timesteps from multiblock data set."
8         short_help="Computes difference between two selected timesteps.">
9       </Documentation>
10
11       <InputProperty name="Input"
12                      command="SetInputConnection">
13         <ProxyGroupDomain name="groups">
14           <Group name="sources" />
15           <Group name="filters" />
16         </ProxyGroupDomain>
17         <DataTypeDomain name="input_type">
18           <DataType value="vtkDataObject" />
19         </DataTypeDomain>
20         <InputArrayDomain name="input_array"
21                           attribute_type="any">
22         </InputArrayDomain>
23         <Documentation>
24           This property specifies the input to DifferenceTimesteps filter.
25         </Documentation>
26       </InputProperty>
27
28       <StringVectorProperty name="SelectInputScalars"
29                             label="Array to process"
30                             command="SetInputArrayToProcess"
31                             number_of_elements="5"
32                             element_types="0 0 0 0 2"
33                             animateable="0">
34         <ArrayListDomain name="array_list"
35                          attribute_type="Scalars"
36                          input_domain_name="input_array">
37           <RequiredProperties>
38             <Property name="Input"
39                       function="Input" />
40           </RequiredProperties>
41         </ArrayListDomain>
42         <Documentation>
43           This property indicates the scalar array name to compute difference.
44         </Documentation>
45       </StringVectorProperty>
46
47       <DoubleVectorProperty
48         name="TimestepValues"
49         repeatable="1"
50         information_only="1">
51         <TimeStepsInformationHelper/>
52         <Documentation>
53           Available timestep values.
54         </Documentation>
55       </DoubleVectorProperty>
56
57       <IntVectorProperty
58          name="RangeIndicesTimeStepsInfo"
59          command="GetRangeIndicesTimeSteps"
60          number_of_elements="2"
61          default_values="0 0"
62          information_only="1">
63         <SimpleIntInformationHelper/>
64       </IntVectorProperty>
65
66       <IntVectorProperty
67         name="FirstTimeStepIndex"
68         label="First time step"
69         command="SetFirstTimeStepIndex"
70         number_of_elements="1"
71         default_values="0"
72         animateable="0"
73         information_property="RangeIndicesTimeStepsInfo">
74         <IntRangeDomain name="range" default_mode="min">
75           <RequiredProperties>
76             <Property name="RangeIndicesTimeStepsInfo"
77                       function="Range" />
78           </RequiredProperties>
79         </IntRangeDomain>
80         <Documentation>
81           Define a first time step.
82         </Documentation>
83       </IntVectorProperty>
84
85       <IntVectorProperty
86         name="SecondTimeStepIndex"
87         label="Second time step"
88         command="SetSecondTimeStepIndex"
89         number_of_elements="1"
90         default_values="0"
91         animateable="0"
92         information_property="RangeIndicesTimeStepsInfo">
93         <IntRangeDomain name="range" default_mode="max">
94           <RequiredProperties>
95             <Property name="RangeIndicesTimeStepsInfo"
96                       function="Range" />
97           </RequiredProperties>
98         </IntRangeDomain>
99         <Documentation>
100           Define a second time step.
101         </Documentation>
102       </IntVectorProperty>
103
104       <StringVectorProperty
105         name="ArrayNamePrefix"
106         label="Name prefix array"
107         command="SetArrayNamePrefix"
108         number_of_elements="1"
109         animateable="0"
110         default_values="diff_"
111         panel_visibility="advanced" >
112         <Documentation>
113           Prefix to a new array name.
114         </Documentation>
115       </StringVectorProperty>
116
117       <PropertyGroup label="Timing">
118         <Property name="FirstTimeStepIndex" />
119         <Property name="SecondTimeStepIndex" />
120       </PropertyGroup>
121       <PropertyGroup label="Additional attributes">
122         <Property name="ArrayNamePrefix" />
123       </PropertyGroup>
124       <Hints>
125         <Visibility replace_input="0" />
126         <ShowInMenu category="Temporal" icon=":/DifferenceTimestepsIcons/resources/timesteps-icon.png" />
127       </Hints>
128
129     </SourceProxy>
130   </ProxyGroup>
131 </ServerManagerConfiguration>