# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.4.1
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if getattr(globals().get("__spec__"), "parent", None) or __package__ or "." in __name__:
    from . import _itkOffsetPython
else:
    import _itkOffsetPython

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

_swig_new_instance_method = _itkOffsetPython.SWIG_PyInstanceMethod_New
_swig_new_static_method = _itkOffsetPython.SWIG_PyStaticMethod_New

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


import itkSizePython
import pyBasePython
class itkOffset1(object):
    r"""Proxy of C++ itkOffset1 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    GetOffsetDimension = _swig_new_static_method(_itkOffsetPython.itkOffset1_GetOffsetDimension)
    __add__ = _swig_new_instance_method(_itkOffsetPython.itkOffset1___add__)
    __sub__ = _swig_new_instance_method(_itkOffsetPython.itkOffset1___sub__)
    __iadd__ = _swig_new_instance_method(_itkOffsetPython.itkOffset1___iadd__)
    __isub__ = _swig_new_instance_method(_itkOffsetPython.itkOffset1___isub__)
    __eq__ = _swig_new_instance_method(_itkOffsetPython.itkOffset1___eq__)
    __ne__ = _swig_new_instance_method(_itkOffsetPython.itkOffset1___ne__)
    GetOffset = _swig_new_instance_method(_itkOffsetPython.itkOffset1_GetOffset)
    SetOffset = _swig_new_instance_method(_itkOffsetPython.itkOffset1_SetOffset)
    GetBasisOffset = _swig_new_static_method(_itkOffsetPython.itkOffset1_GetBasisOffset)
    Fill = _swig_new_instance_method(_itkOffsetPython.itkOffset1_Fill)

    def __init__(self, *args):
        r"""
        __init__(itkOffset1 self) -> itkOffset1
        __init__(itkOffset1 self, itkOffset1 arg0) -> itkOffset1
        """
        _itkOffsetPython.itkOffset1_swiginit(self, _itkOffsetPython.new_itkOffset1(*args))
    __swig_destroy__ = _itkOffsetPython.delete_itkOffset1
    __getitem__ = _swig_new_instance_method(_itkOffsetPython.itkOffset1___getitem__)
    __setitem__ = _swig_new_instance_method(_itkOffsetPython.itkOffset1___setitem__)
    __len__ = _swig_new_static_method(_itkOffsetPython.itkOffset1___len__)
    __repr__ = _swig_new_instance_method(_itkOffsetPython.itkOffset1___repr__)

# Register itkOffset1 in _itkOffsetPython:
_itkOffsetPython.itkOffset1_swigregister(itkOffset1)
class itkOffset2(object):
    r"""Proxy of C++ itkOffset2 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    GetOffsetDimension = _swig_new_static_method(_itkOffsetPython.itkOffset2_GetOffsetDimension)
    __add__ = _swig_new_instance_method(_itkOffsetPython.itkOffset2___add__)
    __sub__ = _swig_new_instance_method(_itkOffsetPython.itkOffset2___sub__)
    __iadd__ = _swig_new_instance_method(_itkOffsetPython.itkOffset2___iadd__)
    __isub__ = _swig_new_instance_method(_itkOffsetPython.itkOffset2___isub__)
    __eq__ = _swig_new_instance_method(_itkOffsetPython.itkOffset2___eq__)
    __ne__ = _swig_new_instance_method(_itkOffsetPython.itkOffset2___ne__)
    GetOffset = _swig_new_instance_method(_itkOffsetPython.itkOffset2_GetOffset)
    SetOffset = _swig_new_instance_method(_itkOffsetPython.itkOffset2_SetOffset)
    GetBasisOffset = _swig_new_static_method(_itkOffsetPython.itkOffset2_GetBasisOffset)
    Fill = _swig_new_instance_method(_itkOffsetPython.itkOffset2_Fill)

    def __init__(self, *args):
        r"""
        __init__(itkOffset2 self) -> itkOffset2
        __init__(itkOffset2 self, itkOffset2 arg0) -> itkOffset2
        """
        _itkOffsetPython.itkOffset2_swiginit(self, _itkOffsetPython.new_itkOffset2(*args))
    __swig_destroy__ = _itkOffsetPython.delete_itkOffset2
    __getitem__ = _swig_new_instance_method(_itkOffsetPython.itkOffset2___getitem__)
    __setitem__ = _swig_new_instance_method(_itkOffsetPython.itkOffset2___setitem__)
    __len__ = _swig_new_static_method(_itkOffsetPython.itkOffset2___len__)
    __repr__ = _swig_new_instance_method(_itkOffsetPython.itkOffset2___repr__)

