Sorry, nevermind. It turns out I already had an 'Ids' array on my surface
and Generate Ids by default doesn't overwrite it. When specifying a
different name, it works as expected.
On Mon, Oct 30, 2017 at 7:17 PM, Evan Kao wrote:
> Hello all,
>
> I'm not sure if this is a bug, but the Generate Ids filter in Paraview is
> acting in an unexpected manner (currently using Paraview 5.4.0 installed
> from Windows binaries). For some reason, it generates point IDs higher
> than the number of points on the surface. The surface was extracted from a
> larger surface using the threshold filter. So the pipeline is:
>
>- Original Surface (19315 points) => Threshold Filter => Thresholded
>Surface (13383 points)
>- Thresholded Surface => Generate Ids Filter => Ids array has max Id
>of 19049
>
> I also tested this in the Programmable Filter using vtkIdFilter. This
> gave me a different result, the one I expected, where the max Id is 13382.
> Since the underlying VTK class to Generate Ids seems to be vtkIdFilter,
> this seems really strange.
>
> Should this be the case and if yes, why? Is there a way to force Generate
> Ids to act like vtkIdFilter?
>
> Thanks for your time,
> Evan Kao
>
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview