[vtkusers] VTK_POLY_LINE Question

Chr. Rossmanith cr at neuro.ma.uni-heidelberg.de
Tue Nov 13 11:45:25 EST 2001


Hi,

I'd like to visualize a bundle of fibres. Each fibre is a polyline
defined through a number of vertices. So I've created an unstructured
grid VTK file containing POINTS, CELLS and CELL_TYPES (all cells are of
type 4=VTK_POLY_LINE). Now I'd like to use a different color for each
fibre of the bundle. How would I represent this in the VTK file?

As far as I understand VTK data types, I have to use use an unstructured
grid because no other type could represent polylines - and polygons have
to be closed, haven't they?


Thank you for any hints,

Christina Rossmanith




More information about the vtkusers mailing list