# 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, '_yafaray_v3_interface')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_yafaray_v3_interface')
    _yafaray_v3_interface = 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('_yafaray_v3_interface', [dirname(__file__)])
        except ImportError:
            import _yafaray_v3_interface
            return _yafaray_v3_interface
        try:
            _mod = imp.load_module('_yafaray_v3_interface', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _yafaray_v3_interface = swig_import_helper()
    del swig_import_helper
else:
    import _yafaray_v3_interface
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 _yafaray_v3_interface.new_floatp()
new_floatp = _yafaray_v3_interface.new_floatp

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

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

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

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

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

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

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

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

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

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

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

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

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

def uintp_value(obj: 'unsigned int *') -> "unsigned int":
    return _yafaray_v3_interface.uintp_value(obj)
uintp_value = _yafaray_v3_interface.uintp_value
class SwigPyIterator(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _yafaray_v3_interface.delete_SwigPyIterator
    __del__ = lambda self: None

    def value(self) -> "PyObject *":
        return _yafaray_v3_interface.SwigPyIterator_value(self)

    def incr(self, n: 'size_t'=1) -> "swig::SwigPyIterator *":
        return _yafaray_v3_interface.SwigPyIterator_incr(self, n)

    def decr(self, n: 'size_t'=1) -> "swig::SwigPyIterator *":
        return _yafaray_v3_interface.SwigPyIterator_decr(self, n)

    def distance(self, x: 'SwigPyIterator') -> "ptrdiff_t":
        return _yafaray_v3_interface.SwigPyIterator_distance(self, x)

    def equal(self, x: 'SwigPyIterator') -> "bool":
        return _yafaray_v3_interface.SwigPyIterator_equal(self, x)

    def copy(self) -> "swig::SwigPyIterator *":
        return _yafaray_v3_interface.SwigPyIterator_copy(self)

    def next(self) -> "PyObject *":
        return _yafaray_v3_interface.SwigPyIterator_next(self)

    def __next__(self) -> "PyObject *":
        return _yafaray_v3_interface.SwigPyIterator___next__(self)

    def previous(self) -> "PyObject *":
        return _yafaray_v3_interface.SwigPyIterator_previous(self)

    def advance(self, n: 'ptrdiff_t') -> "swig::SwigPyIterator *":
        return _yafaray_v3_interface.SwigPyIterator_advance(self, n)

    def __eq__(self, x: 'SwigPyIterator') -> "bool":
        return _yafaray_v3_interface.SwigPyIterator___eq__(self, x)

    def __ne__(self, x: 'SwigPyIterator') -> "bool":
        return _yafaray_v3_interface.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n: 'ptrdiff_t') -> "swig::SwigPyIterator &":
        return _yafaray_v3_interface.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n: 'ptrdiff_t') -> "swig::SwigPyIterator &":
        return _yafaray_v3_interface.SwigPyIterator___isub__(self, n)

    def __add__(self, n: 'ptrdiff_t') -> "swig::SwigPyIterator *":
        return _yafaray_v3_interface.SwigPyIterator___add__(self, n)

    def __sub__(self, *args) -> "ptrdiff_t":
        return _yafaray_v3_interface.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self
SwigPyIterator_swigregister = _yafaray_v3_interface.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)


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

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

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

def floatArray_setitem(ary: 'float *', index: 'size_t', value: 'float') -> "void":
    return _yafaray_v3_interface.floatArray_setitem(ary, index, value)
