[vtkusers] Handling of vtkCylinderSource

Jérôme jerome.velut at gmail.com
Thu Apr 29 04:52:14 EDT 2010


Hi,

Instead of handling cylinders as lines, you could handle lines as cylinders
Plug your vtkLineSource to a vtkTubeFilter : it will build a cylinder with
your line as axis.

HTH

Jerome

2010/4/29 Christopher Kreitz <christopher.kreitz at igd.fraunhofer.de>

> Hello
>
> I am trying to display a graph.
> My edges are spheres, and my vertices are lines (vtkLineSource).
> Now, I want them Clickable.
> The problem is, that lines are hars to click. Now, I want to replace the
> lines by cylinders.
> Unfortunally, it seems, that cylinders don't have the methods "SetPoint1"
> and "SetPoint2".
>
> How can I handle Cylinders as lines?
>
>
> Greetings
> Christopher
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100429/9dcf8bf8/attachment.htm>


More information about the vtkusers mailing list