/****************************************************************************
** Meta object code from reading C++ file 'qlevelofdetail.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../src/qt3d-opensource-src-5.9.3/src/render/frontend/qlevelofdetail.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qlevelofdetail.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Qt3DRender__QLevelOfDetail_t {
    QByteArrayData data[28];
    char stringdata0[482];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DRender__QLevelOfDetail_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DRender__QLevelOfDetail_t qt_meta_stringdata_Qt3DRender__QLevelOfDetail = {
    {
QT_MOC_LITERAL(0, 0, 26), // "Qt3DRender::QLevelOfDetail"
QT_MOC_LITERAL(1, 27, 13), // "cameraChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 8), // "QCamera*"
QT_MOC_LITERAL(4, 51, 6), // "camera"
QT_MOC_LITERAL(5, 58, 19), // "currentIndexChanged"
QT_MOC_LITERAL(6, 78, 12), // "currentIndex"
QT_MOC_LITERAL(7, 91, 20), // "thresholdTypeChanged"
QT_MOC_LITERAL(8, 112, 13), // "ThresholdType"
QT_MOC_LITERAL(9, 126, 13), // "thresholdType"
QT_MOC_LITERAL(10, 140, 17), // "thresholdsChanged"
QT_MOC_LITERAL(11, 158, 14), // "QVector<qreal>"
QT_MOC_LITERAL(12, 173, 10), // "thresholds"
QT_MOC_LITERAL(13, 184, 21), // "volumeOverrideChanged"
QT_MOC_LITERAL(14, 206, 28), // "QLevelOfDetailBoundingSphere"
QT_MOC_LITERAL(15, 235, 14), // "volumeOverride"
QT_MOC_LITERAL(16, 250, 9), // "setCamera"
QT_MOC_LITERAL(17, 260, 15), // "setCurrentIndex"
QT_MOC_LITERAL(18, 276, 16), // "setThresholdType"
QT_MOC_LITERAL(19, 293, 13), // "setThresholds"
QT_MOC_LITERAL(20, 307, 17), // "setVolumeOverride"
QT_MOC_LITERAL(21, 325, 20), // "createBoundingSphere"
QT_MOC_LITERAL(22, 346, 6), // "center"
QT_MOC_LITERAL(23, 353, 6), // "radius"
QT_MOC_LITERAL(24, 360, 20), // "Qt3DRender::QCamera*"
QT_MOC_LITERAL(25, 381, 40), // "Qt3DRender::QLevelOfDetailBou..."
QT_MOC_LITERAL(26, 422, 25), // "DistanceToCameraThreshold"
QT_MOC_LITERAL(27, 448, 33) // "ProjectedScreenPixelSizeThres..."

    },
    "Qt3DRender::QLevelOfDetail\0cameraChanged\0"
    "\0QCamera*\0camera\0currentIndexChanged\0"
    "currentIndex\0thresholdTypeChanged\0"
    "ThresholdType\0thresholdType\0"
    "thresholdsChanged\0QVector<qreal>\0"
    "thresholds\0volumeOverrideChanged\0"
    "QLevelOfDetailBoundingSphere\0"
    "volumeOverride\0setCamera\0setCurrentIndex\0"
    "setThresholdType\0setThresholds\0"
    "setVolumeOverride\0createBoundingSphere\0"
    "center\0radius\0Qt3DRender::QCamera*\0"
    "Qt3DRender::QLevelOfDetailBoundingSphere\0"
    "DistanceToCameraThreshold\0"
    "ProjectedScreenPixelSizeThreshold"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DRender__QLevelOfDetail[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       5,  104, // properties
       1,  124, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       5,    1,   72,    2, 0x06 /* Public */,
       7,    1,   75,    2, 0x06 /* Public */,
      10,    1,   78,    2, 0x06 /* Public */,
      13,    1,   81,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    1,   84,    2, 0x0a /* Public */,
      17,    1,   87,    2, 0x0a /* Public */,
      18,    1,   90,    2, 0x0a /* Public */,
      19,    1,   93,    2, 0x0a /* Public */,
      20,    1,   96,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      21,    2,   99,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 14,   15,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 14,   15,

 // methods: parameters
    0x80000000 | 14, QMetaType::QVector3D, QMetaType::Float,   22,   23,

 // properties: name, type, flags
       4, 0x80000000 | 24, 0x0049510b,
       6, QMetaType::Int, 0x00495103,
       9, 0x80000000 | 8, 0x0049510b,
      12, 0x80000000 | 11, 0x0049510b,
      15, 0x80000000 | 25, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,

 // enums: name, flags, count, data
       8, 0x0,    2,  128,

 // enum data: key, value
      26, uint(Qt3DRender::QLevelOfDetail::DistanceToCameraThreshold),
      27, uint(Qt3DRender::QLevelOfDetail::ProjectedScreenPixelSizeThreshold),

       0        // eod
};

