[vtkusers] VTK_POLY_LINE Question

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Wed Nov 14 02:04:46 EST 2001


>>>>> "CR" == Chr Rossmanith <cr at neuro.ma.uni-heidelberg.de> writes:

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

Maybe you could use CELL_DATA and create a set of scalar values with a
custom lookup table that does your job?

prabhu



More information about the vtkusers mailing list