def call_input_function(self, function, params):
        if hasattr(self, '_special_input_function_' + function):
            attr = getattr(self, '_special_input_function_' + function)
        else:
            try:
                attr = getattr(self.vtkInstance, function)
            except AttributeError:
                # Compensates for overload by exploiting the fact that
                # no VTK method has underscores.
                f = function.find('_')
                if f != -1:
                    function = function[:f]
                attr = getattr(self.vtkInstance, function)
        attr(*params)
        # print "Called ",attr,function,params
self.call_input_function(function, params) -> None
dataset/ETHPy150Open VisTrails/VisTrails/contrib/titan/base_module.py/vtkBaseModule.call_input_function