Hi,<br><br>Instead of handling cylinders as lines, you could handle lines as cylinders<br>Plug your vtkLineSource to a vtkTubeFilter : it will build a cylinder with your line as axis.<br><br>HTH<br><br>Jerome<br><br><div class="gmail_quote">
2010/4/29 Christopher Kreitz <span dir="ltr">&lt;<a href="mailto:christopher.kreitz@igd.fraunhofer.de">christopher.kreitz@igd.fraunhofer.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello<br>
<br>
I am trying to display a graph.<br>
My edges are spheres, and my vertices are lines (vtkLineSource).<br>
Now, I want them Clickable.<br>
The problem is, that lines are hars to click. Now, I want to replace the lines by cylinders.<br>
Unfortunally, it seems, that cylinders don&#39;t have the methods &quot;SetPoint1&quot; and &quot;SetPoint2&quot;.<br>
<br>
How can I handle Cylinders as lines?<br>
<br>
<br>
Greetings<br>
Christopher<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>