[vtkusers] vtkExtractPolyDataGeometry question

Beatrix Schober beatrix.schober at gmail.com
Thu Feb 1 04:14:48 EST 2018


I want to get a subset of vtkPolyData with vtkExtractPolyDataGeometry:

VTK_CREATE(vtkBox, box);box->SetBounds(values);

vtkPolyData* tmp = extract->GetOutput();

The "new" vtkPolyData still has the same number of points as the original
vtkPolyData, which confuses me, because the correct subset is displayed.

I guess I understand the filter wrong? How can I get a subset as new

Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180201/51916932/attachment.html>

More information about the vtkusers mailing list