[vtkusers] Coloring VTK Cell Array

Hari Sundar mudrarakshasha at yahoo.com
Wed Nov 9 21:13:04 EST 2005


Hi,

I am generating a lot of polylines (~100K) that I need to visualize.
For this I generated a vtkCellArray and add each polyline as they are
generated using InsertNextCell. This works fine for me. 

Now, I need to color these lines differently based on their attributes.
How do I set the color for individual cells ? 

Alternately, what would be the best way to render this kind of data ?

thanks,
~Hari


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



More information about the vtkusers mailing list