I have a vtkUnstructuredGrid with a bunch of points and lines. For each of the lines I want to overlay a tube and change it so it arcs like a rainbow. What is the best way to go about doing this?

Right now it looks like I need to use splines and tubes, however it seems difficult to create a spline between two points. I have the two point ids in vtkIdType or the cell id of the line in vtkIdType. It looks like it requires a vtkPoints*. I'm not sure how to get a subset from my unstructured grid's points in that form.

Any ideas or example code would be great.

Thanks,
Brian Panneotn
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to