vtkTubeFilter not passing cell data
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
It looks like Graphics/vtkTubeFilter.cxx (any version, including cvs file version 1.84) does not generate cell data properly. I corrected 1 line when going through the code:
// Copy selected parts of cell data; certainly don't want normals // numNewCells = inLines->GetNumberOfCells() * this->NumberOfSides + 2; outCD->CopyNormalsOff(); //outPD->CopyAllocate(pd,numNewCells); // <-- weird line outCD->CopyAllocate(cd,numNewCells); // <-- corrected line
I tested it quickly and now it seems to work well with cell data.
(see also http://public.kitware.com/pipermail/vtkusers/2002-October/063230.html)