[vtkusers] vtkExtractSelectedPolyDataIds and inverse selection: bug?
jeff.baumes at kitware.com
Mon Feb 6 08:50:50 EST 2017
In years since vtkExtractSelectedPolyDataIds was made, vtkSelection was
updated and generalized, including the addition of the inverse flag. It
looks like supporting that flag was not back-ported to this filter. There
is now the more general vtkExtractSelectedIds, and the even more general
vtkExtractSelection, which should work on arbitrary selection types and
should support inverse.
I've added https://gitlab.kitware.com/vtk/vtk/issues/16976 to capture your
On Thu, Feb 2, 2017 at 12:00 AM BBerco <bebe0705 at colorado.edu> wrote:
> Dear all,
> I am trying to obtain a selected subset A from a polydata C as well as the
> unselected subset B (so that A U B = C) from a rubber band selection, in
> form of two polydatas.
> If I'm able to obtain A using vtkExtractSelectedPolyDataIds, I am unable to
> invert the selection to get B.
> The attached self-sufficient code demonstrates the issue. Although I am
> adding the property INVERSE = 1 to the selection node, the output of
> vtkExtractSelectedPolyDataIds has a number of cells that remains unchanged.
> Any thoughts?
> output.txt <http://vtk.1045678.n5.nabble.com/file/n5742021/output.txt>
> View this message in context:
> Sent from the VTK - Users mailing list archive at Nabble.com.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers