[vtkusers] How to draw lines between two datasets using VTK

David Doria daviddoria at gmail.com
Mon Nov 21 11:35:57 EST 2011


On Mon, Nov 21, 2011 at 11:31 AM, dev <work2compilation at gmail.com> wrote:
> David thank you for the replay,
>
> That 's great but I found just a result like this :
> http://vtk.1045678.n5.nabble.com/file/n5010982/2011-11-21_172859.jpg
>
> But no lines. It does not display lines, juste points sets as you see.
>
> knowing that I used the variable VTKPolyData, That Contains Both The Two
> shapes and lines??!!

You need to use the VertexGlyphFilters (one (+ a mapper/actor) for
each point set) as well as a separate mapper/actor to draw the lines.

David



More information about the vtkusers mailing list