Commit a14215e5 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

split servermanager xmls

Splitting server manager xmls to ensure that definitions go together
with appropriate modules.
parent 80b2cc6b
......@@ -265,11 +265,6 @@ paraview_require_module(
CONDITION PARAVIEW_USE_PYTHON AND PARAVIEW_BUILD_RENDERING
MODULES VTK::RenderingMatplotlib)
paraview_require_module(
CONDITION PARAVIEW_USE_MPI AND PARAVIEW_BUILD_CANONICAL
MODULES VTK::IOMPIImage
VTK::IOParallelNetCDF)
paraview_require_module(
CONDITION PARAVIEW_USE_MPI AND PARAVIEW_USE_PYTHON
MODULES VTK::ParallelMPI4Py)
......@@ -352,9 +347,11 @@ paraview_require_module(
VTK::FiltersOpenTURNS
VTK::FiltersParallel
VTK::FiltersParallelDIY2
VTK::FiltersParallelGeometry
VTK::FiltersParallelVerdict
VTK::FiltersSources
VTK::FiltersStatistics
VTK::FiltersTexture
VTK::FiltersVerdict
VTK::ImagingCore
VTK::ImagingFourier
......@@ -364,23 +361,37 @@ paraview_require_module(
VTK::IOAMR
VTK::IOAsynchronous # needed for cinema
VTK::IOCityGML
VTK::IOGeometry
VTK::IOH5part
VTK::IOImage
VTK::IOInfovis
VTK::IOLegacy
VTK::IONetCDF
VTK::IOOggTheora
VTK::IOParallel
VTK::IOParallelExodus
VTK::IOParallelLSDyna
VTK::IOParallelXML
VTK::IOPIO
VTK::IOSegY
VTK::IOTecplotTable
VTK::IOTRUCHAS
VTK::IOVeraOut
VTK::IOVPIC)
VTK::IOVPIC
VTK::IOXML)
paraview_require_module(
CONDITION PARAVIEW_BUILD_RENDERING
MODULES VTK::FiltersTexture)
MODULES VTK::FiltersTexture
VTK::RenderingFreeType)
paraview_require_module(
CONDITION PARAVIEW_USE_MPI AND PARAVIEW_BUILD_CANONICAL
MODULES VTK::FiltersParallelFlowPaths)
MODULES VTK::FiltersParallelFlowPaths
VTK::FiltersParallelGeometry
VTK::FiltersParallelMPI
VTK::IOMPIImage
VTK::IOParallelNetCDF)
paraview_require_module(
CONDITION PARAVIEW_ENABLE_WEB
......
......@@ -70,7 +70,8 @@ vtk_module_add_module(ParaView::RemotingAnimation
CLASSES ${classes})
set(xml_files
animation.xml)
animation.xml
writers_animation.xml)
if (WIN32)
list(APPEND xml_files
......
<ServerManagerConfiguration>
<ProxyGroup name="writers">
<!-- ================================================================= -->
<SourceProxy class="vtkXMLPVAnimationWriter"
name="XMLPVAnimationWriter">
<Documentation>Internal writer proxy used when saving animation geometry
to save all parts of the current source to the file with pieces spread
across the server processes.</Documentation>
<InputProperty clean_command="RemoveAllRepresentations"
command="AddRepresentation"
name="Representations"
repeat_command="1"
si_class="vtkSIXMLAnimationWriterRepresentationProperty">
<Documentation>The input filter/source whose output dataset is to
written to the file.</Documentation>
</InputProperty>
<StringVectorProperty command="SetFileName"
name="FileName">
<Documentation>Name of the file to write.</Documentation>
</StringVectorProperty>
<Property command="Start"
name="Start">
<Documentation>Used to begin writing of the animation</Documentation>
</Property>
<DoubleVectorProperty command="WriteTime"
default_values="0.0"
is_internal="1"
name="WriteTime"
number_of_elements="1">
<DoubleRangeDomain min="0"
name="range" />
<Documentation>Write each time step in the animation</Documentation>
</DoubleVectorProperty>
<Property command="Finish"
name="Finish">
<Documentation>Finish writing animation</Documentation>
</Property>
<IntVectorProperty command="GetErrorCode"
information_only="1"
name="ErrorCode"></IntVectorProperty>
<Hints>
<Property name="Input"
show="0" />
<Property name="FileName"
show="0" />
</Hints>
<!-- End of XMLPVAnimationWriter -->
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
......@@ -44,17 +44,169 @@ vtk_module_link(ParaView::RemotingApplication
vtk_module_client_server_exclude()
set(xml_files
Resources/settings.xml
Resources/3d_widgets.xml
Resources/filters.xml
Resources/internal_writers.xml
Resources/readers.xml
Resources/rendering.xml
Resources/sources.xml
Resources/utilities.xml
Resources/views_and_representations.xml
Resources/writers.xml)
if (TARGET VTK::CommonComputationalGeometry)
list(APPEND xml_files
Resources/proxies_computationalgeometry.xml)
endif ()
if (TARGET VTK::DomainsChemistry)
list(APPEND xml_files
Resources/filters_domainschemistry.xml
Resources/readers_domainschemistry.xml)
endif ()
if (TARGET VTK::FiltersAMR)
list(APPEND xml_files
Resources/filters_filtersamr.xml
Resources/sources_filtersamr.xml)
endif ()
if (TARGET VTK::FiltersCore)
list(APPEND xml_files
Resources/filters_filterscore.xml
Resources/sources_filterscore.xml)
endif ()
if (TARGET VTK::FiltersExtraction)
list(APPEND xml_files
Resources/filters_filtersextraction.xml)
endif ()
if (TARGET VTK::FiltersFlowPaths)
list(APPEND xml_files
Resources/filters_filtersflowpaths.xml)
endif ()
if (TARGET VTK::FiltersGeneral)
list(APPEND xml_files
Resources/filters_filtersgeneral.xml
Resources/sources_filtersgeneral.xml)
endif ()
if (TARGET VTK::FiltersGeneral AND TARGET VTK::FiltersGeometry)
list(APPEND xml_files
Resources/filters_plotonintersectioncurves.xml)
endif ()
if (TARGET ParaView::VTKExtensionsFiltersGeneral AND
TARGET VTK::FiltersGeneral AND
TARGET VTK::FiltersParallel)
list(APPEND xml_files
Resources/filters_normalglyphs.xml)
endif()
if (TARGET VTK::FiltersGeneric)
list(APPEND xml_files
Resources/filters_filtersgeneric.xml)
endif ()
if (TARGET VTK::FiltersGeometry)
list(APPEND xml_files
Resources/filters_filtersgeometry.xml)
endif ()
if (TARGET VTK::FiltersParallel)
list(APPEND xml_files
Resources/filters_filtersparallel.xml)
endif ()
if (TARGET VTK::FiltersParallelMPI)
list(APPEND xml_files
Resources/filters_filtersparallelmpi.xml)
endif ()
if (TARGET VTK::FiltersHybrid)
list(APPEND xml_files
Resources/filters_filtershybrid.xml
Resources/readers_filtershybrid.xml)
endif ()
if (TARGET VTK::FiltersHyperTree)
list(APPEND xml_files
Resources/filters_filtershypertree.xml)
endif ()
if (TARGET VTK::FiltersModeling)
list(APPEND xml_files
Resources/filters_filtersmodeling.xml)
endif ()
if (TARGET VTK::FiltersSources)
list(APPEND xml_files
Resources/sources_filterssources.xml)
endif ()
if (TARGET VTK::FiltersStatistics)
list(APPEND xml_files
Resources/filters_filtersstatistics.xml)
endif ()
if (TARGET VTK::ImagingCore)
list(APPEND xml_files
Resources/filters_imagingcore.xml
Resources/sources_imagingcore.xml)
endif ()
if (TARGET VTK::ImagingFourier)
list(APPEND xml_files
Resources/filters_imagingfourier.xml)
endif ()
if (TARGET VTK::ImagingGeneral)
list(APPEND xml_files
Resources/filters_imaginggeneral.xml)
endif ()
if (TARGET VTK::ImagingHybrid)
list(APPEND xml_files
Resources/filters_imaginghybrid.xml)
endif ()
if (TARGET VTK::ImagingSources)
list(APPEND xml_files
Resources/sources_imagingsources.xml)
endif ()
if (TARGET VTK::FiltersParallelDIY2)
list(APPEND xml_files
Resources/filters_filtersparalleldiy2.xml)
endif ()
if (TARGET VTK::FiltersParallelVerdict)
list(APPEND xml_files
Resources/filters_filtersparallelverdict.xml)
endif ()
if (TARGET VTK::FiltersTexture)
list(APPEND xml_files
Resources/filters_filterstexture.xml)
endif ()
if (TARGET VTK::FiltersVerdict)
list(APPEND xml_files
Resources/filters_filtersverdict.xml)
endif ()
if (TARGET VTK::IOAMR)
list(APPEND xml_files
Resources/readers_ioamr.xml)
endif ()
if (TARGET VTK::IOXML AND TARGET VTK::IOParallelXML)
list(APPEND xml_files
Resources/readers_ioxml.xml
Resources/writers_ioxml.xml)
endif ()
if (TARGET VTK::IONetCDF)
list(APPEND xml_files
Resources/readers_ionetcdf.xml)
endif ()
if (TARGET VTK::mpi)
list(APPEND xml_files
Resources/proxies_mpi.xml)
......@@ -109,6 +261,69 @@ if (TARGET VTK::IOMotionFX)
Resources/proxies_motionfx.xml)
endif ()
if (TARGET VTK::IOLegacy)
list(APPEND xml_files
Resources/writers_iolegacy.xml)
endif()
if (TARGET VTK::IOGeometry)
list(APPEND xml_files
Resources/readers_iogeometry.xml
Resources/writers_iogeometry.xml)
endif()
if (TARGET VTK::IOImage)
list(APPEND xml_files
Resources/readers_ioimage.xml
Resources/writers_ioimage.xml)
endif()
if (TARGET VTK::IOParallel)
list(APPEND xml_files
Resources/readers_ioparallel.xml
Resources/writers_ensight.xml)
endif()
if (TARGET VTK::IOParallelLSDyna)
list(APPEND xml_files
Resources/readers_lsdyna.xml)
endif()
if (TARGET VTK::IOInfovis)
list(APPEND xml_files
Resources/readers_ioinfovis.xml)
endif ()
if (TARGET VTK::IOTecplotTable)
list(APPEND xml_files
Resources/readers_iotecplottable.xml)
endif()
if (TARGET VTK::IOVPIC)
list(APPEND xml_files
Resources/readers_iovpic.xml)
endif()
if (TARGET VTK::IOTRUCHAS)
list(APPEND xml_files
Resources/readers_iotruchas.xml)
endif()
if (TARGET VTK::IOVeraOut)
list(APPEND xml_files
Resources/readers_ioveraout.xml)
endif()
if (TARGET VTK::IOH5part)
list(APPEND xml_files
Resources/readers_ioh5part.xml)
endif()
if (TARGET VTK::IOPIO)
list(APPEND xml_files
Resources/readers_iopio.xml)
endif()
if (TARGET VTK::FiltersOpenTURNS)
list(APPEND xml_files
Resources/proxies_openturns.xml)
......@@ -134,5 +349,10 @@ if (TARGET VTK::PythonInterpreter)
Resources/pythonviews.xml)
endif ()
if (TARGET VTK::RenderingFreeType)
list(APPEND xml_files
Resources/sources_renderingfreetype.xml)
endif ()
paraview_add_server_manager_xmls(
XMLS ${xml_files})
This diff is collapsed.
<ServerManagerConfiguration>
<ProxyGroup name="filters">
<!-- ==================================================================== -->
<SourceProxy class="vtkMoleculeToLinesFilter"
name="MoleculeToLines"
label="Molecule To Lines">
<Documentation long_help="Convert a molecule into lines."
short_help="Convert a molecule into lines.">
Convert a molecule into lines. Each atom of the input becomes a point of the output polydata, each bond a line.
</Documentation>
<InputProperty name="Input"
command="SetInputConnection">
<ProxyGroupDomain name="groups">
<Group name="sources"/>
<Group name="filters"/>
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkMolecule"/>
</DataTypeDomain>
</InputProperty>
<!-- End MoleculeToLines -->
</SourceProxy>
<!-- ==================================================================== -->
<SourceProxy class="vtkPointSetToMoleculeFilter"
name="PointSetToMolecule"
label="Convert Into Molecule">
<Documentation long_help="Convert a point set into a molecule."
short_help="Convert a point set into a molecule.">
Convert a point set into a molecule. Every point of the input becomes an atom
of the output molecule. It needs a point array containing the atomic numbers.
</Documentation>
<InputProperty name="Input"
command="SetInputConnection">
<ProxyGroupDomain name="groups">
<Group name="sources"/>
<Group name="filters"/>
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkPointSet"/>
</DataTypeDomain>
<InputArrayDomain attribute_type="point"
name="input_array"
number_of_components="1"/>
</InputProperty>
<StringVectorProperty command="SetInputArrayToProcess"
element_types="0 0 0 0 2"
label="Atomic Numbers"
name="SelectInputScalars"
number_of_elements="5">
<ArrayListDomain attribute_type="Scalars"
input_domain_name="input_array"
name="array_list">
<RequiredProperties>
<Property function="Input"
name="Input" />
</RequiredProperties>
</ArrayListDomain>
<Documentation>This property indicates the name of the scalar array
corresponding to atomic numbers.</Documentation>
</StringVectorProperty>
<IntVectorProperty command="SetConvertLinesIntoBonds"
default_values="1"
name="ConvertLinesIntoBonds"
number_of_elements="1">
<BooleanDomain name="bool" />
<Documentation short_help="Specify if line cells are converted into bonds."
long_help="Specify if line cells are converted into bonds.">
This property determines if the lines (cell of type VTK_LINE) are converted into bonds.
</Documentation>
</IntVectorProperty>
<!-- End PointSetToMolecule -->
</SourceProxy>
<!-- ==================================================================== -->
<SourceProxy class="vtkSimpleBondPerceiver"
name="ComputeMoleculeBonds"
label="Compute Molecule Bonds">
<Documentation long_help="Compute the bonds of a molecule based on interatomic distance only."
short_help="Compute the bonds of a molecule.">
Compute the bonds of a molecule. If the
interatomic distance is less than the sum of the two atom's covalent radii
(and a tolerance), a single bond is added.
This algorithm does not consider valences, hybridization, aromaticity, or
anything other than atomic separations. It will not produce anything other
than single bonds.
</Documentation>
<InputProperty name="Input"
command="SetInputConnection">
<ProxyGroupDomain name="groups">
<Group name="sources"/>
<Group name="filters"/>
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkMolecule"/>
</DataTypeDomain>
</InputProperty>
<DoubleVectorProperty command="SetTolerance"
default_values="0.45"
name="Tolerance"
number_of_elements="1"
panel_visibility="advanced">
<DoubleRangeDomain name="scalar_range" />
<Documentation short_help="Tolerance on covalent radius size">
This property determines the tolerance to apply on covalent radius.
</Documentation>
</DoubleVectorProperty>
<IntVectorProperty command="SetIsToleranceAbsolute"
default_values="1"
name="IsToleranceAbsolute"
number_of_elements="1">
<BooleanDomain name="bool" />
<Documentation short_help="Specify if Tolerance is absolute or relative to radius."
long_help="Specify if Tolerance is absolute (addition) or relative (multiplication) to radius.">
This property determines if the tolerance is absolute (value is added to radius and should be positive)
or not (value multiplied with radius and should be greater than 1).
</Documentation>
</IntVectorProperty>
<!-- End ComputeMoleculeBonds -->
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
<ServerManagerConfiguration>
<ProxyGroup name="filters">
<SourceProxy class="vtkImageToAMR"
label="Image Data To AMR"
name="ImageDataToAMR">
<Documentation long_help="Converts certain images to AMR."
short_help="Convert ImageData to AMR. ">
</Documentation>
<InputProperty command="SetInputConnection"
name="Input">
<ProxyGroupDomain name="groups">
<Group name="sources" />
<Group name="filters" />
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
</DataTypeDomain>
<Documentation>
This property specifies the input to the Cell Data to
Point Data filter.
</Documentation>
</InputProperty>
<IntVectorProperty command="SetNumberOfLevels"
default_values="2"
label="Number of levels"
name="NumberOfLevels"
number_of_elements="1">
<IntRangeDomain max="20"
min="1"
name="range" />
<Documentation>
This property specifies the number of levels in the AMR data structure.
</Documentation>
</IntVectorProperty>
<IntVectorProperty command="SetMaximumNumberOfBlocks"
default_values="100"
label="Maximum Number of Blocks"
name="MaximumNumberOfLevels"
number_of_elements="1">
<IntRangeDomain max="100000"
min="1"
name="range" />
<Documentation>
This property specifies the maximum number of blocks in the output
AMR data structure.
</Documentation>
</IntVectorProperty>
<IntVectorProperty command="SetRefinementRatio"
default_values="2"
label="Refinement Ratio"
name="RefinementRatio"
number_of_elements="1">
<IntRangeDomain max="16"
min="1"
name="range" />
<Documentation>
This property specifies the refinement ratio between levels.
</Documentation>
</IntVectorProperty>
<!-- End of ImageDataToAMR -->
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
This diff is collapsed.
<ServerManagerConfiguration>
<ProxyGroup name="filters">
<!-- ==================================================================== -->
<SourceProxy class="vtkExtractBlock"
label="Extract Block"
name="ExtractBlock">
<Documentation long_help="This filter extracts a range of blocks from a multiblock dataset."
short_help="Extract block.">This filter extracts a range
of groups from a multiblock dataset</Documentation>
<InputProperty command="SetInputConnection"
name="Input">
<ProxyGroupDomain name="groups">
<Group name="sources" />
<Group name="filters" />
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkMultiBlockDataSet" />
<DataType value="vtkHyperTreeGrid" />
</DataTypeDomain>
<Documentation>This property specifies the input to the Extract Group
filter.</Documentation>
</InputProperty>
<IntVectorProperty clean_command="RemoveAllIndices"
command="AddIndex"
name="BlockIndices"
number_of_elements_per_command="1"
panel_visibility="default"
repeat_command="1">
<CompositeTreeDomain mode="all"
name="tree">
<RequiredProperties>
<Property function="Input"
name="Input" />
</RequiredProperties>
</CompositeTreeDomain>
<Hints>
<WidgetHeight number_of_rows="20" />
</Hints>
<Documentation>This property lists the ids of the blocks to extract
from the input multiblock dataset.</Documentation>
</IntVectorProperty>