[vtkusers] How to use vtk Widgets in C#

Elvis Dowson elvis.dowson at mac.com
Sat Apr 11 03:54:58 EDT 2009


Hi,
	Try to use the vtkDistanceMeasurement2D and AngleMeasurement widgets.

Here is an example tcl code that you can reuse to measure the length.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TriangleWithDistanceMeasurement.tcl
Type: application/octet-stream
Size: 4025 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090411/b689e21a/attachment.obj>
-------------- next part --------------



Use the mouse to click on one point and then move it to another point  
and click once again, to display the length.

Best regards,

Elvis

On Apr 11, 2009, at 11:36 AM, kigihanko wrote:

> 1.the measure of the length and angle :for examplt,pick two points  
> in the model,and calculate the distance between them


More information about the vtkusers mailing list