ParticlePathFilter can only process vtkImageData?

I want to generate particle path from my custom polydata, But the processing object in example/test codes I can find are all vtkImageData,Is it not applicable for unstructure polydata? Are there any implementation examples?