parallel_diy_filters.xml 9.98 KB
Newer Older
1
<ServerManagerConfiguration>
Yohann Bearzi's avatar
Yohann Bearzi committed
2
  <!-- ******************************************************************** -->
3
  <ProxyGroup name="filters">
Yohann Bearzi's avatar
Yohann Bearzi committed
4
    <!-- ================================================================== -->
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
    <SourceProxy class="vtkPVProbeLineFilter"
                 base_proxygroup="internal_filters"
                 base_proxyname="ProbeLineGenericProxy"
                 label="Plot Over Line"
                 name="ProbeLine">
      <Documentation>The Plot Over Line filter samples the dataset attributes of the
      input dataset at the points of a given line. The values of the point-centered
      variables along that line will be displayed in an XY Plot. This filter uses
      interpolation to determine the values at the selected point, whether or not it
      lies at an input point. This filter operates on any type of data and produces a
      polygonal output (a polyline). One can use different sampling patterns with this
      filter. "Sample At Cell Boundaries" gives the most accurate plots, "Sample At
      Segment Centers" provides one sample per probed cell, and "Sample Uniformally"
      samples uniformally along the input line.</Documentation>
      <DoubleVectorProperty animateable="1"
                            command="SetPoint1"
                            default_values="0.0 0.0 0.0"
                            name="Point1"
                            number_of_elements="3">
        <BoundsDomain default_mode="min"
                      mode="normal"
                      name="range">
          <RequiredProperties>
            <Property function="Input"
                      name="Input" />
          </RequiredProperties>
        </BoundsDomain>
        <Documentation>This property controls the coordinates of the first
        endpoint of the line.</Documentation>
      </DoubleVectorProperty>
      <DoubleVectorProperty animateable="1"
                            command="SetPoint2"
                            default_values="0.0 0.0 0.0"
                            name="Point2"
                            number_of_elements="3">
        <BoundsDomain default_mode="max"
                      mode="normal"
                      name="range">
          <RequiredProperties>
            <Property function="Input"
                      name="Input" />
          </RequiredProperties>
        </BoundsDomain>
        <Documentation>This property controls the coordinates of the second
        endpoint of the line.</Documentation>
      </DoubleVectorProperty>
      <PropertyGroup label="Line Parameters" panel_widget="InteractiveLine">
          <Property function="Point1WorldPosition" name="Point1" />
          <Property function="Point2WorldPosition" name="Point2" />
      </PropertyGroup>
Yohann Bearzi's avatar
Yohann Bearzi committed
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
      <!-- end of ProbeLine -->
    </SourceProxy>

    <!-- ================================================================== -->
    <SourceProxy class="vtkPVProbeLineFilter"
                 label="Resample To Line"
                 name="ResampleToLine">
    <Documentation>Resamples the input data set to a line.</Documentation>
      <InputProperty command="SetInputConnection"
                     name="Input">
        <ProxyGroupDomain name="groups">
          <Group name="sources" />
          <Group name="filters" />
        </ProxyGroupDomain>
        <DataTypeDomain name="input_type">
          <DataType value="vtkDataSet" />
          <DataType value="vtkCompositeDataSet" />
72
          <DataType value="vtkHyperTreeGrid" />