# Register itkOffset2 in _itkOffsetPython:
_itkOffsetPython.itkOffset2_swigregister(itkOffset2)
class itkOffset3(object):
    r"""Proxy of C++ itkOffset3 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    GetOffsetDimension = _swig_new_static_method(_itkOffsetPython.itkOffset3_GetOffsetDimension)
    __add__ = _swig_new_instance_method(_itkOffsetPython.itkOffset3___add__)
    __sub__ = _swig_new_instance_method(_itkOffsetPython.itkOffset3___sub__)
    __iadd__ = _swig_new_instance_method(_itkOffsetPython.itkOffset3___iadd__)
    __isub__ = _swig_new_instance_method(_itkOffsetPython.itkOffset3___isub__)
    __eq__ = _swig_new_instance_method(_itkOffsetPython.itkOffset3___eq__)
    __ne__ = _swig_new_instance_method(_itkOffsetPython.itkOffset3___ne__)
    GetOffset = _swig_new_instance_method(_itkOffsetPython.itkOffset3_GetOffset)
    SetOffset = _swig_new_instance_method(_itkOffsetPython.itkOffset3_SetOffset)
    GetBasisOffset = _swig_new_static_method(_itkOffsetPython.itkOffset3_GetBasisOffset)
    Fill = _swig_new_instance_method(_itkOffsetPython.itkOffset3_Fill)

    def __init__(self, *args):
        r"""
        __init__(itkOffset3 self) -> itkOffset3
        __init__(itkOffset3 self, itkOffset3 arg0) -> itkOffset3
        """
        _itkOffsetPython.itkOffset3_swiginit(self, _itkOffsetPython.new_itkOffset3(*args))
    __swig_destroy__ = _itkOffsetPython.delete_itkOffset3
    __getitem__ = _swig_new_instance_method(_itkOffsetPython.itkOffset3___getitem__)
    __setitem__ = _swig_new_instance_method(_itkOffsetPython.itkOffset3___setitem__)
    __len__ = _swig_new_static_method(_itkOffsetPython.itkOffset3___len__)
    __repr__ = _swig_new_instance_method(_itkOffsetPython.itkOffset3___repr__)

# Register itkOffset3 in _itkOffsetPython:
_itkOffsetPython.itkOffset3_swigregister(itkOffset3)
class itkOffset4(object):
    r"""Proxy of C++ itkOffset4 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    GetOffsetDimension = _swig_new_static_method(_itkOffsetPython.itkOffset4_GetOffsetDimension)
    __add__ = _swig_new_instance_method(_itkOffsetPython.itkOffset4___add__)
    __sub__ = _swig_new_instance_method(_itkOffsetPython.itkOffset4___sub__)
    __iadd__ = _swig_new_instance_method(_itkOffsetPython.itkOffset4___iadd__)
    __isub__ = _swig_new_instance_method(_itkOffsetPython.itkOffset4___isub__)
    __eq__ = _swig_new_instance_method(_itkOffsetPython.itkOffset4___eq__)
    __ne__ = _swig_new_instance_method(_itkOffsetPython.itkOffset4___ne__)
    GetOffset = _swig_new_instance_method(_itkOffsetPython.itkOffset4_GetOffset)
    SetOffset = _swig_new_instance_method(_itkOffsetPython.itkOffset4_SetOffset)
    GetBasisOffset = _swig_new_static_method(_itkOffsetPython.itkOffset4_GetBasisOffset)
    Fill = _swig_new_instance_method(_itkOffsetPython.itkOffset4_Fill)

    def __init__(self, *args):
        r"""
        __init__(itkOffset4 self) -> itkOffset4
        __init__(itkOffset4 self, itkOffset4 arg0) -> itkOffset4
        """
        _itkOffsetPython.itkOffset4_swiginit(self, _itkOffsetPython.new_itkOffset4(*args))
    __swig_destroy__ = _itkOffsetPython.delete_itkOffset4
    __getitem__ = _swig_new_instance_method(_itkOffsetPython.itkOffset4___getitem__)
    __setitem__ = _swig_new_instance_method(_itkOffsetPython.itkOffset4___setitem__)
    __len__ = _swig_new_static_method(_itkOffsetPython.itkOffset4___len__)
    __repr__ = _swig_new_instance_method(_itkOffsetPython.itkOffset4___repr__)

# Register itkOffset4 in _itkOffsetPython:
_itkOffsetPython.itkOffset4_swigregister(itkOffset4)

