vtkExtractPolyDataGeometry returns all vertices instead of just the ones inside the implicit function
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
As reported by Tony Zhang on the mailing list, vtkExtractPolyDataGeometry returns all vertices instead of just the ones inside the implicit function (here is a demo of the problem: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Picking/HighlightSelection)
By changing
vtkSmartPointer<vtkExtractPolyDataGeometry> extractPolyDataGeometry =
vtkSmartPointer<vtkExtractPolyDataGeometry>::New();
to
vtkSmartPointer<vtkExtractGeometry> extractPolyDataGeometry =
vtkSmartPointer<vtkExtractGeometry>::New();
and
#include <vtkExtractPolyDataGeometry.h>
to
#include <vtkExtractGeometry.h>
the program works as expected. As far as I understand, vtkExtractPolyDataGeometry should operate exactly as vtkExtractGeometry, but just be more efficient for vtkPolyData.