[vtkusers] Need help creating a "line" - Fixed

Kevin Wright krw at viz-solutions.com
Thu Jul 25 15:12:54 EDT 2002


>My main problem is creating the line with scalar values associated with 
>the endpoints.  I have tried many things without luck and I am assuming 
>there is a right way of doing this.

You can just create a vtkPolyData with two points and one line 
element.  This can then have scalars associated with it, and can be passed 
into a tube filter.

Kevin.




More information about the vtkusers mailing list