[vtkusers] how to draw lines in the VTKWindow

Luca Pallozzi Lavorante lucapl at rc.unesp.br
Tue Jul 19 08:44:01 EDT 2005


It depends on the kind of lines. If you can afford specifying starting
and ending points for each line, use the class vtkLineSource.
If you mean a polygonal line (interconnected line segments), use the
class vtkPolyData (see manual page).

greetings

Luca


Yixun Liu wrote:

> Hi,
> I need to draw lines in the VTKWindow. Anybody tell me how to do it?
> Regards,
> Yixun Liu
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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
>  
>




More information about the vtkusers mailing list