# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.3.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 __package__ or "." in __name__:
    from . import _itkEllipseSpatialObjectPython
else:
    import _itkEllipseSpatialObjectPython

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

_swig_new_instance_method = _itkEllipseSpatialObjectPython.SWIG_PyInstanceMethod_New
_swig_new_static_method = _itkEllipseSpatialObjectPython.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 itkFixedArrayPython
import pyBasePython
import ITKCommonBasePython
import itkPointPython
import vnl_vectorPython
import stdcomplexPython
import vnl_matrixPython
import vnl_vector_refPython
import itkVectorPython
import itkSpatialObjectBasePython
import itkBoundingBoxPython
import itkVectorContainerPython
import itkOffsetPython
import itkSizePython
import itkMatrixPython
import vnl_matrix_fixedPython
import itkCovariantVectorPython
import itkContinuousIndexPython
import itkIndexPython
import itkMapContainerPython
import itkImageRegionPython
import itkSpatialObjectPropertyPython
import itkRGBAPixelPython
import itkScalableAffineTransformPython
import itkTransformBasePython
import itkArray2DPython
import itkDiffusionTensor3DPython
import itkSymmetricSecondRankTensorPython
import itkVariableLengthVectorPython
import itkOptimizerParametersPython
import itkArrayPython
import itkAffineTransformPython
import itkMatrixOffsetTransformBasePython
import itkAffineGeometryFramePython

def itkEllipseSpatialObject3_New():
  return itkEllipseSpatialObject3.New()


def itkEllipseSpatialObject2_New():
  return itkEllipseSpatialObject2.New()

class listitkEllipseSpatialObject2_Pointer(object):
    r"""Proxy of C++ std::list< itkEllipseSpatialObject2_Pointer > class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    iterator = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_iterator)
    def __iter__(self):
        return self.iterator()
    __nonzero__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer___nonzero__)
    __bool__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer___bool__)
    __len__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer___len__)
    __getslice__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer___getslice__)
    __setslice__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer___setslice__)
    __delslice__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer___delslice__)
    __delitem__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer___delitem__)
    __getitem__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer___getitem__)
    __setitem__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer___setitem__)
    pop = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_pop)
    append = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_append)
    empty = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_empty)
    size = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_size)
    swap = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_swap)
    begin = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_begin)
    end = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_end)
    rbegin = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_rbegin)
    rend = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_rend)
    clear = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_clear)
    get_allocator = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_get_allocator)
    pop_back = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_pop_back)
    erase = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_erase)

    def __init__(self, *args):
        r"""
        __init__(listitkEllipseSpatialObject2_Pointer self) -> listitkEllipseSpatialObject2_Pointer
        __init__(listitkEllipseSpatialObject2_Pointer self, listitkEllipseSpatialObject2_Pointer other) -> listitkEllipseSpatialObject2_Pointer
        __init__(listitkEllipseSpatialObject2_Pointer self, std::list< itkEllipseSpatialObject2_Pointer >::size_type size) -> listitkEllipseSpatialObject2_Pointer
        __init__(listitkEllipseSpatialObject2_Pointer self, std::list< itkEllipseSpatialObject2_Pointer >::size_type size, std::list< itkEllipseSpatialObject2_Pointer >::value_type const & value) -> listitkEllipseSpatialObject2_Pointer
        """
        _itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_swiginit(self, _itkEllipseSpatialObjectPython.new_listitkEllipseSpatialObject2_Pointer(*args))
    push_back = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_push_back)
    front = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_front)
    back = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_back)
    assign = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_assign)
    resize = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_resize)
    insert = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_insert)
    pop_front = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_pop_front)
    push_front = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_push_front)
    reverse = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_reverse)
    __swig_destroy__ = _itkEllipseSpatialObjectPython.delete_listitkEllipseSpatialObject2_Pointer

# Register listitkEllipseSpatialObject2_Pointer in _itkEllipseSpatialObjectPython:
_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject2_Pointer_swigregister(listitkEllipseSpatialObject2_Pointer)
class listitkEllipseSpatialObject3_Pointer(object):
    r"""Proxy of C++ std::list< itkEllipseSpatialObject3_Pointer > class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    iterator = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_iterator)
    def __iter__(self):
        return self.iterator()
    __nonzero__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer___nonzero__)
    __bool__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer___bool__)
    __len__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer___len__)
    __getslice__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer___getslice__)
    __setslice__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer___setslice__)
    __delslice__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer___delslice__)
    __delitem__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer___delitem__)
    __getitem__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer___getitem__)
    __setitem__ = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer___setitem__)
    pop = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_pop)
    append = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_append)
    empty = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_empty)
    size = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_size)
    swap = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_swap)
    begin = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_begin)
    end = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_end)
    rbegin = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_rbegin)
    rend = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_rend)
    clear = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_clear)
    get_allocator = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_get_allocator)
    pop_back = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_pop_back)
    erase = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_erase)

    def __init__(self, *args):
        r"""
        __init__(listitkEllipseSpatialObject3_Pointer self) -> listitkEllipseSpatialObject3_Pointer
        __init__(listitkEllipseSpatialObject3_Pointer self, listitkEllipseSpatialObject3_Pointer other) -> listitkEllipseSpatialObject3_Pointer
        __init__(listitkEllipseSpatialObject3_Pointer self, std::list< itkEllipseSpatialObject3_Pointer >::size_type size) -> listitkEllipseSpatialObject3_Pointer
        __init__(listitkEllipseSpatialObject3_Pointer self, std::list< itkEllipseSpatialObject3_Pointer >::size_type size, std::list< itkEllipseSpatialObject3_Pointer >::value_type const & value) -> listitkEllipseSpatialObject3_Pointer
        """
        _itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_swiginit(self, _itkEllipseSpatialObjectPython.new_listitkEllipseSpatialObject3_Pointer(*args))
    push_back = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_push_back)
    front = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_front)
    back = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_back)
    assign = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_assign)
    resize = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_resize)
    insert = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_insert)
    pop_front = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_pop_front)
    push_front = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_push_front)
    reverse = _swig_new_instance_method(_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_reverse)
    __swig_destroy__ = _itkEllipseSpatialObjectPython.delete_listitkEllipseSpatialObject3_Pointer

