[vtkusers] coloring objects

debbie larson debbielarson_9 at hotmail.com
Mon Dec 11 12:22:39 EST 2006


Hi,

I am writing triangular PolyData representing cylinders, to a file using 
vtkPolyDataWriter. The triangles are generated with vtkCylinderSource. These 
cylinders belong to two different sets that I would like to distinguish with 
two different colors. Is there a way I can assign a scalar to each set of 
cylinders, save it to a file with vtkPolyDataWriter and retrieve the color 
with vtkPolyDataReader?

Thanks

deb

_________________________________________________________________
Get the latest Windows Live Messenger 8.1 Beta version. Join now. 
http://ideas.live.com




More information about the vtkusers mailing list