[vtkusers] How to change the color of a single polyline ??

Rakesh Patil rakeshthp at in.com
Tue Mar 23 05:58:44 EDT 2010


Hello usersI have one unstructured grid which contains more than one polylines and polyvertex.Now, on the other hand, I have only one actor corresponding to this grid. Now what I want to do is select a particular polyline. And change the color of this polyline. Initially all polylines are black in color. Once i change the color, it should be reflected back in the actor only for that particular polyline..I have only one actor.. And i guess, using this actor, if i change the color, using get property, it changes the color of all the the polylines. How do i change the colors of only one polyline..??ThanksRegardsRakesh PatilDear vtkusers ! Get Yourself a cool, short @in.com Email ID now!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100323/a4fe2aec/attachment.htm>


More information about the vtkusers mailing list