collision between two tubes

In first condition i give the vtktubefilter output to the collisiondetection, in this case it doesn’t work.
in second condition i write and read vtk tube output as a STL file and give the STL file output to the collisiondetection, in this case it works properly.