def configure_input_data(obj, data):
 if vtk_old():
  obj.input = data
 else:
  obj.set_input_data(data)

def configure_input_data ( obj , data ) : if vtk_old ( ) : obj . input = data else : obj . set_input_data ( data )
configure the input data for vtk pipeline object obj .