I’m using vtkParametricSpline to fit a spline to a set of points. I then render the spline via a vtkPolyDataMapper. I would like to access the coordinates of the interpolated points. Can I get that from the vtkPolyDataMapper? If so, how?
thank you in advance for your help,
mapper.GetInput().GetPoints() # or as a numpy array: from vtk.util.numpy_support import vtk_to_numpy vtk_to_numpy(mapper.GetInput().GetPoints().GetData())
That did the trick! Thank you Marco.