def configure_input_data(obj, data):
    if is_old_pipeline():
        obj.input = data
    else:
        obj.set_input_data(data)
Configure the input data for vtk pipeline object obj.
dataset/ETHPy150Open enthought/mayavi/tvtk/common.py/configure_input_data