[vtkusers] Set the line color of vtkLineWidget

David Cole dlrdave at aol.com
Fri Jun 21 14:43:49 EDT 2013


> How do I set the color of the line of vtkLineWidget


This code sets the line color of the widget to red:


    lineWidget->GetLineProperty()->SetColor(1,0,0);



HTH,

D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130621/c1a093df/attachment.htm>


More information about the vtkusers mailing list