floatArray_setitem = _yafaray_v3_interface.floatArray_setitem
class StrVector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, StrVector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, StrVector, name)
    __repr__ = _swig_repr

    def iterator(self) -> "swig::SwigPyIterator *":
        return _yafaray_v3_interface.StrVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self) -> "bool":
        return _yafaray_v3_interface.StrVector___nonzero__(self)

    def __bool__(self) -> "bool":
        return _yafaray_v3_interface.StrVector___bool__(self)

    def __len__(self) -> "std::vector< std::string >::size_type":
        return _yafaray_v3_interface.StrVector___len__(self)

    def __getslice__(self, i: 'std::vector< std::string >::difference_type', j: 'std::vector< std::string >::difference_type') -> "std::vector< std::string,std::allocator< std::string > > *":
        return _yafaray_v3_interface.StrVector___getslice__(self, i, j)

    def __setslice__(self, *args) -> "void":
        return _yafaray_v3_interface.StrVector___setslice__(self, *args)

    def __delslice__(self, i: 'std::vector< std::string >::difference_type', j: 'std::vector< std::string >::difference_type') -> "void":
        return _yafaray_v3_interface.StrVector___delslice__(self, i, j)

    def __delitem__(self, *args) -> "void":
        return _yafaray_v3_interface.StrVector___delitem__(self, *args)

    def __getitem__(self, *args) -> "std::vector< std::string >::value_type const &":
        return _yafaray_v3_interface.StrVector___getitem__(self, *args)

    def __setitem__(self, *args) -> "void":
        return _yafaray_v3_interface.StrVector___setitem__(self, *args)

    def pop(self) -> "std::vector< std::string >::value_type":
        return _yafaray_v3_interface.StrVector_pop(self)

    def append(self, x: 'std::vector< std::string >::value_type const &') -> "void":
        return _yafaray_v3_interface.StrVector_append(self, x)

    def empty(self) -> "bool":
        return _yafaray_v3_interface.StrVector_empty(self)

    def size(self) -> "std::vector< std::string >::size_type":
        return _yafaray_v3_interface.StrVector_size(self)

    def swap(self, v: 'StrVector') -> "void":
        return _yafaray_v3_interface.StrVector_swap(self, v)

    def begin(self) -> "std::vector< std::string >::iterator":
        return _yafaray_v3_interface.StrVector_begin(self)

    def end(self) -> "std::vector< std::string >::iterator":
        return _yafaray_v3_interface.StrVector_end(self)

    def rbegin(self) -> "std::vector< std::string >::reverse_iterator":
        return _yafaray_v3_interface.StrVector_rbegin(self)

    def rend(self) -> "std::vector< std::string >::reverse_iterator":
        return _yafaray_v3_interface.StrVector_rend(self)

    def clear(self) -> "void":
        return _yafaray_v3_interface.StrVector_clear(self)

    def get_allocator(self) -> "std::vector< std::string >::allocator_type":
        return _yafaray_v3_interface.StrVector_get_allocator(self)

    def pop_back(self) -> "void":
        return _yafaray_v3_interface.StrVector_pop_back(self)

    def erase(self, *args) -> "std::vector< std::string >::iterator":
        return _yafaray_v3_interface.StrVector_erase(self, *args)

    def __init__(self, *args):
        this = _yafaray_v3_interface.new_StrVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x: 'std::vector< std::string >::value_type const &') -> "void":
        return _yafaray_v3_interface.StrVector_push_back(self, x)

    def front(self) -> "std::vector< std::string >::value_type const &":
        return _yafaray_v3_interface.StrVector_front(self)

    def back(self) -> "std::vector< std::string >::value_type const &":
        return _yafaray_v3_interface.StrVector_back(self)

    def assign(self, n: 'std::vector< std::string >::size_type', x: 'std::vector< std::string >::value_type const &') -> "void":
        return _yafaray_v3_interface.StrVector_assign(self, n, x)

    def resize(self, *args) -> "void":
        return _yafaray_v3_interface.StrVector_resize(self, *args)

    def insert(self, *args) -> "void":
        return _yafaray_v3_interface.StrVector_insert(self, *args)

    def reserve(self, n: 'std::vector< std::string >::size_type') -> "void":
        return _yafaray_v3_interface.StrVector_reserve(self, n)

    def capacity(self) -> "std::vector< std::string >::size_type":
        return _yafaray_v3_interface.StrVector_capacity(self)
    __swig_destroy__ = _yafaray_v3_interface.delete_StrVector
    __del__ = lambda self: None
StrVector_swigregister = _yafaray_v3_interface.StrVector_swigregister
StrVector_swigregister(StrVector)

