[vtkusers] vtkselectpolydata -- How to get indices of selected cells(lines)?
Saeed Mahdizadeh Bakhshmand
saeedbakhshmand at gmail.com
Thu Nov 5 19:27:04 EST 2015
Hello,
I am working on selecting and extracting a subset of lines from a
vtkpolydata (PD) that pass through a vtkpoints (selectionPoints). How can I
access to indices of selected lines? Also based on below code, output of
loop is an empty polydata!
Here is my sample code:
loop = vtk.vtkSelectPolyData()
loop.SetInputData(PD)
loop.SetLoop(selectionPoints)
loop.GenerateSelectionScalarsOff()
I would appreciate any help.
Best,
Saeed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151105/5180badc/attachment.html>
More information about the vtkusers
mailing list