vtkCellLocator::IntersectWithLine for python/tcl

Damini Dey ddey at irus.rri.on.ca
Wed Sep 15 11:43:12 EDT 1999


    I have added a class vtkRayIntersector with a function
It basically calls vtkCellLocator::IntersectWithLine. It can be used to
to intersect a surface with a ray from within a tcl or python script.
now, you can get only the co-ordinates x of the intersection and the
whether an intersection was found.

    I am not sure if people need to use
from Python/tcl. I have put it at my website:


This file has the class vtkRayIntersector.h and vtkRayIntersector.cxx,
and a
test tcl script. Comments/ suggestions are welcome.


This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list