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

#include "../../../../src/qt3d-opensource-src-5.5.1/src/core/core-components/qcamera.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qcamera.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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
struct qt_meta_stringdata_Qt3D__QCamera_t {
    QByteArrayData data[31];
    char stringdata0[413];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3D__QCamera_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3D__QCamera_t qt_meta_stringdata_Qt3D__QCamera = {
    {
QT_MOC_LITERAL(0, 0, 13), // "Qt3D::QCamera"
QT_MOC_LITERAL(1, 14, 21), // "projectionTypeChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 16), // "nearPlaneChanged"
QT_MOC_LITERAL(4, 54, 15), // "farPlaneChanged"
QT_MOC_LITERAL(5, 70, 18), // "fieldOfViewChanged"
QT_MOC_LITERAL(6, 89, 18), // "aspectRatioChanged"
QT_MOC_LITERAL(7, 108, 11), // "leftChanged"
QT_MOC_LITERAL(8, 120, 12), // "rightChanged"
QT_MOC_LITERAL(9, 133, 13), // "bottomChanged"
QT_MOC_LITERAL(10, 147, 10), // "topChanged"
QT_MOC_LITERAL(11, 158, 23), // "projectionMatrixChanged"
QT_MOC_LITERAL(12, 182, 15), // "positionChanged"
QT_MOC_LITERAL(13, 198, 15), // "upVectorChanged"
QT_MOC_LITERAL(14, 214, 17), // "viewCenterChanged"
QT_MOC_LITERAL(15, 232, 13), // "matrixChanged"
QT_MOC_LITERAL(16, 246, 14), // "projectionType"
QT_MOC_LITERAL(17, 261, 33), // "Qt3D::QCameraLens::Projection..."
QT_MOC_LITERAL(18, 295, 9), // "nearPlane"
QT_MOC_LITERAL(19, 305, 8), // "farPlane"
QT_MOC_LITERAL(20, 314, 11), // "fieldOfView"
QT_MOC_LITERAL(21, 326, 11), // "aspectRatio"
QT_MOC_LITERAL(22, 338, 4), // "left"
QT_MOC_LITERAL(23, 343, 5), // "right"
QT_MOC_LITERAL(24, 349, 6), // "bottom"
QT_MOC_LITERAL(25, 356, 3), // "top"
QT_MOC_LITERAL(26, 360, 16), // "projectionMatrix"
QT_MOC_LITERAL(27, 377, 8), // "position"
QT_MOC_LITERAL(28, 386, 8), // "upVector"
QT_MOC_LITERAL(29, 395, 10), // "viewCenter"
QT_MOC_LITERAL(30, 406, 6) // "matrix"

    },
    "Qt3D::QCamera\0projectionTypeChanged\0"
    "\0nearPlaneChanged\0farPlaneChanged\0"
    "fieldOfViewChanged\0aspectRatioChanged\0"
    "leftChanged\0rightChanged\0bottomChanged\0"
    "topChanged\0projectionMatrixChanged\0"
    "positionChanged\0upVectorChanged\0"
    "viewCenterChanged\0matrixChanged\0"
    "projectionType\0Qt3D::QCameraLens::ProjectionType\0"
    "nearPlane\0farPlane\0fieldOfView\0"
    "aspectRatio\0left\0right\0bottom\0top\0"
    "projectionMatrix\0position\0upVector\0"
    "viewCenter\0matrix"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3D__QCamera[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      14,   14, // methods
      14,   98, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      14,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x06 /* Public */,
       3,    0,   85,    2, 0x06 /* Public */,
       4,    0,   86,    2, 0x06 /* Public */,
       5,    0,   87,    2, 0x06 /* Public */,
       6,    0,   88,    2, 0x06 /* Public */,
       7,    0,   89,    2, 0x06 /* Public */,
       8,    0,   90,    2, 0x06 /* Public */,
       9,    0,   91,    2, 0x06 /* Public */,
      10,    0,   92,    2, 0x06 /* Public */,
      11,    0,   93,    2, 0x06 /* Public */,
      12,    0,   94,    2, 0x06 /* Public */,
      13,    0,   95,    2, 0x06 /* Public */,
      14,    0,   96,    2, 0x06 /* Public */,
      15,    0,   97,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      16, 0x80000000 | 17, 0x0049510b,
      18, QMetaType::Float, 0x00495103,
      19, QMetaType::Float, 0x00495103,
      20, QMetaType::Float, 0x00495103,
      21, QMetaType::Float, 0x00495103,
      22, QMetaType::Float, 0x00495103,
      23, QMetaType::Float, 0x00495103,
      24, QMetaType::Float, 0x00495103,
      25, QMetaType::Float, 0x00495103,
      26, QMetaType::QMatrix4x4, 0x00495001,
      27, QMetaType::QVector3D, 0x00495103,
      28, QMetaType::QVector3D, 0x00495103,
      29, QMetaType::QVector3D, 0x00495103,
      30, QMetaType::QMatrix4x4, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       8,
       9,
      10,
      11,
      12,
      13,

       0        // eod
};

void Qt3D::QCamera::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QCamera *_t = static_cast<QCamera *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->projectionTypeChanged(); break;
        case 1: _t->nearPlaneChanged(); break;
        case 2: _t->farPlaneChanged(); break;
        case 3: _t->fieldOfViewChanged(); break;
        case 4: _t->aspectRatioChanged(); break;
        case 5: _t->leftChanged(); break;
        case 6: _t->rightChanged(); break;
        case 7: _t->bottomChanged(); break;
        case 8: _t->topChanged(); break;
        case 9: _t->projectionMatrixChanged(); break;
        case 10: _t->positionChanged(); break;
        case 11: _t->upVectorChanged(); break;
        case 12: _t->viewCenterChanged(); break;
        case 13: _t->matrixChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::projectionTypeChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::nearPlaneChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::farPlaneChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::fieldOfViewChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::aspectRatioChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::leftChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::rightChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::bottomChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::topChanged)) {
                *result = 8;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::projectionMatrixChanged)) {
                *result = 9;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::positionChanged)) {
                *result = 10;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::upVectorChanged)) {
                *result = 11;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::viewCenterChanged)) {
                *result = 12;
            }
        }
        {
            typedef void (QCamera::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCamera::matrixChanged)) {
                *result = 13;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QCamera *_t = static_cast<QCamera *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Qt3D::QCameraLens::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< QVector3D*>(_v) = _t->position(); break;
        case 11: *reinterpret_cast< QVector3D*>(_v) = _t->upVector(); break;
        case 12: *reinterpret_cast< QVector3D*>(_v) = _t->viewCenter(); break;
        case 13: *reinterpret_cast< QMatrix4x4*>(_v) = _t->matrix(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QCamera *_t = static_cast<QCamera *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setProjectionType(*reinterpret_cast< Qt3D::QCameraLens::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 10: _t->setPosition(*reinterpret_cast< QVector3D*>(_v)); break;
        case 11: _t->setUpVector(*reinterpret_cast< QVector3D*>(_v)); break;
        case 12: _t->setViewCenter(*reinterpret_cast< QVector3D*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

static const QMetaObject * const qt_meta_extradata_Qt3D__QCamera[] = {
        &Qt3D::QCameraLens::staticMetaObject,
    Q_NULLPTR
};

const QMetaObject Qt3D::QCamera::staticMetaObject = {
    { &QEntity::staticMetaObject, qt_meta_stringdata_Qt3D__QCamera.data,
      qt_meta_data_Qt3D__QCamera,  qt_static_metacall, qt_meta_extradata_Qt3D__QCamera, Q_NULLPTR}
};


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

void *Qt3D::QCamera::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3D__QCamera.stringdata0))
        return static_cast<void*>(const_cast< QCamera*>(this));
    return QEntity::qt_metacast(_clname);
}

int Qt3D::QCamera::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QEntity::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
#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 -= 14;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 14;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3D::QCamera::projectionTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Qt3D::QCamera::nearPlaneChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Qt3D::QCamera::farPlaneChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Qt3D::QCamera::fieldOfViewChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void Qt3D::QCamera::aspectRatioChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void Qt3D::QCamera::leftChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void Qt3D::QCamera::rightChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void Qt3D::QCamera::bottomChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void Qt3D::QCamera::topChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}

// SIGNAL 9
void Qt3D::QCamera::projectionMatrixChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}

// SIGNAL 10
void Qt3D::QCamera::positionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, Q_NULLPTR);
}

// SIGNAL 11
void Qt3D::QCamera::upVectorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, Q_NULLPTR);
}

// SIGNAL 12
void Qt3D::QCamera::viewCenterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, Q_NULLPTR);
}

// SIGNAL 13
void Qt3D::QCamera::matrixChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 13, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
