[vtkusers] Setting line color of contour widget

KS Jothybasu jothybasu at gmail.com
Wed Jan 20 06:30:12 EST 2010


Hi all,

How to set the color of the line drawn using vtkContourWidget. I uesd the
example in http://www.cmake.org/Wiki/VTK/Examples/Widgets/Cxx/ContourWidget.

Since there are no actor added to the renderer, I don't find any other
method in contour widge.getActor. it uses vtkPolyData to generate the line,
how to set the color of polydata.

Thanks

Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100120/c2aac449/attachment.htm>


More information about the vtkusers mailing list