# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.5
#
# 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
if 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('_qslimlib', [dirname(__file__)])
        except ImportError:
            import _qslimlib
            return _qslimlib
        if fp is not None:
            try:
                _mod = imp.load_module('_qslimlib', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _qslimlib = swig_import_helper()
    del swig_import_helper
else:
    import _qslimlib
del version_info
try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.


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_nondynamic(self, class_type, name, static=1):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    if (not static):
        return object.__getattr__(self, name)
    else:
        raise AttributeError(name)

def _swig_getattr(self, class_type, name):
    return _swig_getattr_nondynamic(self, class_type, name, 0)


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object:
        pass
    _newclass = 0



def init_slim(*args, **kwargs):
    return _qslimlib.init_slim(*args, **kwargs)
init_slim = _qslimlib.init_slim

def cleanup_for_output(*args, **kwargs):
    return _qslimlib.cleanup_for_output(*args, **kwargs)
cleanup_for_output = _qslimlib.cleanup_for_output
class MxSMFReader(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MxSMFReader, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MxSMFReader, name)
    __repr__ = _swig_repr

    def __init__(self, *args, **kwargs):
        this = _qslimlib.new_MxSMFReader(*args, **kwargs)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _qslimlib.delete_MxSMFReader
    __del__ = lambda self: None
    __swig_setmethods__["unparsed_hook"] = _qslimlib.MxSMFReader_unparsed_hook_set
    __swig_getmethods__["unparsed_hook"] = _qslimlib.MxSMFReader_unparsed_hook_get
    if _newclass:
        unparsed_hook = _swig_property(_qslimlib.MxSMFReader_unparsed_hook_get, _qslimlib.MxSMFReader_unparsed_hook_set)

    def asp_store(self, *args, **kwargs):
        return _qslimlib.MxSMFReader_asp_store(self, *args, **kwargs)

    def read(self, *args, **kwargs):
        return _qslimlib.MxSMFReader_read(self, *args, **kwargs)

    def parse_line(self, *args, **kwargs):
        return _qslimlib.MxSMFReader_parse_line(self, *args, **kwargs)

    def createModel(self, *args, **kwargs):
        return _qslimlib.MxSMFReader_createModel(self, *args, **kwargs)

    def bind_normals(self, *args, **kwargs):
        return _qslimlib.MxSMFReader_bind_normals(self, *args, **kwargs)

    def bind_colors(self, *args, **kwargs):
        return _qslimlib.MxSMFReader_bind_colors(self, *args, **kwargs)

    def bind_texcoord(self, *args, **kwargs):
        return _qslimlib.MxSMFReader_bind_texcoord(self, *args, **kwargs)
MxSMFReader_swigregister = _qslimlib.MxSMFReader_swigregister
MxSMFReader_swigregister(MxSMFReader)

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

    def __init__(self, *args, **kwargs):
        this = _qslimlib.new_MxSMFWriter(*args, **kwargs)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_setmethods__["vertex_annotate"] = _qslimlib.MxSMFWriter_vertex_annotate_set
    __swig_getmethods__["vertex_annotate"] = _qslimlib.MxSMFWriter_vertex_annotate_get
    if _newclass:
        vertex_annotate = _swig_property(_qslimlib.MxSMFWriter_vertex_annotate_get, _qslimlib.MxSMFWriter_vertex_annotate_set)
    __swig_setmethods__["face_annotate"] = _qslimlib.MxSMFWriter_face_annotate_set
    __swig_getmethods__["face_annotate"] = _qslimlib.MxSMFWriter_face_annotate_get
    if _newclass:
        face_annotate = _swig_property(_qslimlib.MxSMFWriter_face_annotate_get, _qslimlib.MxSMFWriter_face_annotate_set)

    def write(self, *args, **kwargs):
        return _qslimlib.MxSMFWriter_write(self, *args, **kwargs)

    def writeSMF(self, *args, **kwargs):
        return _qslimlib.MxSMFWriter_writeSMF(self, *args, **kwargs)
    __swig_destroy__ = _qslimlib.delete_MxSMFWriter
    __del__ = lambda self: None
MxSMFWriter_swigregister = _qslimlib.MxSMFWriter_swigregister
MxSMFWriter_swigregister(MxSMFWriter)

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

    def __init__(self, *args, **kwargs):
        this = _qslimlib.new_ContractionCallback(*args, **kwargs)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _qslimlib.delete_ContractionCallback
    __del__ = lambda self: None
ContractionCallback_swigregister = _qslimlib.ContractionCallback_swigregister
ContractionCallback_swigregister(ContractionCallback)

class QSlimModel(ContractionCallback):
    __swig_setmethods__ = {}
    for _s in [ContractionCallback]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, QSlimModel, name, value)
    __swig_getmethods__ = {}
    for _s in [ContractionCallback]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, QSlimModel, name)
    __repr__ = _swig_repr
    __swig_setmethods__["history"] = _qslimlib.QSlimModel_history_set
    __swig_getmethods__["history"] = _qslimlib.QSlimModel_history_get
    if _newclass:
        history = _swig_property(_qslimlib.QSlimModel_history_get, _qslimlib.QSlimModel_history_set)
    __swig_setmethods__["smfReader"] = _qslimlib.QSlimModel_smfReader_set
    __swig_getmethods__["smfReader"] = _qslimlib.QSlimModel_smfReader_get
    if _newclass:
        smfReader = _swig_property(_qslimlib.QSlimModel_smfReader_get, _qslimlib.QSlimModel_smfReader_set)
    __swig_setmethods__["model"] = _qslimlib.QSlimModel_model_set
    __swig_getmethods__["model"] = _qslimlib.QSlimModel_model_get
    if _newclass:
        model = _swig_property(_qslimlib.QSlimModel_model_get, _qslimlib.QSlimModel_model_set)
    __swig_setmethods__["slim"] = _qslimlib.QSlimModel_slim_set
    __swig_getmethods__["slim"] = _qslimlib.QSlimModel_slim_get
    if _newclass:
        slim = _swig_property(_qslimlib.QSlimModel_slim_get, _qslimlib.QSlimModel_slim_set)

    def __init__(self, *args, **kwargs):
        this = _qslimlib.new_QSlimModel(*args, **kwargs)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _qslimlib.delete_QSlimModel
    __del__ = lambda self: None

    def clean_history(self, *args, **kwargs):
        return _qslimlib.QSlimModel_clean_history(self, *args, **kwargs)

    def bind_normals(self, *args, **kwargs):
        return _qslimlib.QSlimModel_bind_normals(self, *args, **kwargs)

    def bind_colors(self, *args, **kwargs):
        return _qslimlib.QSlimModel_bind_colors(self, *args, **kwargs)

    def bind_texcoord(self, *args, **kwargs):
        return _qslimlib.QSlimModel_bind_texcoord(self, *args, **kwargs)

    def get_color_binding(self, *args, **kwargs):
        return _qslimlib.QSlimModel_get_color_binding(self, *args, **kwargs)

    def get_texcoord_binding(self, *args, **kwargs):
        return _qslimlib.QSlimModel_get_texcoord_binding(self, *args, **kwargs)

    def get_normal_binding(self, *args, **kwargs):
        return _qslimlib.QSlimModel_get_normal_binding(self, *args, **kwargs)

    def get_vert_count(self, *args, **kwargs):
        return _qslimlib.QSlimModel_get_vert_count(self, *args, **kwargs)

    def get_face_count(self, *args, **kwargs):
        return _qslimlib.QSlimModel_get_face_count(self, *args, **kwargs)

    def num_valid_faces(self, *args, **kwargs):
        return _qslimlib.QSlimModel_num_valid_faces(self, *args, **kwargs)

    def num_valid_verts(self, *args, **kwargs):
        return _qslimlib.QSlimModel_num_valid_verts(self, *args, **kwargs)

    def slim_to_target(self, *args, **kwargs):
        return _qslimlib.QSlimModel_slim_to_target(self, *args, **kwargs)

    def contraction_callback(self, *args, **kwargs):
        return _qslimlib.QSlimModel_contraction_callback(self, *args, **kwargs)

    def cleanup_for_output(self, *args, **kwargs):
        return _qslimlib.QSlimModel_cleanup_for_output(self, *args, **kwargs)

    def outmodel(self, *args, **kwargs):
        return _qslimlib.QSlimModel_outmodel(self, *args, **kwargs)

    def writeSMF(self, *args, **kwargs):
        return _qslimlib.QSlimModel_writeSMF(self, *args, **kwargs)
QSlimModel_swigregister = _qslimlib.QSlimModel_swigregister
QSlimModel_swigregister(QSlimModel)

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


