Skip to content
Snippets Groups Projects
Commit ec81514d authored by Sujin Philip's avatar Sujin Philip Committed by Vicente Bolea
Browse files

Remove call to clean grid filter from Clip

VTK-m's clip no longer copies all of the input points to the output.
Now, only the points that are actually part of the output are copied.
Therfore, the call to clean grid, which was there to remove the unused
points, is no longer required.
parent 90f60b47
No related branches found
No related tags found
No related merge requests found
......@@ -31,10 +31,6 @@ vtkm::cont::DataSet vtkmClip::internals::ExecuteClipWithField(vtkm::cont::DataSe
fieldFilter.SetInvertClip(insideOut);
auto result = fieldFilter.Execute(in);
// clean the output to remove unused points
vtkm::filter::clean_grid::CleanGrid clean;
result = clean.Execute(result);
return result;
}
VTK_ABI_NAMESPACE_END
......@@ -24,10 +24,6 @@ vtkm::cont::DataSet vtkmClip::internals::ExecuteClipWithImplicitFunction(
functionFilter.SetInvertClip(insideOut);
result = functionFilter.Execute(in);
// clean the output to remove unused points
vtkm::filter::clean_grid::CleanGrid clean;
result = clean.Execute(result);
return result;
}
VTK_ABI_NAMESPACE_END
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment