Vtk point set registration

Hi, I would appreciate it if you could share an example in Python about how to use vtkThinPlateSplineTransform for point-to-point registration. Does Slicer use this module to apply point-to-point registration? Thanks