void Qt3DRender::QLevelOfDetail::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QLevelOfDetail *_t = static_cast<QLevelOfDetail *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->cameraChanged((*reinterpret_cast< QCamera*(*)>(_a[1]))); break;
        case 1: _t->currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->thresholdTypeChanged((*reinterpret_cast< ThresholdType(*)>(_a[1]))); break;
        case 3: _t->thresholdsChanged((*reinterpret_cast< const QVector<qreal>(*)>(_a[1]))); break;
        case 4: _t->volumeOverrideChanged((*reinterpret_cast< const QLevelOfDetailBoundingSphere(*)>(_a[1]))); break;
        case 5: _t->setCamera((*reinterpret_cast< QCamera*(*)>(_a[1]))); break;
        case 6: _t->setCurrentIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setThresholdType((*reinterpret_cast< ThresholdType(*)>(_a[1]))); break;
        case 8: _t->setThresholds((*reinterpret_cast< const QVector<qreal>(*)>(_a[1]))); break;
        case 9: _t->setVolumeOverride((*reinterpret_cast< const QLevelOfDetailBoundingSphere(*)>(_a[1]))); break;
        case 10: { QLevelOfDetailBoundingSphere _r = _t->createBoundingSphere((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< float(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QLevelOfDetailBoundingSphere*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<qreal> >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<qreal> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QLevelOfDetail::*_t)(QCamera * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLevelOfDetail::cameraChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QLevelOfDetail::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLevelOfDetail::currentIndexChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QLevelOfDetail::*_t)(ThresholdType );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLevelOfDetail::thresholdTypeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QLevelOfDetail::*_t)(const QVector<qreal> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLevelOfDetail::thresholdsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QLevelOfDetail::*_t)(const QLevelOfDetailBoundingSphere & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLevelOfDetail::volumeOverrideChanged)) {
                *result = 4;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<qreal> >(); break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DRender::QLevelOfDetailBoundingSphere >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QLevelOfDetail *_t = static_cast<QLevelOfDetail *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Qt3DRender::QCamera**>(_v) = _t->camera(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->currentIndex(); break;
        case 2: *reinterpret_cast< ThresholdType*>(_v) = _t->thresholdType(); break;
        case 3: *reinterpret_cast< QVector<qreal>*>(_v) = _t->thresholds(); break;
        case 4: *reinterpret_cast< Qt3DRender::QLevelOfDetailBoundingSphere*>(_v) = _t->volumeOverride(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QLevelOfDetail *_t = static_cast<QLevelOfDetail *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCamera(*reinterpret_cast< Qt3DRender::QCamera**>(_v)); break;
        case 1: _t->setCurrentIndex(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setThresholdType(*reinterpret_cast< ThresholdType*>(_v)); break;
        case 3: _t->setThresholds(*reinterpret_cast< QVector<qreal>*>(_v)); break;
        case 4: _t->setVolumeOverride(*reinterpret_cast< Qt3DRender::QLevelOfDetailBoundingSphere*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Qt3DRender::QLevelOfDetail::staticMetaObject = {
    { &Qt3DCore::QComponent::staticMetaObject, qt_meta_stringdata_Qt3DRender__QLevelOfDetail.data,
      qt_meta_data_Qt3DRender__QLevelOfDetail,  qt_static_metacall, nullptr, nullptr}
};


const QMetaObject *Qt3DRender::QLevelOfDetail::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Qt3DRender::QLevelOfDetail::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3DRender__QLevelOfDetail.stringdata0))
        return static_cast<void*>(this);
    return Qt3DCore::QComponent::qt_metacast(_clname);
}

int Qt3DRender::QLevelOfDetail::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Qt3DCore::QComponent::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3DRender::QLevelOfDetail::cameraChanged(QCamera * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Qt3DRender::QLevelOfDetail::currentIndexChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Qt3DRender::QLevelOfDetail::thresholdTypeChanged(ThresholdType _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Qt3DRender::QLevelOfDetail::thresholdsChanged(const QVector<qreal> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Qt3DRender::QLevelOfDetail::volumeOverrideChanged(const QLevelOfDetailBoundingSphere & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