class colorOutput_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, colorOutput_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, colorOutput_t, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _yafaray_v3_interface.delete_colorOutput_t
    __del__ = lambda self: None

    def initTilesPasses(self, totalViews: 'int', numExtPasses: 'int') -> "void":
        return _yafaray_v3_interface.colorOutput_t_initTilesPasses(self, totalViews, numExtPasses)

    def putPixel(self, *args) -> "bool":
        return _yafaray_v3_interface.colorOutput_t_putPixel(self, *args)

    def flush(self, numView: 'int', renderPasses: 'renderPasses_t const *') -> "void":
        return _yafaray_v3_interface.colorOutput_t_flush(self, numView, renderPasses)

    def flushArea(self, numView: 'int', x0: 'int', y0: 'int', x1: 'int', y1: 'int', renderPasses: 'renderPasses_t const *') -> "void":
        return _yafaray_v3_interface.colorOutput_t_flushArea(self, numView, x0, y0, x1, y1, renderPasses)

    def highliteArea(self, numView: 'int', x0: 'int', y0: 'int', x1: 'int', y1: 'int') -> "void":
        return _yafaray_v3_interface.colorOutput_t_highliteArea(self, numView, x0, y0, x1, y1)

    def isImageOutput(self) -> "bool":
        return _yafaray_v3_interface.colorOutput_t_isImageOutput(self)

    def isPreview(self) -> "bool":
        return _yafaray_v3_interface.colorOutput_t_isPreview(self)

    def getDenoiseParams(self) -> "std::string":
        return _yafaray_v3_interface.colorOutput_t_getDenoiseParams(self)
colorOutput_t_swigregister = _yafaray_v3_interface.colorOutput_t_swigregister
colorOutput_t_swigregister(colorOutput_t)

class imageHandler_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, imageHandler_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, imageHandler_t, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _yafaray_v3_interface.delete_imageHandler_t
    __del__ = lambda self: None

    def loadFromFile(self, name: 'std::string const &') -> "bool":
        return _yafaray_v3_interface.imageHandler_t_loadFromFile(self, name)

    def loadFromMemory(self, data: 'yByte const *', size: 'size_t') -> "bool":
        return _yafaray_v3_interface.imageHandler_t_loadFromMemory(self, data, size)

    def saveToFile(self, name: 'std::string const &', imgIndex: 'int'=0) -> "bool":
        return _yafaray_v3_interface.imageHandler_t_saveToFile(self, name, imgIndex)

    def saveToFileMultiChannel(self, name: 'std::string const &', renderPasses: 'renderPasses_t const *') -> "bool":
        return _yafaray_v3_interface.imageHandler_t_saveToFileMultiChannel(self, name, renderPasses)

    def isHDR(self) -> "bool":
        return _yafaray_v3_interface.imageHandler_t_isHDR(self)

    def isMultiLayer(self) -> "bool":
        return _yafaray_v3_interface.imageHandler_t_isMultiLayer(self)

    def denoiseEnabled(self) -> "bool":
        return _yafaray_v3_interface.imageHandler_t_denoiseEnabled(self)

    def getTextureOptimization(self) -> "int":
        return _yafaray_v3_interface.imageHandler_t_getTextureOptimization(self)

    def setTextureOptimization(self, texture_optimization: 'int') -> "void":
        return _yafaray_v3_interface.imageHandler_t_setTextureOptimization(self, texture_optimization)

    def setGrayScaleSetting(self, grayscale: 'bool') -> "void":
        return _yafaray_v3_interface.imageHandler_t_setGrayScaleSetting(self, grayscale)

    def getWidth(self, imgIndex: 'int'=0) -> "int":
        return _yafaray_v3_interface.imageHandler_t_getWidth(self, imgIndex)

    def getHeight(self, imgIndex: 'int'=0) -> "int":
        return _yafaray_v3_interface.imageHandler_t_getHeight(self, imgIndex)

    def getDenoiseParams(self) -> "std::string":
        return _yafaray_v3_interface.imageHandler_t_getDenoiseParams(self)

    def generateMipMaps(self) -> "void":
        return _yafaray_v3_interface.imageHandler_t_generateMipMaps(self)

    def getHighestImgIndex(self) -> "int":
        return _yafaray_v3_interface.imageHandler_t_getHighestImgIndex(self)

    def setColorSpace(self, color_space: 'colorSpaces_t', gamma: 'float') -> "void":
        return _yafaray_v3_interface.imageHandler_t_setColorSpace(self, color_space, gamma)

    def putPixel(self, x: 'int', y: 'int', rgba: 'colorA_t const &', imgIndex: 'int'=0) -> "void":
        return _yafaray_v3_interface.imageHandler_t_putPixel(self, x, y, rgba, imgIndex)

    def getPixel(self, x: 'int', y: 'int', imgIndex: 'int'=0) -> "colorA_t":
        return _yafaray_v3_interface.imageHandler_t_getPixel(self, x, y, imgIndex)

    def initForOutput(self, width: 'int', height: 'int', renderPasses: 'renderPasses_t const *', denoiseEnabled: 'bool', denoiseHLum: 'int', denoiseHCol: 'int', denoiseMix: 'float', withAlpha: 'bool'=False, multi_layer: 'bool'=False, grayscale: 'bool'=False) -> "void":
        return _yafaray_v3_interface.imageHandler_t_initForOutput(self, width, height, renderPasses, denoiseEnabled, denoiseHLum, denoiseHCol, denoiseMix, withAlpha, multi_layer, grayscale)

    def clearImgBuffers(self) -> "void":
        return _yafaray_v3_interface.imageHandler_t_clearImgBuffers(self)
