[vtkusers] vtkTubeFilter and vtkpolyline problems
David.Pont at ensisjv.com
David.Pont at ensisjv.com
Wed Mar 22 15:37:29 EST 2006
"Franke, Stephan" <Stephan.Franke at inpro.de>g wrote on 23/03/2006 00:28:07:
> Hi all,
>
> Long time ago that this question was posted inside this forum, but I
> have the same problem and could not find an answer with a solution
> for this problem here.
> So I want to ask this question once again in hope to get a solution.
> Thank you in advance for your help.
>
> Best regards,
> Stephan Franke
>
>
> OLD POST
> -------------------------------------------------------------------------
> Hi all,
>
> I am writing a program where I would like to display a boundary. The
> boundary must be like a thick line.
> If I use a polyline I get, when the line thickness is larger then 1,
> nasty looking joints at the vertices and if I use the tubefilter the
> thickness of the tube is not constant especially there where I have
> sharp angles.
>
> Are there any options I can use to overcome these problems?
> Thank you
>
>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Dipl. Ing. Stephan Franke
> Arbeitsfeld Aufbau (AB)
> Umform- und Fügesimulation
>
> INPRO Innovationsgesellschaft für
> fortgeschrittene Produktionssysteme
> in der Fahrzeugindustrie mbH
> Hallerstraße 1, D-10587 Berlin
>
> Telefon: +49 (0)30 399 97-278
> Fax: +49 (0)30 399 97-117
> E-Mail: Stephan.Franke at inpro.de
> Web: www.inpro.de
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.
> org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
You could use vtkImplicitModeller and vtkContourFilter on a polyline. In
theory this will give tubes with constant radius and 'smooth' joins. But
with SampleDimensions high enough to get adequate resolution on relatively
narrow 'tubes' it could be very slow!
Dave P
More information about the vtkusers
mailing list