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

David Doria daviddoria at gmail.com
Mon Nov 21 11:52:53 EST 2011


On Mon, Nov 21, 2011 at 11:46 AM, dev <work2compilation at gmail.com> wrote:
> and how can i display all points (point_source, point_target and lines) in
> one window???
>
> I just test what you told me, to use a mapper for each data_sets and lines,
> however I don't see all of them in the same window???

You just need to call AddActor on the renderer for all of the actors
that you want to view. I'd suggest making a simple example to convince
yourself how this works - do something like add a sphere and a cube
the window.

David



More information about the vtkusers mailing list