brainspace.vtk_interface.decorators.wrap_input(*xargs, skip=False)[source]

Decorator to wrap the arguments of a function.

An object is wrapped only if it is an instance of vtkObject or one of its subclasses.

  • xargs (sequence of int and str) – Positional indices (integers) and keys as strings (for keyword args) to wrap. If no specified, try to wrap all args.
  • skip (bool, optional) – Wrap all arguments except those in xargs. Default is False.

See also

wrap_output, wrap_func, unwrap_input