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

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

_swig_new_instance_method = _itkHistogramPython.SWIG_PyInstanceMethod_New
_swig_new_static_method = _itkHistogramPython.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 itkSamplePython
import ITKCommonBasePython
import pyBasePython
import itkArrayPython
import vnl_vectorPython
import vnl_matrixPython
import stdcomplexPython
import itkVectorPython
import vnl_vector_refPython
import itkFixedArrayPython

def itkSimpleDataObjectDecoratorHD_New():
  return itkSimpleDataObjectDecoratorHD.New()


def itkSimpleDataObjectDecoratorHF_New():
  return itkSimpleDataObjectDecoratorHF.New()


def itkHistogramD_New():
  return itkHistogramD.New()


def itkHistogramF_New():
  return itkHistogramF.New()

class itkHistogramD(itkSamplePython.itkSampleAD):
    r"""Proxy of C++ itkHistogramD 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(_itkHistogramPython.itkHistogramD___New_orig__)
    Clone = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_Clone)
    Initialize = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_Initialize)
    SetToZero = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_SetToZero)
    GetIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetIndex)
    GetClipBinsAtEnds = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetClipBinsAtEnds)
    SetClipBinsAtEnds = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_SetClipBinsAtEnds)
    IsIndexOutOfBounds = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_IsIndexOutOfBounds)
    GetInstanceIdentifier = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetInstanceIdentifier)
    GetSize = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetSize)
    GetBinMin = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetBinMin)
    GetBinMax = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetBinMax)
    SetBinMin = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_SetBinMin)
    SetBinMax = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_SetBinMax)
    GetBinMinFromValue = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetBinMinFromValue)
    GetBinMaxFromValue = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetBinMaxFromValue)
    GetDimensionMins = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetDimensionMins)
    GetDimensionMaxs = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetDimensionMaxs)
    GetMins = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetMins)
    GetMaxs = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetMaxs)
    GetHistogramMinFromIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetHistogramMinFromIndex)
    GetHistogramMaxFromIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetHistogramMaxFromIndex)
    SetFrequency = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_SetFrequency)
    SetFrequencyOfIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_SetFrequencyOfIndex)
    SetFrequencyOfMeasurement = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_SetFrequencyOfMeasurement)
    IncreaseFrequency = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_IncreaseFrequency)
    IncreaseFrequencyOfIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_IncreaseFrequencyOfIndex)
    IncreaseFrequencyOfMeasurement = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_IncreaseFrequencyOfMeasurement)
    GetMeasurementVector = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetMeasurementVector)
    GetMeasurement = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetMeasurement)
    GetFrequency = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetFrequency)
    Quantile = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_Quantile)
    Mean = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_Mean)
    __swig_destroy__ = _itkHistogramPython.delete_itkHistogramD
    cast = _swig_new_static_method(_itkHistogramPython.itkHistogramD_cast)
    GetPointer = _swig_new_instance_method(_itkHistogramPython.itkHistogramD_GetPointer)

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

        Create a new object of the class itkHistogramD 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:

          itkHistogramD.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

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


# Register itkHistogramD in _itkHistogramPython:
_itkHistogramPython.itkHistogramD_swigregister(itkHistogramD)
class itkHistogramF(itkSamplePython.itkSampleAF):
    r"""Proxy of C++ itkHistogramF 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(_itkHistogramPython.itkHistogramF___New_orig__)
    Clone = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_Clone)
    Initialize = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_Initialize)
    SetToZero = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_SetToZero)
    GetIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetIndex)
    GetClipBinsAtEnds = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetClipBinsAtEnds)
    SetClipBinsAtEnds = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_SetClipBinsAtEnds)
    IsIndexOutOfBounds = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_IsIndexOutOfBounds)
    GetInstanceIdentifier = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetInstanceIdentifier)
    GetSize = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetSize)
    GetBinMin = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetBinMin)
    GetBinMax = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetBinMax)
    SetBinMin = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_SetBinMin)
    SetBinMax = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_SetBinMax)
    GetBinMinFromValue = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetBinMinFromValue)
    GetBinMaxFromValue = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetBinMaxFromValue)
    GetDimensionMins = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetDimensionMins)
    GetDimensionMaxs = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetDimensionMaxs)
    GetMins = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetMins)
    GetMaxs = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetMaxs)
    GetHistogramMinFromIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetHistogramMinFromIndex)
    GetHistogramMaxFromIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetHistogramMaxFromIndex)
    SetFrequency = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_SetFrequency)
    SetFrequencyOfIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_SetFrequencyOfIndex)
    SetFrequencyOfMeasurement = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_SetFrequencyOfMeasurement)
    IncreaseFrequency = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_IncreaseFrequency)
    IncreaseFrequencyOfIndex = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_IncreaseFrequencyOfIndex)
    IncreaseFrequencyOfMeasurement = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_IncreaseFrequencyOfMeasurement)
    GetMeasurementVector = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetMeasurementVector)
    GetMeasurement = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetMeasurement)
    GetFrequency = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetFrequency)
    Quantile = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_Quantile)
    Mean = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_Mean)
    __swig_destroy__ = _itkHistogramPython.delete_itkHistogramF
    cast = _swig_new_static_method(_itkHistogramPython.itkHistogramF_cast)
    GetPointer = _swig_new_instance_method(_itkHistogramPython.itkHistogramF_GetPointer)

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

        Create a new object of the class itkHistogramF 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:

          itkHistogramF.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

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


