Commit 500efd07 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Make CORE build proxy definitons valid.

Making TestValidateProxies pass for CORE + Python + MPI build. Moving
proxy definitions around as needed.
parent a1ead82d
......@@ -323,7 +323,6 @@ if (TARGET VTK::ParallelMomentInvariants)
Resources/ParallelMomentInvariants.xml)
endif ()
if (TARGET VTK::PythonInterpreter)
_vtk_module_set_module_property(ParaView::RemotingApplication APPEND
PROPERTY "forward_link"
......@@ -335,5 +334,17 @@ if (TARGET VTK::RenderingFreeType)
Resources/sources_renderingfreetype.xml)
endif ()
if (TARGET VTK::InteractionWidgets)
list(APPEND xml_files
Resources/proxies_interactionwidgets.xml)
endif()
if (TARGET VTK::FiltersParallel AND
TARGET VTK::ImagingFourier AND
TARGET ParaView::VTKExtensionsExtraction)
list(APPEND xml_files
Resources/filters_selectionfftovertime.xml)
endif()
paraview_add_server_manager_xmls(
XMLS ${xml_files})
<ServerManagerConfiguration>
<ProxyGroup name="cell_locators">
<Proxy class="vtkModifiedBSPTree"
name="ModifiedBSPTree"
label="BSP Tree Cell Locator"/>
</ProxyGroup>
<ProxyGroup name="filters">
<!-- ==================================================================== -->
<SourceProxy class="vtkEvenlySpacedStreamlines2D"
......
......@@ -770,6 +770,8 @@
</SourceProxy>
<!-- ==================================================================== -->
<!-- this class is not compiled in VTK; need to check if it is indeed
relevant at all
<SourceProxy class="vtkNonOverlappingAMRLevelIdScalars"
label="Level Scalars(Non-Overlapping AMR)"
name="NonOverlappingLevelIdScalars">
......@@ -789,8 +791,8 @@
<Documentation>This property specifies the input to the Level Scalars
filter.</Documentation>
</InputProperty>
<!-- End GroupIdScalars -->
</SourceProxy>
-->
<!-- ==================================================================== -->
<SourceProxy class="vtkOverlappingAMRLevelIdScalars"
......
......@@ -1514,5 +1514,172 @@
<!-- End vtkPUnstructuredGridGhostCellsGenerator -->
</SourceProxy>
<!-- ==================================================================== -->
<SourceProxy class="vtkPExtractExodusGlobalTemporalVariables"
label="Plot Global Variables Over Time"
name="ExtractFieldDataOverTime">
<Documentation long_help="Extracts and plots data in field data over time."
short_help="Extracts and plots data in field data over time.">
This filter extracts the variables that reside in a
dataset's field data and are defined for all timesteps. Such variables
are generated by certain readers, like the Exodus reader.
</Documentation>
<InputProperty command="SetInputConnection"
name="Input">
<ProxyGroupDomain name="groups">
<Group name="sources" />
<Group name="filters" />
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkDataSet" />
</DataTypeDomain>
<Documentation>The input from which the selection is
extracted.</Documentation>
</InputProperty>
<Hints>
<!-- View can be used to specify the preferred view for the proxy -->
<View type="XYChartView" />
<Plotable />
<InitializationHelper class="vtkSMExtractSelectionProxyInitializationHelper" />
</Hints>
<!-- End ExtractFieldDatasOverTime -->
</SourceProxy>
<!-- ==================================================================== -->
<SourceProxy class="vtkPExtractSelectedArraysOverTime"
label="Plot Selection Over Time"
name="ExtractSelectionOverTime">
<Documentation long_help="Extracts selection over time and then plots it."
short_help="Extracts selection over time and then plots it.">
This filter extracts the selection over time, i.e. cell
and/or point variables at a cells/point selected are
extracted over time The output multiblock consists of 1D
rectilinear grids where the x coordinate corresponds to
time (the same array is also copied to a point array named
Time or TimeData (if Time exists in the input)). If
selection input is a Location based selection then the
point values are interpolated from the nearby cells, ie
those of the cell the location lies in.</Documentation>
<InputProperty command="SetInputConnection"
name="Input"
panel_visibility="default">
<ProxyGroupDomain name="groups">
<Group name="sources" />
<Group name="filters" />
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkDataSet" />
<DataType value="vtkTable" />
<DataType value="vtkCompositeDataSet" />
</DataTypeDomain>
<Documentation>The input from which the selection is
extracted.</Documentation>
</InputProperty>
<InputProperty command="SetSelectionConnection"
name="Selection"
panel_visibility="default">
<ProxyGroupDomain name="groups">
<Group name="sources" />
<Group name="filters" />
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkSelection" />
</DataTypeDomain>
<Documentation>The input that provides the selection
object.</Documentation>
<Hints>
<!-- This tag alerts the auto-generated panels and input selection
that this input is a selection. It should use the special
selection GUI. -->
<SelectionInput />
</Hints>
</InputProperty>
<IntVectorProperty command="SetReportStatisticsOnly"
default_values="1"
name="Only Report Selection Statistics"
number_of_elements="1">
<BooleanDomain name="bool" />
<Documentation>If this property is set to 1, the min, max,
inter-quartile ranges, and (for numeric arrays) mean and standard
deviation of all the selected points or cells within each time step
are reported -- instead of breaking each selected point's or cell's
attributes out into separate time history tables.</Documentation>
</IntVectorProperty>
<SubProxy command="SetSelectionExtractor">
<Proxy name="SetSelectionExtractor" class="vtkPVExtractSelection" />
</SubProxy>
<Hints>
<!-- View can be used to specify the preferred view for the proxy -->
<PipelineIcon name="XYChartView" />
<View type="QuartileChartView" />
<WarnOnCreate title="Potentially slow operation">
**Plot Selection Over Time** filter needs to process all timesteps
available in your dataset and can potentially take a long time to complete.
Do you want to continue?
</WarnOnCreate>
<InitializationHelper class="vtkSMExtractSelectionProxyInitializationHelper" />
</Hints>
<!-- End of ExtractSelectionOverTime -->
</SourceProxy>
<!-- ==================================================================== -->
<SourceProxy class="vtkPExtractDataArraysOverTime"
label="Plot Data Over Time"
name="PlotDataOverTime">
<InputProperty command="SetInputConnection"
name="Input"
panel_visibility="default">
<ProxyGroupDomain name="groups">
<Group name="sources" />
<Group name="filters" />
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkDataSet" />
<DataType value="vtkTable" />
<DataType value="vtkCompositeDataSet" />
</DataTypeDomain>
<Documentation>The input from which the selection is
extracted.</Documentation>
</InputProperty>
<IntVectorProperty command="SetFieldAssociation"
default_values="0"
name="FieldAssociation"
number_of_elements="1">
<Documentation>Select the attribute data to pass.</Documentation>
<EnumerationDomain name="enum">
<Entry text="Points" value="0" />
<Entry text="Cells" value="1" />
<Entry text="Vertices" value="4" />
<Entry text="Edges" value="5" />
<Entry text="Rows" value="6" />
</EnumerationDomain>
</IntVectorProperty>
<IntVectorProperty command="SetReportStatisticsOnly"
default_values="1"
name="Only Report Selection Statistics"
number_of_elements="1">
<BooleanDomain name="bool" />
<Documentation>If this property is set to 1, the min, max,
inter-quartile ranges, and (for numeric arrays) mean and standard
deviation of all the selected points or cells within each time step
are reported -- instead of breaking each selected point's or cell's
attributes out into separate time history tables.</Documentation>
</IntVectorProperty>
<Hints>
<!-- View can be used to specify the preferred view for the proxy -->
<PipelineIcon name="XYChartView" />
<View type="QuartileChartView" />
<WarnOnCreate title="Potentially slow operation">
**Plot Data Over Time** filter needs to process all timesteps
available in your dataset and can potentially take a long time to complete.
Do you want to continue?
</WarnOnCreate>
</Hints>
<!-- End of PlotDataOverTime -->
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
......@@ -22,152 +22,5 @@
filter.</Documentation>
</InputProperty>
</SourceProxy>
<!-- ================================================================== -->
<CompoundSourceProxy label="FFT Of Selection Over Time"
name="FFTSelectionOverTime">
<Documentation long_help="Extracts selection over time and plots the FFT"
short_help="Extracts selection over time and plots the FFT">
Extracts the data of a selection (e.g. points or cells)
over time, takes the FFT of them, and plots
them.</Documentation>
<Proxy compound_name="PlotSelectionOverTime1"
group="filters"
id="734"
servers="1"
type="ExtractSelectionOverTime">
<Property id="734.Input"
name="Input"
number_of_elements="1">
<Domain id="734.Input.groups"
name="groups">
<Group value="sources" />
<Group value="filters" />
</Domain>
<Domain id="734.Input.input_type"
name="input_type">
<DataType value="vtkDataSet" />
<DataType value="vtkCompositeDataSet" />
</Domain>
</Property>
<Property id="734.Selection"
name="Selection"
number_of_elements="1">
<Proxy output_port="0"
value="742" />
<Domain id="734.Selection.groups"
name="groups">
<Group value="sources" />
<Group value="filters" />
</Domain>
<Domain id="734.Selection.input_type"
name="input_type">
<DataType value="vtkSelection" />
</Domain>
</Property>
<Property id="734.SetReportStatisticsOnly"
name="Only Report Selection Statistics"
number_of_elements="1">
<Element index="0"
value="0" />
<Domain id="734.SetReportStatisticsOnly.bool"
name="bool" />
</Property>
</Proxy>
<Proxy compound_name="TableFFT1"
group="filters"
id="812"
servers="1"
type="TableFFT">
<Property id="812.Input"
name="Input"
number_of_elements="1">
<Proxy output_port="0"
value="734" />
<Domain id="812.Input.groups"
name="groups">
<Group value="sources" />
<Group value="filters" />
</Domain>
<Domain id="812.Input.input_array"
name="input_array">
<InputArray attribute_type="row"
number_of_components="1" />
</Domain>
<Domain id="812.Input.input_type"
name="input_type">
<DataType value="vtkTable" />
</Domain>
</Property>
</Proxy>
<Proxy compound_name="auto_742"
group="sources"
id="742"
servers="1"
type="CompositeDataIDSelectionSource">
<Property id="742.ContainingCells"
name="ContainingCells"
number_of_elements="1">
<Element index="0"
value="0" />
<Domain id="742.ContainingCells.bool"
name="bool" />
</Property>
<Property id="742.FieldType"
name="FieldType"
number_of_elements="1">
<Element index="0"
value="0" />
<Domain id="742.FieldType.enum"
name="enum">
<Entry text="CELL"
value="0" />
<Entry text="POINT"
value="1" />
<Entry text="FIELD"
value="2" />
<Entry text="VERTEX"
value="3" />
<Entry text="EDGE"
value="4" />
</Domain>
</Property>
<Property id="742.IDs"
name="IDs"
number_of_elements="3">
<Element index="0"
value="2" />
<Element index="1"
value="-1" />
<Element index="2"
value="3892" />
</Property>
<Property id="742.InsideOut"
name="InsideOut"
number_of_elements="1">
<Element index="0"
value="0" />
<Domain id="742.InsideOut.bool"
name="bool" />
</Property>
</Proxy>
<ExposedProperties>
<Property exposed_name="Input"
name="Input"
proxy_name="PlotSelectionOverTime1" />
<Property exposed_name="Selection"
name="Selection"
proxy_name="PlotSelectionOverTime1" />
</ExposedProperties>
<OutputPort name="Output"
port_index="0"
proxy="TableFFT1" />
<Hints>
<!-- View can be used to specify the preferred view for the proxy -->
<View type="XYChartView" />
<Plotable />
</Hints>
</CompoundSourceProxy>
<!-- FFTSelectionOverTime -->
</ProxyGroup>
</ServerManagerConfiguration>
<ServerManagerConfiguration>
<ProxyGroup name="filters">
<!-- ================================================================== -->
<CompoundSourceProxy label="FFT Of Selection Over Time"
name="FFTSelectionOverTime">
<Documentation long_help="Extracts selection over time and plots the FFT"
short_help="Extracts selection over time and plots the FFT">
Extracts the data of a selection (e.g. points or cells)
over time, takes the FFT of them, and plots
them.</Documentation>
<Proxy compound_name="PlotSelectionOverTime1"
group="filters"
id="734"
servers="1"
type="ExtractSelectionOverTime">
<Property id="734.Input"
name="Input"
number_of_elements="1">
<Domain id="734.Input.groups"
name="groups">
<Group value="sources" />
<Group value="filters" />
</Domain>
<Domain id="734.Input.input_type"
name="input_type">
<DataType value="vtkDataSet" />
<DataType value="vtkCompositeDataSet" />
</Domain>
</Property>
<Property id="734.Selection"
name="Selection"
number_of_elements="1">
<Proxy output_port="0"
value="742" />
<Domain id="734.Selection.groups"
name="groups">
<Group value="sources" />
<Group value="filters" />
</Domain>
<Domain id="734.Selection.input_type"
name="input_type">
<DataType value="vtkSelection" />
</Domain>
</Property>
<Property id="734.SetReportStatisticsOnly"
name="Only Report Selection Statistics"
number_of_elements="1">
<Element index="0"
value="0" />
<Domain id="734.SetReportStatisticsOnly.bool"
name="bool" />
</Property>
</Proxy>
<Proxy compound_name="TableFFT1"
group="filters"
id="812"
servers="1"
type="TableFFT">
<Property id="812.Input"
name="Input"
number_of_elements="1">
<Proxy output_port="0"
value="734" />
<Domain id="812.Input.groups"
name="groups">
<Group value="sources" />
<Group value="filters" />
</Domain>
<Domain id="812.Input.input_array"
name="input_array">
<InputArray attribute_type="row"
number_of_components="1" />
</Domain>
<Domain id="812.Input.input_type"
name="input_type">
<DataType value="vtkTable" />
</Domain>
</Property>
</Proxy>
<Proxy compound_name="auto_742"
group="sources"
id="742"
servers="1"
type="CompositeDataIDSelectionSource">
<Property id="742.ContainingCells"
name="ContainingCells"
number_of_elements="1">
<Element index="0"
value="0" />
<Domain id="742.ContainingCells.bool"
name="bool" />
</Property>
<Property id="742.FieldType"
name="FieldType"
number_of_elements="1">
<Element index="0"
value="0" />
<Domain id="742.FieldType.enum"
name="enum">
<Entry text="CELL"
value="0" />
<Entry text="POINT"
value="1" />
<Entry text="FIELD"
value="2" />
<Entry text="VERTEX"
value="3" />
<Entry text="EDGE"
value="4" />
</Domain>
</Property>
<Property id="742.IDs"
name="IDs"
number_of_elements="3">
<Element index="0"
value="2" />
<Element index="1"
value="-1" />
<Element index="2"
value="3892" />
</Property>
<Property id="742.InsideOut"
name="InsideOut"
number_of_elements="1">
<Element index="0"
value="0" />
<Domain id="742.InsideOut.bool"
name="bool" />
</Property>
</Proxy>
<ExposedProperties>
<Property exposed_name="Input"
name="Input"
proxy_name="PlotSelectionOverTime1" />
<Property exposed_name="Selection"
name="Selection"
proxy_name="PlotSelectionOverTime1" />
</ExposedProperties>
<OutputPort name="Output"
port_index="0"
proxy="TableFFT1" />
<Hints>
<!-- View can be used to specify the preferred view for the proxy -->
<View type="XYChartView" />
<Plotable />
</Hints>
<!-- FFTSelectionOverTime -->
</CompoundSourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
......@@ -40,8 +40,7 @@
<!-- End of DataWriterBase -->
</Proxy>
<!-- ================================================================= -->
<Proxy class="not-used"
name="ParallelWriterBase">
<Proxy name="ParallelWriterBase">
<Documentation>This defines the interface for the parallel writers.</Documentation>
<!-- Base for parallel writers -->
......
<ServerManagerConfiguration>
<!-- ==================================================================== -->
<ProxyGroup name="contour_line_interpolators">
<Proxy class="not-used"
name="ContourLineInterpolatorBase">
<Documentation>Base API definition for all contour line
interpolators.</Documentation>
<!-- End of "ContourLineInterpolatorBase" -->
</Proxy>
<Proxy base_proxygroup="contour_line_interpolators"
base_proxyname="ContourLineInterpolatorBase"
class="vtkBezierContourLineInterpolator"
name="BezierContourLineInterpolator"></Proxy>
<Proxy base_proxygroup="contour_line_interpolators"
base_proxyname="ContourLineInterpolatorBase"
class="vtkPolyDataContourLineInterpolator"
name="PolyDataContourLineInterpolator"></Proxy>
<Proxy base_proxygroup="contour_line_interpolators"
base_proxyname="ContourLineInterpolatorBase"
class="vtkPolygonalSurfaceContourLineInterpolator"
name="PolygonalSurfaceContourLineInterpolator"></Proxy>
</ProxyGroup>
<!-- ==================================================================== -->
<ProxyGroup name="point_placers">
<!-- ================================================================== -->
<Proxy name="PointPlacerBase">
<Documentation>Base API definition for all point placers.</Documentation>
<!-- End of "PointPlacerBase" -->
</Proxy>
<!-- ================================================================== -->
<Proxy base_proxygroup="point_placers"
base_proxyname="PointPlacerBase"
class="vtkFocalPlanePointPlacer"
name="FocalPlanePointPlacer"></Proxy>
<!-- ================================================================== -->
<Proxy base_proxygroup="point_placers"
base_proxyname="PointPlacerBase"
class="vtkBoundedPlanePointPlacer"
name="BoundedPlanePointPlacer">
<IntVectorProperty command="SetProjectionNormal"
default_values="2"
name="ProjectionNormal"
number_of_elements="1">
<EnumerationDomain name="enum">
<Entry text="XAxis"
value="0" />
<Entry text="YAxis"