brainspace.vtk_interface.decorators.unwrap_output¶
-
brainspace.vtk_interface.decorators.
unwrap_output
(vtype=False)[source]¶ Decorator to wrap both arguments and output of a function.
An object is wrapped only if it is an instance of
vtkObject
or one of its subclasses.Parameters: - 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.
- inp (bool, optional) – If True, wrap input arguments. Default is True.
- out (bool, optional) – If True, wrap output. Default is True.
- skip (bool, optional) – Wrap all arguments except those in xargs. Default is False.
See also
wrap_input
,wrap_output
,unwrap_func