Generic Processing Plugins
Attribute Mapping
AttributeMapping is a paraview plugin that transfers global attributes from a source mesh to a final mesh with same point/cell coordinates.
Input and output meshes can be vtkDataSet or vtkMultiBlockDataSet.
Warning
For one application of the plugin, the attributes to transfer should all be located on the same piece (all on points or all on cells).
Note
For cell, the coordinates of the points in the cell are compared. If one of the two meshes is a surface and the other a volume, all the points of the surface must be points of the volume.
To use it:
Load the plugin in Paraview: Tools > Manage Plugins … > Load New … > …/geosPythonPackages/geos-pv/src/geos/pv/plugins/generic_processing/PVAttributeMapping
Select the mesh to transfer the global attributes (meshTo)
Select the filter: Filters > 0- Generic-Processing > Attribute Mapping
Select the source mesh with global attributes to transfer (meshFrom)
Select on which element (onPoints/onCells) the attributes to transfer are
Select the global attributes to transfer from the source mesh to the final mesh
Apply
Create Constant Attribute Per Region
PVCreateConstantAttributePerRegion is a Paraview plugin that allows to create an attribute with constant values per components for each chosen indexes of a reference/region attribute. If other region indexes exist, values are set to nan for float type, -1 for int type or 0 for uint type.
Input mesh is either vtkMultiBlockDataSet or vtkDataSet and the region attribute must have one component. The relation index/values is given by a dictionary. Its keys are the indexes and its items are the list of values for each component.
Warning
The input mesh should contain an attribute corresponding to the regions.
To use it:
Load the plugin in Paraview: Tools > Manage Plugins … > Load New … > …/geosPythonPackages/geos-pv/src/geos/pv/plugins/generic_processing/PVCreateConstantAttributePerRegion
Select the mesh in which you want to create the attributes
Select the filter: Filters > 0- Generic-Processing > Create Constant Attribute Per Region
Choose the region attribute, the relation index/values, the new attribute name, the type of the value, the number of components and their names
Apply
Fill Partial Arrays
Fill partial arrays of input mesh.
Input and output are vtkMultiBlockDataSet.
To use it:
Load the plugin in Paraview: Tools > Manage Plugins … > Load New … > …/geosPythonPackages/geos-pv/src/geos/pv/plugins/generic_processing/PVFillPartialArrays
Select the input mesh to process
Select the filter: Filters > 0- Generic-Processing > Fill Partial Arrays
Set the partial attribute to fill and its filling values
Apply
Split Mesh
Split each cell of input mesh to smaller cells.
Output mesh is of same type as input mesh. If input mesh is a composite mesh, the plugin split cells of each part independently.
To use it:
Load the plugin in Paraview: Tools > Manage Plugins … > Load New … > …/geosPythonPackages/geos-pv/src/geos/pv/plugins/generic_processing/PVSplitMesh
Select the input mesh to process
Select the filter: Filters > 0- Generic-Processing > Split Mesh
Apply
Merge Blocks Keeping Partial Attributes
Merge Blocks Keeping Partial Attributes is a Paraview plugin filter that allows to merge blocks from a multiblock dataset while keeping partial attributes.
Input is a vtkMultiBlockDataSet and output is a vtkUnstructuredGrid.
Note
This plugin is intended to be used for GEOS VTK outputs. You may encounter issues if two datasets of the input multiblock dataset have duplicated cell IDs.
To use it:
Load the plugin in Paraview: Tools > Manage Plugins … > Load New … > …/geosPythonPackages/geos-pv/src/geos/pv/plugins/generic_processing/PVMergeBlocksEnhanced
Select the multiblock dataset mesh you want to merge
Select the filter: Filters > 0- Generic-Processing > Merge Blocks Keeping Partial Attributes
Apply
Note
Partial attributes are filled with default values depending on their types. - 0 for uint data. - -1 for int data. - nan for float data.
Clip to the main frame
Clip the input mesh to the main frame applying the correct LandmarkTransform
To use it:
Load the plugin in Paraview: Tools > Manage Plugins … > Load New … > …/geosPythonPackages/geos-pv/src/geos/pv/plugins/generic_processing/PVClipToMainFrame
Select the mesh to process
Select the filter: Filters > 0- Generic-Processing > Clip to the main frame
Apply