# 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 _itkIndexPython
else:
    import _itkIndexPython

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

_swig_new_instance_method = _itkIndexPython.SWIG_PyInstanceMethod_New
_swig_new_static_method = _itkIndexPython.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 itkOffsetPython
import itkSizePython
import pyBasePython
class itkIndex1(object):
    r"""Proxy of C++ itkIndex1 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    GetIndexDimension = _swig_new_static_method(_itkIndexPython.itkIndex1_GetIndexDimension)
    __add__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___add__)
    __iadd__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___iadd__)
    __isub__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___isub__)
    __sub__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___sub__)
    __mul__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___mul__)
    __eq__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___eq__)
    __ne__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___ne__)
    GetIndex = _swig_new_instance_method(_itkIndexPython.itkIndex1_GetIndex)
    SetIndex = _swig_new_instance_method(_itkIndexPython.itkIndex1_SetIndex)
    SetElement = _swig_new_instance_method(_itkIndexPython.itkIndex1_SetElement)
    GetElement = _swig_new_instance_method(_itkIndexPython.itkIndex1_GetElement)
    GetBasisIndex = _swig_new_static_method(_itkIndexPython.itkIndex1_GetBasisIndex)
    Fill = _swig_new_instance_method(_itkIndexPython.itkIndex1_Fill)

    def __init__(self, *args):
        r"""
        __init__(itkIndex1 self) -> itkIndex1
        __init__(itkIndex1 self, itkIndex1 arg0) -> itkIndex1
        """
        _itkIndexPython.itkIndex1_swiginit(self, _itkIndexPython.new_itkIndex1(*args))
    __swig_destroy__ = _itkIndexPython.delete_itkIndex1
    __getitem__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___getitem__)
    __setitem__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___setitem__)
    __len__ = _swig_new_static_method(_itkIndexPython.itkIndex1___len__)
    __repr__ = _swig_new_instance_method(_itkIndexPython.itkIndex1___repr__)

# Register itkIndex1 in _itkIndexPython:
_itkIndexPython.itkIndex1_swigregister(itkIndex1)
class itkIndex2(object):
    r"""Proxy of C++ itkIndex2 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    GetIndexDimension = _swig_new_static_method(_itkIndexPython.itkIndex2_GetIndexDimension)
    __add__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___add__)
    __iadd__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___iadd__)
    __isub__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___isub__)
    __sub__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___sub__)
    __mul__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___mul__)
    __eq__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___eq__)
    __ne__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___ne__)
    GetIndex = _swig_new_instance_method(_itkIndexPython.itkIndex2_GetIndex)
    SetIndex = _swig_new_instance_method(_itkIndexPython.itkIndex2_SetIndex)
    SetElement = _swig_new_instance_method(_itkIndexPython.itkIndex2_SetElement)
    GetElement = _swig_new_instance_method(_itkIndexPython.itkIndex2_GetElement)
    GetBasisIndex = _swig_new_static_method(_itkIndexPython.itkIndex2_GetBasisIndex)
    Fill = _swig_new_instance_method(_itkIndexPython.itkIndex2_Fill)

    def __init__(self, *args):
        r"""
        __init__(itkIndex2 self) -> itkIndex2
        __init__(itkIndex2 self, itkIndex2 arg0) -> itkIndex2
        """
        _itkIndexPython.itkIndex2_swiginit(self, _itkIndexPython.new_itkIndex2(*args))
    __swig_destroy__ = _itkIndexPython.delete_itkIndex2
    __getitem__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___getitem__)
    __setitem__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___setitem__)
    __len__ = _swig_new_static_method(_itkIndexPython.itkIndex2___len__)
    __repr__ = _swig_new_instance_method(_itkIndexPython.itkIndex2___repr__)

# Register itkIndex2 in _itkIndexPython:
_itkIndexPython.itkIndex2_swigregister(itkIndex2)
class itkIndex3(object):
    r"""Proxy of C++ itkIndex3 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    GetIndexDimension = _swig_new_static_method(_itkIndexPython.itkIndex3_GetIndexDimension)
    __add__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___add__)
    __iadd__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___iadd__)
    __isub__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___isub__)
    __sub__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___sub__)
    __mul__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___mul__)
    __eq__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___eq__)
    __ne__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___ne__)
    GetIndex = _swig_new_instance_method(_itkIndexPython.itkIndex3_GetIndex)
    SetIndex = _swig_new_instance_method(_itkIndexPython.itkIndex3_SetIndex)
    SetElement = _swig_new_instance_method(_itkIndexPython.itkIndex3_SetElement)
    GetElement = _swig_new_instance_method(_itkIndexPython.itkIndex3_GetElement)
    GetBasisIndex = _swig_new_static_method(_itkIndexPython.itkIndex3_GetBasisIndex)
    Fill = _swig_new_instance_method(_itkIndexPython.itkIndex3_Fill)

    def __init__(self, *args):
        r"""
        __init__(itkIndex3 self) -> itkIndex3
        __init__(itkIndex3 self, itkIndex3 arg0) -> itkIndex3
        """
        _itkIndexPython.itkIndex3_swiginit(self, _itkIndexPython.new_itkIndex3(*args))
    __swig_destroy__ = _itkIndexPython.delete_itkIndex3
    __getitem__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___getitem__)
    __setitem__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___setitem__)
    __len__ = _swig_new_static_method(_itkIndexPython.itkIndex3___len__)
    __repr__ = _swig_new_instance_method(_itkIndexPython.itkIndex3___repr__)

# Register itkIndex3 in _itkIndexPython:
_itkIndexPython.itkIndex3_swigregister(itkIndex3)
class itkIndex4(object):
    r"""Proxy of C++ itkIndex4 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    GetIndexDimension = _swig_new_static_method(_itkIndexPython.itkIndex4_GetIndexDimension)
    __add__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___add__)
    __iadd__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___iadd__)
    __isub__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___isub__)
    __sub__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___sub__)
    __mul__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___mul__)
    __eq__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___eq__)
    __ne__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___ne__)
    GetIndex = _swig_new_instance_method(_itkIndexPython.itkIndex4_GetIndex)
    SetIndex = _swig_new_instance_method(_itkIndexPython.itkIndex4_SetIndex)
    SetElement = _swig_new_instance_method(_itkIndexPython.itkIndex4_SetElement)
    GetElement = _swig_new_instance_method(_itkIndexPython.itkIndex4_GetElement)
    GetBasisIndex = _swig_new_static_method(_itkIndexPython.itkIndex4_GetBasisIndex)
    Fill = _swig_new_instance_method(_itkIndexPython.itkIndex4_Fill)

    def __init__(self, *args):
        r"""
        __init__(itkIndex4 self) -> itkIndex4
        __init__(itkIndex4 self, itkIndex4 arg0) -> itkIndex4
        """
        _itkIndexPython.itkIndex4_swiginit(self, _itkIndexPython.new_itkIndex4(*args))
    __swig_destroy__ = _itkIndexPython.delete_itkIndex4
    __getitem__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___getitem__)
    __setitem__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___setitem__)
    __len__ = _swig_new_static_method(_itkIndexPython.itkIndex4___len__)
    __repr__ = _swig_new_instance_method(_itkIndexPython.itkIndex4___repr__)

# Register itkIndex4 in _itkIndexPython:
_itkIndexPython.itkIndex4_swigregister(itkIndex4)

