[vtkusers] line-mesh intersection using an open mesh

Claudia Ferreira claudiasmf at gmail.com
Tue Jan 24 11:38:18 EST 2012


Hi all,

I have a triangular mesh obtained using itk and now, already on vtk, I want
to use the modified BSPTree as a line intersection method. The mesh I am
using has a big hole.
The function IntersectWithLine<http://www.vtk.org/doc/nightly/html/classvtkModifiedBSPTree.html#a3a03f352030b2aeb73239aee02037deb>(const
double<http://www.vtk.org/doc/nightly/html/vtkVectorOperators_8h.html#a45c855d65dd0e2b57b08024500ff9159>p1[3],
const
double<http://www.vtk.org/doc/nightly/html/vtkVectorOperators_8h.html#a45c855d65dd0e2b57b08024500ff9159>p2[3],
const
double<http://www.vtk.org/doc/nightly/html/vtkVectorOperators_8h.html#a45c855d65dd0e2b57b08024500ff9159>tol,
vtkPoints <http://www.vtk.org/doc/nightly/html/classvtkPoints.html>*points,
vtkIdList <http://www.vtk.org/doc/nightly/html/classvtkIdList.html>*cellIds)
says nothing about assuming that the surface has to be closed,
but when I do some search about line-mesh intersections using vtk methods
it seems that a closed mesh is mandatory. Do I need to close it?

Best regards,
Claudia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120124/5001c377/attachment.htm>


More information about the vtkusers mailing list