Skip to content

Expand selections

Utkarsh Ayachit requested to merge utkarsh.ayachit/vtk:expand-selections into master

Adding mechanisms to expand selections to additional layer of adjacent cells or points. This addresses paraview/paraview#19173 (closed).

  • vtkExpandMarkedElements is a new DIY-based filter that can expand marked cells (or points) to include adjacent ones.
  • vtkSelectionNode now supports CONNECTED_LAYERS property to indicate that the selection should including additional number of layers (currently, only +'ve values are supported, we can add support for -'ve values in the future).
  • vtkExtractSelection uses vtkExpandMarkedElements when needed to extract additional layers.
Edited by Utkarsh Ayachit

Merge request reports