[vtkusers] Selecting/Extracting cells using points

David E DeMarle dave.demarle at kitware.com
Sun May 30 11:52:06 EDT 2010

That is what that vtkInformationIntegerKey
*vtkSelectionNode::CONTAINING_CELLS() flag is for.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109

On Sun, May 30, 2010 at 11:18 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
> When using vtkSelectionNode and vtkExtractSelection to extract a piece
> of a vtkPolyData by selectin point ids, is there anyway to get the
> cells that exist completely on the remaining points to come along for
> the ride? This code:
> http://www.vtk.org/Wiki/VTK/Examples/Broken/ExtractCellsUsingPoints
> currently seems to generate a vertex for each point but lose all of
> the polygonal cells. Anyone know how to do this?
> Thanks,
> David
> _______________________________________________
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

More information about the vtkusers mailing list