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

#include "../../../../../qt3d/src/render/frontend/qcameralens.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qcameralens.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN10Qt3DRender11QCameraLensE_t {};
} // unnamed namespace

template <> constexpr inline auto Qt3DRender::QCameraLens::qt_create_metaobjectdata<qt_meta_tag_ZN10Qt3DRender11QCameraLensE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DRender::QCameraLens",
        "projectionTypeChanged",
        "",
        "QCameraLens::ProjectionType",
        "projectionType",
        "nearPlaneChanged",
        "nearPlane",
        "farPlaneChanged",
        "farPlane",
        "fieldOfViewChanged",
        "fieldOfView",
        "aspectRatioChanged",
        "aspectRatio",
        "leftChanged",
        "left",
        "rightChanged",
        "right",
        "bottomChanged",
        "bottom",
        "topChanged",
        "top",
        "projectionMatrixChanged",
        "QMatrix4x4",
        "projectionMatrix",
        "exposureChanged",
        "exposure",
        "viewSphere",
        "QVector3D",
        "center",
        "radius",
        "setProjectionType",
        "ProjectionType",
        "setNearPlane",
        "setFarPlane",
        "setFieldOfView",
        "setAspectRatio",
        "setLeft",
        "setRight",
        "setBottom",
        "setTop",
        "setProjectionMatrix",
        "setExposure",
        "OrthographicProjection",
        "PerspectiveProjection",
        "FrustumProjection",
        "CustomProjection"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'projectionTypeChanged'
        QtMocHelpers::SignalData<void(QCameraLens::ProjectionType)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'nearPlaneChanged'
        QtMocHelpers::SignalData<void(float)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 6 },
        }}),
        // Signal 'farPlaneChanged'
        QtMocHelpers::SignalData<void(float)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 8 },
        }}),
        // Signal 'fieldOfViewChanged'
        QtMocHelpers::SignalData<void(float)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 10 },
        }}),
        // Signal 'aspectRatioChanged'
        QtMocHelpers::SignalData<void(float)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 12 },
        }}),
        // Signal 'leftChanged'
        QtMocHelpers::SignalData<void(float)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 14 },
        }}),
        // Signal 'rightChanged'
        QtMocHelpers::SignalData<void(float)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 16 },
        }}),
        // Signal 'bottomChanged'
        QtMocHelpers::SignalData<void(float)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 18 },
        }}),
        // Signal 'topChanged'
        QtMocHelpers::SignalData<void(float)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 20 },
        }}),
        // Signal 'projectionMatrixChanged'
        QtMocHelpers::SignalData<void(const QMatrix4x4 &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Signal 'exposureChanged'
        QtMocHelpers::SignalData<void(float)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 25 },
        }}),
        // Signal 'viewSphere'
        QtMocHelpers::SignalData<void(const QVector3D &, float)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 27, 28 }, { QMetaType::Float, 29 },
        }}),
        // Slot 'setProjectionType'
        QtMocHelpers::SlotData<void(enum ProjectionType)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 4 },
        }}),
        // Slot 'setNearPlane'
        QtMocHelpers::SlotData<void(float)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 6 },
        }}),
        // Slot 'setFarPlane'
        QtMocHelpers::SlotData<void(float)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 8 },
        }}),
        // Slot 'setFieldOfView'
        QtMocHelpers::SlotData<void(float)>(34, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 10 },
        }}),
        // Slot 'setAspectRatio'
        QtMocHelpers::SlotData<void(float)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 12 },
        }}),
        // Slot 'setLeft'
        QtMocHelpers::SlotData<void(float)>(36, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 14 },
        }}),
        // Slot 'setRight'
        QtMocHelpers::SlotData<void(float)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 16 },
        }}),
        // Slot 'setBottom'
        QtMocHelpers::SlotData<void(float)>(38, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 18 },
        }}),
        // Slot 'setTop'
        QtMocHelpers::SlotData<void(float)>(39, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 20 },
        }}),
        // Slot 'setProjectionMatrix'
        QtMocHelpers::SlotData<void(const QMatrix4x4 &)>(40, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'setExposure'
        QtMocHelpers::SlotData<void(float)>(41, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 25 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'projectionType'
        QtMocHelpers::PropertyData<enum ProjectionType>(4, 0x80000000 | 31, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'nearPlane'
        QtMocHelpers::PropertyData<float>(6, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'farPlane'
        QtMocHelpers::PropertyData<float>(8, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'fieldOfView'
        QtMocHelpers::PropertyData<float>(10, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'aspectRatio'
        QtMocHelpers::PropertyData<float>(12, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'left'
        QtMocHelpers::PropertyData<float>(14, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'right'
        QtMocHelpers::PropertyData<float>(16, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'bottom'
        QtMocHelpers::PropertyData<float>(18, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 7),
        // property 'top'
        QtMocHelpers::PropertyData<float>(20, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 8),
        // property 'projectionMatrix'
        QtMocHelpers::PropertyData<QMatrix4x4>(23, 0x80000000 | 22, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 9),
        // property 'exposure'
        QtMocHelpers::PropertyData<float>(25, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 10, 0x209),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'ProjectionType'
        QtMocHelpers::EnumData<enum ProjectionType>(31, 31, QMC::EnumFlags{}).add({
            {   42, ProjectionType::OrthographicProjection },
            {   43, ProjectionType::PerspectiveProjection },
            {   44, ProjectionType::FrustumProjection },
            {   45, ProjectionType::CustomProjection },
        }),
    };
    return QtMocHelpers::metaObjectData<QCameraLens, qt_meta_tag_ZN10Qt3DRender11QCameraLensE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Qt3DRender::QCameraLens::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DCore::QComponent::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DRender11QCameraLensE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DRender11QCameraLensE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10Qt3DRender11QCameraLensE_t>.metaTypes,
    nullptr
} };

void Qt3DRender::QCameraLens::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QCameraLens *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->projectionTypeChanged((*reinterpret_cast<std::add_pointer_t<QCameraLens::ProjectionType>>(_a[1]))); break;
        case 1: _t->nearPlaneChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 2: _t->farPlaneChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 3: _t->fieldOfViewChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 4: _t->aspectRatioChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 5: _t->leftChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 6: _t->rightChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 7: _t->bottomChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 8: _t->topChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 9: _t->projectionMatrixChanged((*reinterpret_cast<std::add_pointer_t<QMatrix4x4>>(_a[1]))); break;
        case 10: _t->exposureChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 11: _t->viewSphere((*reinterpret_cast<std::add_pointer_t<QVector3D>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[2]))); break;
        case 12: _t->setProjectionType((*reinterpret_cast<std::add_pointer_t<enum ProjectionType>>(_a[1]))); break;
        case 13: _t->setNearPlane((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 14: _t->setFarPlane((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 15: _t->setFieldOfView((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 16: _t->setAspectRatio((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 17: _t->setLeft((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 18: _t->setRight((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 19: _t->setBottom((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 20: _t->setTop((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 21: _t->setProjectionMatrix((*reinterpret_cast<std::add_pointer_t<QMatrix4x4>>(_a[1]))); break;
        case 22: _t->setExposure((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(QCameraLens::ProjectionType )>(_a, &QCameraLens::projectionTypeChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(float )>(_a, &QCameraLens::nearPlaneChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(float )>(_a, &QCameraLens::farPlaneChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(float )>(_a, &QCameraLens::fieldOfViewChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(float )>(_a, &QCameraLens::aspectRatioChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(float )>(_a, &QCameraLens::leftChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(float )>(_a, &QCameraLens::rightChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(float )>(_a, &QCameraLens::bottomChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(float )>(_a, &QCameraLens::topChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(const QMatrix4x4 & )>(_a, &QCameraLens::projectionMatrixChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(float )>(_a, &QCameraLens::exposureChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (QCameraLens::*)(const QVector3D & , float )>(_a, &QCameraLens::viewSphere, 11))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<enum ProjectionType*>(_v) = _t->projectionType(); break;
        case 1: *reinterpret_cast<float*>(_v) = _t->nearPlane(); break;
        case 2: *reinterpret_cast<float*>(_v) = _t->farPlane(); break;
        case 3: *reinterpret_cast<float*>(_v) = _t->fieldOfView(); break;
        case 4: *reinterpret_cast<float*>(_v) = _t->aspectRatio(); break;
        case 5: *reinterpret_cast<float*>(_v) = _t->left(); break;
        case 6: *reinterpret_cast<float*>(_v) = _t->right(); break;
        case 7: *reinterpret_cast<float*>(_v) = _t->bottom(); break;
        case 8: *reinterpret_cast<float*>(_v) = _t->top(); break;
        case 9: *reinterpret_cast<QMatrix4x4*>(_v) = _t->projectionMatrix(); break;
        case 10: *reinterpret_cast<float*>(_v) = _t->exposure(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setProjectionType(*reinterpret_cast<enum ProjectionType*>(_v)); break;
        case 1: _t->setNearPlane(*reinterpret_cast<float*>(_v)); break;
        case 2: _t->setFarPlane(*reinterpret_cast<float*>(_v)); break;
        case 3: _t->setFieldOfView(*reinterpret_cast<float*>(_v)); break;
        case 4: _t->setAspectRatio(*reinterpret_cast<float*>(_v)); break;
        case 5: _t->setLeft(*reinterpret_cast<float*>(_v)); break;
        case 6: _t->setRight(*reinterpret_cast<float*>(_v)); break;
        case 7: _t->setBottom(*reinterpret_cast<float*>(_v)); break;
        case 8: _t->setTop(*reinterpret_cast<float*>(_v)); break;
        case 9: _t->setProjectionMatrix(*reinterpret_cast<QMatrix4x4*>(_v)); break;
        case 10: _t->setExposure(*reinterpret_cast<float*>(_v)); break;
        default: break;
        }
    }
}

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

void *Qt3DRender::QCameraLens::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DRender11QCameraLensE_t>.strings))
        return static_cast<void*>(this);
    return Qt3DCore::QComponent::qt_metacast(_clname);
}

int Qt3DRender::QCameraLens::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 < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 23;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void Qt3DRender::QCameraLens::projectionTypeChanged(QCameraLens::ProjectionType _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Qt3DRender::QCameraLens::nearPlaneChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DRender::QCameraLens::farPlaneChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Qt3DRender::QCameraLens::fieldOfViewChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Qt3DRender::QCameraLens::aspectRatioChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Qt3DRender::QCameraLens::leftChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Qt3DRender::QCameraLens::rightChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Qt3DRender::QCameraLens::bottomChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void Qt3DRender::QCameraLens::topChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void Qt3DRender::QCameraLens::projectionMatrixChanged(const QMatrix4x4 & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void Qt3DRender::QCameraLens::exposureChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void Qt3DRender::QCameraLens::viewSphere(const QVector3D & _t1, float _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1, _t2);
}
QT_WARNING_POP