imageHandler_t_swigregister = _yafaray_v3_interface.imageHandler_t_swigregister
imageHandler_t_swigregister(imageHandler_t)

class imageOutput_t(colorOutput_t):
    __swig_setmethods__ = {}
    for _s in [colorOutput_t]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, imageOutput_t, name, value)
    __swig_getmethods__ = {}
    for _s in [colorOutput_t]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, imageOutput_t, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _yafaray_v3_interface.new_imageOutput_t(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _yafaray_v3_interface.delete_imageOutput_t
    __del__ = lambda self: None

    def putPixel(self, *args) -> "bool":
        return _yafaray_v3_interface.imageOutput_t_putPixel(self, *args)

    def flush(self, numView: 'int', renderPasses: 'renderPasses_t const *') -> "void":
        return _yafaray_v3_interface.imageOutput_t_flush(self, numView, renderPasses)

    def flushArea(self, numView: 'int', x0: 'int', y0: 'int', x1: 'int', y1: 'int', renderPasses: 'renderPasses_t const *') -> "void":
        return _yafaray_v3_interface.imageOutput_t_flushArea(self, numView, x0, y0, x1, y1, renderPasses)

    def isImageOutput(self) -> "bool":
        return _yafaray_v3_interface.imageOutput_t_isImageOutput(self)

    def getDenoiseParams(self) -> "std::string":
        return _yafaray_v3_interface.imageOutput_t_getDenoiseParams(self)

    def saveImageFile(self, filename: 'std::string', idx: 'int') -> "void":
        return _yafaray_v3_interface.imageOutput_t_saveImageFile(self, filename, idx)

    def saveImageFileMultiChannel(self, filename: 'std::string', renderPasses: 'renderPasses_t const *') -> "void":
        return _yafaray_v3_interface.imageOutput_t_saveImageFileMultiChannel(self, filename, renderPasses)
imageOutput_t_swigregister = _yafaray_v3_interface.imageOutput_t_swigregister
imageOutput_t_swigregister(imageOutput_t)

class memoryIO_t(colorOutput_t):
    __swig_setmethods__ = {}
    for _s in [colorOutput_t]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, memoryIO_t, name, value)
    __swig_getmethods__ = {}
    for _s in [colorOutput_t]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, memoryIO_t, name)
    __repr__ = _swig_repr

    def __init__(self, resx: 'int', resy: 'int', iMem: 'float *'):
        this = _yafaray_v3_interface.new_memoryIO_t(resx, resy, iMem)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def putPixel(self, *args) -> "bool":
        return _yafaray_v3_interface.memoryIO_t_putPixel(self, *args)

    def flush(self, numView: 'int', renderPasses: 'renderPasses_t const *') -> "void":
        return _yafaray_v3_interface.memoryIO_t_flush(self, numView, renderPasses)

    def flushArea(self, numView: 'int', x0: 'int', y0: 'int', x1: 'int', y1: 'int', renderPasses: 'renderPasses_t const *') -> "void":
        return _yafaray_v3_interface.memoryIO_t_flushArea(self, numView, x0, y0, x1, y1, renderPasses)
    __swig_destroy__ = _yafaray_v3_interface.delete_memoryIO_t
    __del__ = lambda self: None