# Register itkHistogramF in _itkHistogramPython:
_itkHistogramPython.itkHistogramF_swigregister(itkHistogramF)
class itkSimpleDataObjectDecoratorHD(ITKCommonBasePython.itkDataObject):
    r"""Proxy of C++ itkSimpleDataObjectDecoratorHD 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(_itkHistogramPython.itkSimpleDataObjectDecoratorHD___New_orig__)
    Clone = _swig_new_instance_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHD_Clone)
    Set = _swig_new_instance_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHD_Set)
    Get = _swig_new_instance_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHD_Get)
    __swig_destroy__ = _itkHistogramPython.delete_itkSimpleDataObjectDecoratorHD
    cast = _swig_new_static_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHD_cast)
    GetPointer = _swig_new_instance_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHD_GetPointer)

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

        Create a new object of the class itkSimpleDataObjectDecoratorHD 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:

          itkSimpleDataObjectDecoratorHD.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

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


# Register itkSimpleDataObjectDecoratorHD in _itkHistogramPython:
_itkHistogramPython.itkSimpleDataObjectDecoratorHD_swigregister(itkSimpleDataObjectDecoratorHD)
class itkSimpleDataObjectDecoratorHF(ITKCommonBasePython.itkDataObject):
    r"""Proxy of C++ itkSimpleDataObjectDecoratorHF 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(_itkHistogramPython.itkSimpleDataObjectDecoratorHF___New_orig__)
    Clone = _swig_new_instance_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHF_Clone)
    Set = _swig_new_instance_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHF_Set)
    Get = _swig_new_instance_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHF_Get)
    __swig_destroy__ = _itkHistogramPython.delete_itkSimpleDataObjectDecoratorHF
    cast = _swig_new_static_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHF_cast)
    GetPointer = _swig_new_instance_method(_itkHistogramPython.itkSimpleDataObjectDecoratorHF_GetPointer)

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

        Create a new object of the class itkSimpleDataObjectDecoratorHF 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:

          itkSimpleDataObjectDecoratorHF.New( reader, Threshold=10 )

        is (most of the time) equivalent to:

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


# Register itkSimpleDataObjectDecoratorHF in _itkHistogramPython:
_itkHistogramPython.itkSimpleDataObjectDecoratorHF_swigregister(itkSimpleDataObjectDecoratorHF)

