[vtkusers] Finding line cells that intesect a plane.
wesbrooks at gmail.com
Thu Jan 13 08:53:35 EST 2005
Further to my last email I've come across vtkExtractGeometry which
seems to me close to what I need. I've got the following so far,
butchered from online examples and previous code.
cutplane = vtk.vtkPlane()
union = vtk.vtkImplicitBoolean()
extract = vtk.vtkExtractGeometry()
linestripper = vtk.vtkStripper()
numcells = linestripper.GetNumberOfCells()
The input - 'meshdata' - is PolyData and for the rest of my code I
need the last item - 'linestripper' - to be a vtkPOlyData item and I'm
At present I'm using a method that searches through all of the cells
to find the point intersections on different planes. Will utalising
the above method speed up the process or does the extract geometry
filter also search through all the cells which I assume would actually
add to the processing time?
Thanks again in advance to any help!
More information about the vtkusers