Yohann Bearzi's avatar
Yohann Bearzi committed
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
        </DataTypeDomain>
        <InputArrayDomain name="input_array" />
        <Documentation>This property specifies which data set to resample.</Documentation>
      </InputProperty>
      <IntVectorProperty command="SetSamplingPattern"
                         name="SamplingPattern"
                         default_values="2"
                         number_of_elements="1"
                         panel_visibility="never">
        <EnumerationDomain name="enum">
          <Entry text="Sample At Cell Boundaries"
                 value="0" />
          <Entry text="Sample At Segment Centers"
                 value="1" />
          <Entry text="Sample Uniformly"
                 value="2" />
        </EnumerationDomain>
      </IntVectorProperty>
      <IntVectorProperty command="SetLineResolution"
                         name="Resolution"
                         default_values="40"
                         number_of_elements="1">
        <Hints>
          <PropertyWidgetDecorator type="GenericDecorator"
                                   mode="visibility"
                                   property="SamplingPattern"
                                   value="2" />
          <!-- show this widget when SamplingPattern==2 -->
        </Hints>
        <Documentation>This property sets the line resolution.</Documentation>
      </IntVectorProperty>
      <IntVectorProperty command="SetPassPartialArrays"
                         default_values="1"
                         name="PassPartialArrays"
                         number_of_elements="1"
                         panel_visibility="advanced">
        <Documentation>When dealing with composite datasets, partial arrays are
        common i.e. data-arrays that are not available in all of the blocks. By
        default, this filter only passes those point and cell data-arrays that
        are available in all the blocks i.e. partial arrays are removed. When
        PassPartialArrays is turned on, this behavior is changed to take a
        union of all arrays present thus partial arrays are passed as well.
        However, for composite dataset input, this filter still produces a
        non-composite output. For all those locations in a block of where a
        particular data array is missing, this filter uses vtkMath::Nan() for
        double and float arrays, and 0 for all other types of arrays i.e int,
        char etc.</Documentation>
        <BooleanDomain name="bool" />
      </IntVectorProperty>
      <IntVectorProperty command="SetPassCellArrays"
                         default_values="0"
                         name="PassCellArrays"
                         number_of_elements="1"
                         panel_visibility="advanced">
        <Documentation>
        When set the input cell data arrays are shallow copied to the output.
        </Documentation>
        <BooleanDomain name="bool" />
      </IntVectorProperty>
      <IntVectorProperty command="SetPassPointArrays"
                         default_values="0"
                         name="PassPointArrays"
                         number_of_elements="1"
                         panel_visibility="advanced">
        <Documentation>
        When set the input point data arrays are shallow copied to the output.
        </Documentation>
        <BooleanDomain name="bool" />
      </IntVectorProperty>
      <IntVectorProperty command="SetPassFieldArrays"
                         default_values="1"
                         name="PassFieldArrays"
                         number_of_elements="1"
                         panel_visibility="advanced">
        <Documentation>
        Set whether to pass the field-data arrays from the Input i.e. the input
        providing the geometry to the output.
        </Documentation>
        <BooleanDomain name="bool" />
      </IntVectorProperty>
      <IntVectorProperty command="SetComputeTolerance"
                         default_values="1"
                         name="ComputeTolerance"
                         number_of_elements="1"
                         panel_visibility="advanced">
        <Documentation>
        Set whether to compute the tolerance or to use a user provided
        value.
        </Documentation>
        <BooleanDomain name="bool" />
      </IntVectorProperty>
      <DoubleVectorProperty command="SetTolerance"
                            default_values="2.2204460492503131e-16"
                            name="Tolerance"
                            number_of_elements="1"
                            panel_visibility="advanced">
        <DoubleRangeDomain min="2.2204460492503131e-16"
                           name="range" />
        <Hints>
          <PropertyWidgetDecorator type="ShowWidgetDecorator">
            <Property name="ComputeTolerance" function="boolean_invert" />
          </PropertyWidgetDecorator>
        </Hints>
        <Documentation>Set the tolerance to use for
        vtkDataSet::FindCell</Documentation>
      </DoubleVectorProperty>

      <DoubleVectorProperty animateable="1"
                            command="SetPoint1"
                            default_values="0.0 0.0 0.0"
                            name="Point1"
                            number_of_elements="3">
        <BoundsDomain default_mode="min"
                      mode="normal"
                      name="range">
          <RequiredProperties>
            <Property function="Input"
                      name="Input" />
          </RequiredProperties>
        </BoundsDomain>
        <Documentation>This property controls the coordinates of the first
        endpoint of the line.</Documentation>
      </DoubleVectorProperty>
      <DoubleVectorProperty animateable="1"
                            command="SetPoint2"
                            default_values="0.0 0.0 0.0"
                            name="Point2"
                            number_of_elements="3">
        <BoundsDomain default_mode="max"
                      mode="normal"
                      name="range">
          <RequiredProperties>
            <Property function="Input"
                      name="Input" />
          </RequiredProperties>
        </BoundsDomain>
        <Documentation>This property controls the coordinates of the second
        endpoint of the line.</Documentation>
      </DoubleVectorProperty>
      <PropertyGroup label="Line Parameters" panel_widget="InteractiveLine">
          <Property function="Point1WorldPosition" name="Point1" />
          <Property function="Point2WorldPosition" name="Point2" />
      </PropertyGroup>
      <!-- end of ResampleToLineLine -->
217
218
219
    </SourceProxy>
  </ProxyGroup>
</ServerManagerConfiguration>