[vtkusers] Handling of vtkCylinderSource

Christopher Kreitz christopher.kreitz at igd.fraunhofer.de
Thu Apr 29 05:21:30 EDT 2010


Thanks a lot.

Once stuck in the wrong direction makes it hard to see other solutions.

Greetings
Christopher

Am 29.04.2010 10:52, schrieb Jérôme:
> 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
>>
>>      
>    




More information about the vtkusers mailing list