vtkCellLocator::IntersectWithLine for python/tcl
Damini Dey
ddey at irus.rri.on.ca
Wed Sep 15 11:43:12 EDT 1999
Hi,
I have added a class vtkRayIntersector with a function
IntersectWithRay.
It basically calls vtkCellLocator::IntersectWithLine. It can be used to
to intersect a surface with a ray from within a tcl or python script.
Right
now, you can get only the co-ordinates x of the intersection and the
flag
whether an intersection was found.
I am not sure if people need to use
vtkCellLocator::IntersectWithLine
from Python/tcl. I have put it at my website:
http://www.irus.rri.on.ca/~ddey/vtkRayIntersector.tar.gz
This file has the class vtkRayIntersector.h and vtkRayIntersector.cxx,
and a
test tcl script. Comments/ suggestions are welcome.
Damini.
-----------------------------------------------------------------------------
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