Extrude Line to Cylinder

Does vtkTubeFilter work for you?