# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# 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
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_yafqt')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_yafqt')
    _yafqt = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_yafqt', [dirname(__file__)])
        except ImportError:
            import _yafqt
            return _yafqt
        try:
            _mod = imp.load_module('_yafqt', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _yafqt = swig_import_helper()
    del swig_import_helper
else:
    import _yafqt
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


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,)

try:
    _object = object
    _newclass = 1
except __builtin__.Exception:
    class _object:
        pass
    _newclass = 0


def new_floatp() -> "float *":
    return _yafqt.new_floatp()
new_floatp = _yafqt.new_floatp

def copy_floatp(value: 'float') -> "float *":
    return _yafqt.copy_floatp(value)
copy_floatp = _yafqt.copy_floatp

def delete_floatp(obj: 'float *') -> "void":
    return _yafqt.delete_floatp(obj)
delete_floatp = _yafqt.delete_floatp

def floatp_assign(obj: 'float *', value: 'float') -> "void":
    return _yafqt.floatp_assign(obj, value)
floatp_assign = _yafqt.floatp_assign

def floatp_value(obj: 'float *') -> "float":
    return _yafqt.floatp_value(obj)
floatp_value = _yafqt.floatp_value

def new_intp() -> "int *":
    return _yafqt.new_intp()
new_intp = _yafqt.new_intp

def copy_intp(value: 'int') -> "int *":
    return _yafqt.copy_intp(value)
copy_intp = _yafqt.copy_intp

def delete_intp(obj: 'int *') -> "void":
    return _yafqt.delete_intp(obj)
delete_intp = _yafqt.delete_intp

def intp_assign(obj: 'int *', value: 'int') -> "void":
    return _yafqt.intp_assign(obj, value)
intp_assign = _yafqt.intp_assign

def intp_value(obj: 'int *') -> "int":
    return _yafqt.intp_value(obj)
intp_value = _yafqt.intp_value

def new_uintp() -> "unsigned int *":
    return _yafqt.new_uintp()
new_uintp = _yafqt.new_uintp

def copy_uintp(value: 'unsigned int') -> "unsigned int *":
    return _yafqt.copy_uintp(value)
copy_uintp = _yafqt.copy_uintp

def delete_uintp(obj: 'unsigned int *') -> "void":
    return _yafqt.delete_uintp(obj)
delete_uintp = _yafqt.delete_uintp

def uintp_assign(obj: 'unsigned int *', value: 'unsigned int') -> "void":
    return _yafqt.uintp_assign(obj, value)
uintp_assign = _yafqt.uintp_assign

def uintp_value(obj: 'unsigned int *') -> "unsigned int":
    return _yafqt.uintp_value(obj)
uintp_value = _yafqt.uintp_value

def new_floatArray(nelements: 'size_t') -> "float *":
    return _yafqt.new_floatArray(nelements)
new_floatArray = _yafqt.new_floatArray

def delete_floatArray(ary: 'float *') -> "void":
    return _yafqt.delete_floatArray(ary)
delete_floatArray = _yafqt.delete_floatArray

def floatArray_getitem(ary: 'float *', index: 'size_t') -> "float":
    return _yafqt.floatArray_getitem(ary, index)
floatArray_getitem = _yafqt.floatArray_getitem

def floatArray_setitem(ary: 'float *', index: 'size_t', value: 'float') -> "void":
    return _yafqt.floatArray_setitem(ary, index, value)
floatArray_setitem = _yafqt.floatArray_setitem
class Settings(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Settings, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Settings, name)
    __repr__ = _swig_repr
    __swig_setmethods__["autoSave"] = _yafqt.Settings_autoSave_set
    __swig_getmethods__["autoSave"] = _yafqt.Settings_autoSave_get
    if _newclass:
        autoSave = _swig_property(_yafqt.Settings_autoSave_get, _yafqt.Settings_autoSave_set)
    __swig_setmethods__["autoSaveAlpha"] = _yafqt.Settings_autoSaveAlpha_set
    __swig_getmethods__["autoSaveAlpha"] = _yafqt.Settings_autoSaveAlpha_get
    if _newclass:
        autoSaveAlpha = _swig_property(_yafqt.Settings_autoSaveAlpha_get, _yafqt.Settings_autoSaveAlpha_set)
    __swig_setmethods__["closeAfterFinish"] = _yafqt.Settings_closeAfterFinish_set
    __swig_getmethods__["closeAfterFinish"] = _yafqt.Settings_closeAfterFinish_get
    if _newclass:
        closeAfterFinish = _swig_property(_yafqt.Settings_closeAfterFinish_get, _yafqt.Settings_closeAfterFinish_set)
    __swig_setmethods__["fileName"] = _yafqt.Settings_fileName_set
    __swig_getmethods__["fileName"] = _yafqt.Settings_fileName_get
    if _newclass:
        fileName = _swig_property(_yafqt.Settings_fileName_get, _yafqt.Settings_fileName_set)

    def __init__(self):
        this = _yafqt.new_Settings()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _yafqt.delete_Settings
    __del__ = lambda self: None
Settings_swigregister = _yafqt.Settings_swigregister
Settings_swigregister(Settings)


def initGui() -> "void":
    return _yafqt.initGui()
initGui = _yafqt.initGui

def createRenderWidget(interf: 'yafaray::yafrayInterface_t *', xsize: 'int', ysize: 'int', bStartX: 'int', bStartY: 'int', settings: 'Settings') -> "int":
    return _yafqt.createRenderWidget(interf, xsize, ysize, bStartX, bStartY, settings)
createRenderWidget = _yafqt.createRenderWidget
# This file is compatible with both classic and new-style classes.