# Register listitkEllipseSpatialObject3_Pointer in _itkEllipseSpatialObjectPython:
_itkEllipseSpatialObjectPython.listitkEllipseSpatialObject3_Pointer_swigregister(listitkEllipseSpatialObject3_Pointer)
class itkEllipseSpatialObject2(itkSpatialObjectBasePython.itkSpatialObject2):
    r"""Proxy of C++ itkEllipseSpatialObject2 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __New_orig__ = _swig_new_static_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2___New_orig__)
    Clone = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2_Clone)
    SetRadius = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2_SetRadius)
    GetRadius = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2_GetRadius)
    ValueAt = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2_ValueAt)
    IsEvaluableAt = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2_IsEvaluableAt)
    IsInside = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2_IsInside)
    __swig_destroy__ = _itkEllipseSpatialObjectPython.delete_itkEllipseSpatialObject2
    cast = _swig_new_static_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2_cast)
    GetPointer = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2_GetPointer)

    def New(*args, **kargs):
        """New() -> itkEllipseSpatialObject2

        Create a new object of the class itkEllipseSpatialObject2 and set the input and the parameters if some
        named or non-named arguments are passed to that method.

        New() tries to assign all the non named parameters to the input of the new objects - the
        first non named parameter in the first input, etc.

        The named parameters are used by calling the method with the same name prefixed by 'Set'.

        Ex:

          itkEllipseSpatialObject2.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

          obj = itkEllipseSpatialObject2.New()
          obj.SetInput( 0, reader.GetOutput() )
          obj.SetThreshold( 10 )
        """
        obj = itkEllipseSpatialObject2.__New_orig__()
        import itkTemplate
        itkTemplate.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkEllipseSpatialObject2 in _itkEllipseSpatialObjectPython:
_itkEllipseSpatialObjectPython.itkEllipseSpatialObject2_swigregister(itkEllipseSpatialObject2)
class itkEllipseSpatialObject3(itkSpatialObjectBasePython.itkSpatialObject3):
    r"""Proxy of C++ itkEllipseSpatialObject3 class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __New_orig__ = _swig_new_static_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3___New_orig__)
    Clone = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3_Clone)
    SetRadius = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3_SetRadius)
    GetRadius = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3_GetRadius)
    ValueAt = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3_ValueAt)
    IsEvaluableAt = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3_IsEvaluableAt)
    IsInside = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3_IsInside)
    __swig_destroy__ = _itkEllipseSpatialObjectPython.delete_itkEllipseSpatialObject3
    cast = _swig_new_static_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3_cast)
    GetPointer = _swig_new_instance_method(_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3_GetPointer)

    def New(*args, **kargs):
        """New() -> itkEllipseSpatialObject3

        Create a new object of the class itkEllipseSpatialObject3 and set the input and the parameters if some
        named or non-named arguments are passed to that method.

        New() tries to assign all the non named parameters to the input of the new objects - the
        first non named parameter in the first input, etc.

        The named parameters are used by calling the method with the same name prefixed by 'Set'.

        Ex:

          itkEllipseSpatialObject3.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

          obj = itkEllipseSpatialObject3.New()
          obj.SetInput( 0, reader.GetOutput() )
          obj.SetThreshold( 10 )
        """
        obj = itkEllipseSpatialObject3.__New_orig__()
        import itkTemplate
        itkTemplate.New(obj, *args, **kargs)
        return obj
    New = staticmethod(New)


# Register itkEllipseSpatialObject3 in _itkEllipseSpatialObjectPython:
_itkEllipseSpatialObjectPython.itkEllipseSpatialObject3_swigregister(itkEllipseSpatialObject3)

