[Paraview] Generate Ids filter gives Ids greater than number of points
Evan Kao
tossin at gmail.com
Mon Oct 30 22:21:08 EDT 2017
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 <tossin at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171030/b1d3d152/attachment.html>
More information about the ParaView
mailing list