

def transformPolyData(polyData, transform):
    t = vtk.vtkTransformPolyDataFilter()
    t.SetTransform(transform)
    t.SetInput(shallowCopy(polyData))
    t.Update()
    return shallowCopy(t.GetOutput())

dataset/ETHPy150Open RobotLocomotion/director/src/python/director/filterUtils.py transformPolyData/original