[vtkusers] how to realize the \"3D line measurment\" in 3D space?

Amy Squillacote amy.squillacote at kitware.com
Wed Aug 10 08:39:06 EDT 2005


You could use a vtkLineWidget to interactivly 
select two points in 3D.  Then call the GetPoint1 
and GetPoint2 methods of vtkLineWidget to get the 
3D coordinates of the two endpoints of the line.

- Amy

At 07:54 AM 8/10/2005, weiwei_zc wrote:
>I want to measure line-distance based on 3D 
>object in 3D space. how to realize the \"3D line 
>measurment\" in 3D space? what vtk class I can 
>use? please tell me some example. thanks!
>×¢²áÐÂÀË2GÃâ·ÑÓÊÏ䣨 http://mail.sina.com.cn/chooseMode.html £©
>
>===================================================================
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
>http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list