memoryIO_t_swigregister = _yafaray_v3_interface.memoryIO_t_swigregister
memoryIO_t_swigregister(memoryIO_t)

class matrix4x4_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, matrix4x4_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, matrix4x4_t, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _yafaray_v3_interface.new_matrix4x4_t(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _yafaray_v3_interface.delete_matrix4x4_t
    __del__ = lambda self: None

    def inverse(self) -> "yafaray::matrix4x4_t &":
        return _yafaray_v3_interface.matrix4x4_t_inverse(self)

    def transpose(self) -> "yafaray::matrix4x4_t &":
        return _yafaray_v3_interface.matrix4x4_t_transpose(self)

    def identity(self) -> "void":
        return _yafaray_v3_interface.matrix4x4_t_identity(self)

    def translate(self, dx: 'float', dy: 'float', dz: 'float') -> "void":
        return _yafaray_v3_interface.matrix4x4_t_translate(self, dx, dy, dz)

    def rotateX(self, degrees: 'float') -> "void":
        return _yafaray_v3_interface.matrix4x4_t_rotateX(self, degrees)

    def rotateY(self, degrees: 'float') -> "void":
        return _yafaray_v3_interface.matrix4x4_t_rotateY(self, degrees)

    def rotateZ(self, degrees: 'float') -> "void":
        return _yafaray_v3_interface.matrix4x4_t_rotateZ(self, degrees)

    def scale(self, sx: 'float', sy: 'float', sz: 'float') -> "void":
        return _yafaray_v3_interface.matrix4x4_t_scale(self, sx, sy, sz)

    def invalid(self) -> "int":
        return _yafaray_v3_interface.matrix4x4_t_invalid(self)

    def setVal(self, row: 'int', col: 'int', val: 'float') -> "void":
        return _yafaray_v3_interface.matrix4x4_t_setVal(self, row, col, val)

    def getVal(self, row: 'int', col: 'int') -> "float":
        return _yafaray_v3_interface.matrix4x4_t_getVal(self, row, col)
matrix4x4_t_swigregister = _yafaray_v3_interface.matrix4x4_t_swigregister
matrix4x4_t_swigregister(matrix4x4_t)

class yafrayInterface_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, yafrayInterface_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, yafrayInterface_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _yafaray_v3_interface.new_yafrayInterface_t()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _yafaray_v3_interface.delete_yafrayInterface_t
    __del__ = lambda self: None

    def loadPlugins(self, path: 'char const *') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_loadPlugins(self, path)

    def startGeometry(self) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_startGeometry(self)

    def endGeometry(self) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_endGeometry(self)

    def getNextFreeID(self) -> "unsigned int":
        return _yafaray_v3_interface.yafrayInterface_t_getNextFreeID(self)

    def startTriMesh(self, id: 'unsigned int', vertices: 'int', triangles: 'int', hasOrco: 'bool', hasUV: 'bool'=False, type: 'int'=0, obj_pass_index: 'int'=0) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_startTriMesh(self, id, vertices, triangles, hasOrco, hasUV, type, obj_pass_index)

    def startCurveMesh(self, id: 'unsigned int', vertices: 'int', obj_pass_index: 'int'=0) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_startCurveMesh(self, id, vertices, obj_pass_index)

    def startTriMeshPtr(self, id: 'unsigned int *', vertices: 'int', triangles: 'int', hasOrco: 'bool', hasUV: 'bool'=False, type: 'int'=0, obj_pass_index: 'int'=0) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_startTriMeshPtr(self, id, vertices, triangles, hasOrco, hasUV, type, obj_pass_index)

    def endTriMesh(self) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_endTriMesh(self)

    def endCurveMesh(self, mat: 'material_t const *', strandStart: 'float', strandEnd: 'float', strandShape: 'float') -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_endCurveMesh(self, mat, strandStart, strandEnd, strandShape)

    def addVertex(self, *args) -> "int":
        return _yafaray_v3_interface.yafrayInterface_t_addVertex(self, *args)

    def addNormal(self, nx: 'double', ny: 'double', nz: 'double') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_addNormal(self, nx, ny, nz)

    def addTriangle(self, *args) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_addTriangle(self, *args)

    def addUV(self, u: 'float', v: 'float') -> "int":
        return _yafaray_v3_interface.yafrayInterface_t_addUV(self, u, v)

    def smoothMesh(self, id: 'unsigned int', angle: 'double') -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_smoothMesh(self, id, angle)

    def addInstance(self, baseObjectId: 'unsigned int', objToWorld: 'matrix4x4_t') -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_addInstance(self, baseObjectId, objToWorld)

    def paramsSetPoint(self, name: 'char const *', x: 'double', y: 'double', z: 'double') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsSetPoint(self, name, x, y, z)

    def paramsSetString(self, name: 'char const *', s: 'char const *') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsSetString(self, name, s)

    def paramsSetBool(self, name: 'char const *', b: 'bool') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsSetBool(self, name, b)

    def paramsSetInt(self, name: 'char const *', i: 'int') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsSetInt(self, name, i)

    def paramsSetFloat(self, name: 'char const *', f: 'double') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsSetFloat(self, name, f)

    def paramsSetColor(self, *args) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsSetColor(self, *args)

    def paramsSetMatrix(self, *args) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsSetMatrix(self, *args)

    def paramsSetMemMatrix(self, *args) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsSetMemMatrix(self, *args)

    def paramsClearAll(self) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsClearAll(self)

    def paramsStartList(self) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsStartList(self)

    def paramsPushList(self) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsPushList(self)

    def paramsEndList(self) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_paramsEndList(self)

    def createLight(self, name: 'char const *') -> "light_t *":
        return _yafaray_v3_interface.yafrayInterface_t_createLight(self, name)

    def createTexture(self, name: 'char const *') -> "texture_t *":
        return _yafaray_v3_interface.yafrayInterface_t_createTexture(self, name)

    def createMaterial(self, name: 'char const *') -> "material_t *":
        return _yafaray_v3_interface.yafrayInterface_t_createMaterial(self, name)

    def createCamera(self, name: 'char const *') -> "camera_t *":
        return _yafaray_v3_interface.yafrayInterface_t_createCamera(self, name)

    def createBackground(self, name: 'char const *') -> "background_t *":
        return _yafaray_v3_interface.yafrayInterface_t_createBackground(self, name)

    def createIntegrator(self, name: 'char const *') -> "integrator_t *":
        return _yafaray_v3_interface.yafrayInterface_t_createIntegrator(self, name)

    def createVolumeRegion(self, name: 'char const *') -> "VolumeRegion *":
        return _yafaray_v3_interface.yafrayInterface_t_createVolumeRegion(self, name)

    def createImageHandler(self, name: 'char const *', addToTable: 'bool'=True) -> "yafaray::imageHandler_t *":
        return _yafaray_v3_interface.yafrayInterface_t_createImageHandler(self, name, addToTable)

    def createObject(self, name: 'char const *') -> "unsigned int":
        return _yafaray_v3_interface.yafrayInterface_t_createObject(self, name)

    def clearAll(self) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_clearAll(self)

    def startScene(self, type: 'int'=0) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_startScene(self, type)

    def setLoggingAndBadgeSettings(self) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_setLoggingAndBadgeSettings(self)

    def setupRenderPasses(self) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_setupRenderPasses(self)

    def setInteractive(self, interactive: 'bool') -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_setInteractive(self, interactive)

    def abort(self) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_abort(self)

    def getRenderParameters(self) -> "paraMap_t *":
        return _yafaray_v3_interface.yafrayInterface_t_getRenderParameters(self)

    def getRenderedImage(self, numView: 'int', output: 'colorOutput_t') -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_getRenderedImage(self, numView, output)

    def listImageHandlers(self) -> "std::vector< std::string,std::allocator< std::string > >":
        return _yafaray_v3_interface.yafrayInterface_t_listImageHandlers(self)

    def listImageHandlersFullName(self) -> "std::vector< std::string,std::allocator< std::string > >":
        return _yafaray_v3_interface.yafrayInterface_t_listImageHandlersFullName(self)

    def getImageFormatFromFullName(self, fullname: 'std::string const &') -> "std::string":
        return _yafaray_v3_interface.yafrayInterface_t_getImageFormatFromFullName(self, fullname)

    def getImageFullNameFromFormat(self, format: 'std::string const &') -> "std::string":
        return _yafaray_v3_interface.yafrayInterface_t_getImageFullNameFromFormat(self, format)

    def setConsoleVerbosityLevel(self, strVLevel: 'std::string const &') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_setConsoleVerbosityLevel(self, strVLevel)

    def setLogVerbosityLevel(self, strVLevel: 'std::string const &') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_setLogVerbosityLevel(self, strVLevel)

    def setParamsBadgePosition(self, *args) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_setParamsBadgePosition(self, *args)

    def getDrawParams(self) -> "bool":
        return _yafaray_v3_interface.yafrayInterface_t_getDrawParams(self)

    def getVersion(self) -> "char *":
        return _yafaray_v3_interface.yafrayInterface_t_getVersion(self)

    def printDebug(self, msg: 'std::string const &') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_printDebug(self, msg)

    def printVerbose(self, msg: 'std::string const &') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_printVerbose(self, msg)

    def printInfo(self, msg: 'std::string const &') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_printInfo(self, msg)

    def printParams(self, msg: 'std::string const &') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_printParams(self, msg)

    def printWarning(self, msg: 'std::string const &') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_printWarning(self, msg)

    def printError(self, msg: 'std::string const &') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_printError(self, msg)

    def setInputColorSpace(self, color_space_string: 'std::string', gammaVal: 'float') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_setInputColorSpace(self, color_space_string, gammaVal)

    def setOutput2(self, out2: 'colorOutput_t') -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_setOutput2(self, out2)

    def render(self, *args) -> "void":
        return _yafaray_v3_interface.yafrayInterface_t_render(self, *args)
yafrayInterface_t_swigregister = _yafaray_v3_interface.yafrayInterface_t_swigregister
yafrayInterface_t_swigregister(yafrayInterface_t)

class xmlInterface_t(yafrayInterface_t):
    __swig_setmethods__ = {}
    for _s in [yafrayInterface_t]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, xmlInterface_t, name, value)
    __swig_getmethods__ = {}
    for _s in [yafrayInterface_t]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, xmlInterface_t, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _yafaray_v3_interface.new_xmlInterface_t()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def loadPlugins(self, path: 'char const *') -> "void":
        return _yafaray_v3_interface.xmlInterface_t_loadPlugins(self, path)

    def setLoggingAndBadgeSettings(self) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_setLoggingAndBadgeSettings(self)

    def setupRenderPasses(self) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_setupRenderPasses(self)

    def startGeometry(self) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_startGeometry(self)

    def endGeometry(self) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_endGeometry(self)

    def getNextFreeID(self) -> "unsigned int":
        return _yafaray_v3_interface.xmlInterface_t_getNextFreeID(self)

    def startTriMesh(self, id: 'unsigned int', vertices: 'int', triangles: 'int', hasOrco: 'bool', hasUV: 'bool'=False, type: 'int'=0, obj_pass_index: 'int'=0) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_startTriMesh(self, id, vertices, triangles, hasOrco, hasUV, type, obj_pass_index)

    def startTriMeshPtr(self, id: 'unsigned int *', vertices: 'int', triangles: 'int', hasOrco: 'bool', hasUV: 'bool'=False, type: 'int'=0, obj_pass_index: 'int'=0) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_startTriMeshPtr(self, id, vertices, triangles, hasOrco, hasUV, type, obj_pass_index)

    def startCurveMesh(self, id: 'unsigned int', vertices: 'int', obj_pass_index: 'int'=0) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_startCurveMesh(self, id, vertices, obj_pass_index)

    def endTriMesh(self) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_endTriMesh(self)

    def addInstance(self, baseObjectId: 'unsigned int', objToWorld: 'matrix4x4_t') -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_addInstance(self, baseObjectId, objToWorld)

    def endCurveMesh(self, mat: 'material_t const *', strandStart: 'float', strandEnd: 'float', strandShape: 'float') -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_endCurveMesh(self, mat, strandStart, strandEnd, strandShape)

    def addVertex(self, *args) -> "int":
        return _yafaray_v3_interface.xmlInterface_t_addVertex(self, *args)

    def addNormal(self, nx: 'double', ny: 'double', nz: 'double') -> "void":
        return _yafaray_v3_interface.xmlInterface_t_addNormal(self, nx, ny, nz)

    def addTriangle(self, *args) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_addTriangle(self, *args)

    def addUV(self, u: 'float', v: 'float') -> "int":
        return _yafaray_v3_interface.xmlInterface_t_addUV(self, u, v)

    def smoothMesh(self, id: 'unsigned int', angle: 'double') -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_smoothMesh(self, id, angle)

    def createLight(self, name: 'char const *') -> "light_t *":
        return _yafaray_v3_interface.xmlInterface_t_createLight(self, name)

    def createTexture(self, name: 'char const *') -> "texture_t *":
        return _yafaray_v3_interface.xmlInterface_t_createTexture(self, name)

    def createMaterial(self, name: 'char const *') -> "material_t *":
        return _yafaray_v3_interface.xmlInterface_t_createMaterial(self, name)

    def createCamera(self, name: 'char const *') -> "camera_t *":
        return _yafaray_v3_interface.xmlInterface_t_createCamera(self, name)

    def createBackground(self, name: 'char const *') -> "background_t *":
        return _yafaray_v3_interface.xmlInterface_t_createBackground(self, name)

    def createIntegrator(self, name: 'char const *') -> "integrator_t *":
        return _yafaray_v3_interface.xmlInterface_t_createIntegrator(self, name)

    def createVolumeRegion(self, name: 'char const *') -> "VolumeRegion *":
        return _yafaray_v3_interface.xmlInterface_t_createVolumeRegion(self, name)

    def createObject(self, name: 'char const *') -> "unsigned int":
        return _yafaray_v3_interface.xmlInterface_t_createObject(self, name)

    def clearAll(self) -> "void":
        return _yafaray_v3_interface.xmlInterface_t_clearAll(self)

    def render(self, output: 'colorOutput_t', pb: 'progressBar_t *'=None) -> "void":
        return _yafaray_v3_interface.xmlInterface_t_render(self, output, pb)

    def startScene(self, type: 'int'=0) -> "bool":
        return _yafaray_v3_interface.xmlInterface_t_startScene(self, type)

    def setOutfile(self, fname: 'char const *') -> "void":
        return _yafaray_v3_interface.xmlInterface_t_setOutfile(self, fname)

    def setXMLColorSpace(self, color_space_string: 'std::string', gammaVal: 'float') -> "void":
        return _yafaray_v3_interface.xmlInterface_t_setXMLColorSpace(self, color_space_string, gammaVal)
    __swig_destroy__ = _yafaray_v3_interface.delete_xmlInterface_t
    __del__ = lambda self: None
xmlInterface_t_swigregister = _yafaray_v3_interface.xmlInterface_t_swigregister
xmlInterface_t_swigregister(xmlInterface_t)

# This file is compatible with both classic and new-style classes.


