[vtkusers] vtkSelection and vtkExtractSelected*
John Norris
jnorris at mcs.anl.gov
Thu Mar 22 11:38:51 EDT 2007
Sounds good, that's more or less what I was thinking. I suppose I could
go ahead and add proper support for PRESERVE_TOPOLOGY and
CONTAINING_CELLS. The vtkExtractSelected* filters would all have to
overload RequestDataObject() if I do that (vtkExtractSelectedFrustum
already does), but then you could remove vtkExtractSelectedPolyDataIds.
John
David E DeMarle wrote:
> That does sound like a good idea. How about calling it INVERSE, and
> adding that as a property to vtkSelection. Then make the
> vtkExtractSelected* filters respect it. Probably the best place to do
> that is where each filters inspects individual points and cells.
>
> I'm too busy to try it in the short term but would be glad to help.
>
> cheers
> Dave DeMarle
>
> On 3/21/07, *John Norris* < jnorris at mcs.anl.gov
> <mailto:jnorris at mcs.anl.gov>> wrote:
>
> Hi,
>
> I've got a feature request regarding vtkSelection and the vtkExtract*
> filters that use it. It would be really helpful if there was some sort
> of "ReverseSense" or "EverythingElseExcept" option, either as flags in
> the algorithms or as an information field in vtkSelection. Basically I
> want to turn the selection list into an exclusion list.
>
> I can make these changes myself; they're fairly straight-forward. I'd
> be willing to contribute them if it something that Ken Martin, Will
> Schroeder, and Bill Lorensen deem valuable enough.
>
> John
--
John Norris
Research Programmer
Center for Simulation of Advanced Rockets
http://www.uiuc.edu/ph/www/jnorris
More information about the vtkusers
mailing list