Skip to content

Refactor threshold filter to take advantage of structured data.

Steven Hahn requested to merge quantumsteve/vtk:faster_threshold_filter into master

This merge request uses vtkDataSet::GetCell(int,int,int) for better performance with structured data. It fixes issues with some implementations of vtkDataSet::GetCell(int, int, int) that were causing tests to fail. It also inlines most calls to vtkStructuredGrid::IsCellVisible(vtkIdType) or vtkStructuredGrid::IsPointVisible(vtkIdType). Lastly, vtkThreshold now updates progress during execution.

1.8 GB vtkStructuredGrid with cell blanking this branch: 18s VTK 7.1.0: 30s

Merge request reports