[vtkusers] "No vectors defined" error for vtkStreamLine

Hao Wang haow at cs.utah.edu
Wed Jan 13 16:22:32 EST 2010


I'm producing my own vtkPolyData to test one of the vtk classes
implemented by myself. The vtkStreamLine module, which is downstream in
the
pipeline, complains that the vtkPolyData passed to it
has "no vectors defined". I tried to set the vectors by doing
GetPointData().SetVectors() and GetCellPointData().SetVectors(). Neither
way works. Do you know how to fix this problem?

Thanks,
Hao



More information about the vtkusers mailing list