polyData.SetPoints(points);
polyData.SetLines(cellArray);
polyData.GetPointData().AddArray(colorArray);
polyData.GetPointData().SetScalars(radiusArray);
vtkCleanPolyData cleanFilter = new vtkCleanPolyData();
cleanFilter.SetInput(polyData);
cleanFilter.Update();
vtkTubeFilter tube = new vtkTubeFilter();
tube.SetVaryRadiusToVaryRadiusByAbsoluteScalar();
tube.SetInput(cleanFilter.GetOutput());
tube.SetNumberOfSides(20);
tube.CappingOn();
vtkPolyDataMapper mapper = new vtkPolyDataMapper();
mapper.SetInput(tube.GetOutput());