[vtkusers] vtkCylinderSource x First, End point

Thiago Macedo tmacedo29 at gmail.com
Fri Aug 31 16:24:17 EDT 2012


Hi David,

thank you very much.

Regards

On Fri, Aug 31, 2012 at 5:03 PM, David Doria <daviddoria at gmail.com> wrote:
> On Fri, Aug 31, 2012 at 3:59 PM, Thiago Macedo <tmacedo29 at gmail.com> wrote:
>>
>> Hi All,
>>
>> I'm trying to represent a cylinder using vtk, and I just have
>> information of first and end point of it.
>> What's the best way to do it? I was trying to use vtkCylinderSource,
>> but I had no sucess.
>>
>> Thank you in Advance
>> Regards
>
>
> You can use a vtkLineSource and then a vtkTubeFilter:
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/TubeFilter
> http://www.vtk.org/doc/nightly/html/classvtkTubeFilter.html
>
> David



-- 
Thiago B. Macedo

Esta mensagem pode conter informação confidencial e/ou privilegiada.
Se você não for o destinatário ou a pessoa autorizada a receber
esta mensagem, não pode usar, copiar ou divulgar as informações nela
contidas ou tomar qualquer ação baseada nessas informações.
Se você recebeu esta mensagem por engano, por favor, avise
imediatamente o remetente, respondendo o e-mail e em seguida apague-a.
Agradeço a sua cooperação.

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for
the addressee, you must not use, copy, disclose or take any action
based on this message or any information herein. If you have
received this message in error, please advise the sender immediately
by reply e-mail and delete this message. Thank you for your
cooperation.



More information about the vtkusers mailing list