/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.6.2
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt5.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQtQuick3D.h"

#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtQuick3D/qquick3dgeometry.sip"
#include <qquick3dgeometry.h>
#line 29 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"

#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtQuick3D/qquick3dobject.sip"
#include <qquick3dobject.h>
#line 33 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 27 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 36 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtQuick3D/qquick3dgeometry.sip"
#include <qquick3dgeometry.h>
#line 49 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtQuick3D/qquick3dgeometry.sip"
#include <qquick3dgeometry.h>
#line 41 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 30 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtGui/qvector3d.sip"
#include <qvector3d.h>
#line 44 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 30 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 47 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 146 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 52 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 55 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 247 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 235 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 67 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 70 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 38 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 73 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 149 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 76 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 79 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 82 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 85 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 88 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 91 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 94 "/build/pyqt5/src/PyQt5-5.15.7/build/QtQuick3D/sipQtQuick3DQQuick3DGeometry.cpp"


class sipQQuick3DGeometry : public  ::QQuick3DGeometry
{
public:
    sipQQuick3DGeometry( ::QQuick3DObject*);
    virtual ~sipQQuick3DGeometry();

    int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
    void *qt_metacast(const char *) SIP_OVERRIDE;
    const QMetaObject *metaObject() const SIP_OVERRIDE;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    bool event( ::QEvent*) SIP_OVERRIDE;
    void componentComplete() SIP_OVERRIDE;
    void classBegin() SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQQuick3DGeometry(const sipQQuick3DGeometry &);
    sipQQuick3DGeometry &operator = (const sipQQuick3DGeometry &);

    char sipPyMethods[9];
};

sipQQuick3DGeometry::sipQQuick3DGeometry( ::QQuick3DObject*a0):  ::QQuick3DGeometry(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQQuick3DGeometry::~sipQQuick3DGeometry()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQQuick3DGeometry::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtQuick3D_qt_metaobject(sipPySelf,sipType_QQuick3DGeometry);

    return  ::QQuick3DGeometry::metaObject();
}

int sipQQuick3DGeometry::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QQuick3DGeometry::qt_metacall(_c,_id,_a);

    if (_id >= 0)
    {
        SIP_BLOCK_THREADS
        _id = sip_QtQuick3D_qt_metacall(sipPySelf,sipType_QQuick3DGeometry,_c,_id,_a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

void *sipQQuick3DGeometry::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtQuick3D_qt_metacast(sipPySelf, sipType_QQuick3DGeometry, _clname, &sipCpp) ? sipCpp :  ::QQuick3DGeometry::qt_metacast(_clname));
}

void sipQQuick3DGeometry::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QQuick3DGeometry::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick3D_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick3D_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick3D_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuick3DGeometry::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);

    if (!sipMeth)
    {
         ::QQuick3DGeometry::connectNotify(a0);
        return;
    }

    extern void sipVH_QtQuick3D_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtQuick3D_0(sipGILState, sipImportedVirtErrorHandlers_QtQuick3D_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuick3DGeometry::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_customEvent);

    if (!sipMeth)
    {
         ::QQuick3DGeometry::customEvent(a0);
        return;
    }

    extern void sipVH_QtQuick3D_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtQuick3D_1(sipGILState, sipImportedVirtErrorHandlers_QtQuick3D_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuick3DGeometry::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, SIP_NULLPTR, sipName_childEvent);

    if (!sipMeth)
    {
         ::QQuick3DGeometry::childEvent(a0);
        return;
    }

    extern void sipVH_QtQuick3D_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtQuick3D_2(sipGILState, sipImportedVirtErrorHandlers_QtQuick3D_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuick3DGeometry::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[4], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);

    if (!sipMeth)
    {
         ::QQuick3DGeometry::timerEvent(a0);
        return;
    }

    extern void sipVH_QtQuick3D_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtQuick3D_3(sipGILState, sipImportedVirtErrorHandlers_QtQuick3D_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQQuick3DGeometry::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[5], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);

    if (!sipMeth)
        return  ::QQuick3DGeometry::eventFilter(a0,a1);

    extern bool sipVH_QtQuick3D_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtQuick3D_4(sipGILState, sipImportedVirtErrorHandlers_QtQuick3D_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQQuick3DGeometry::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_event);

    if (!sipMeth)
        return  ::QQuick3DGeometry::event(a0);

    extern bool sipVH_QtQuick3D_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtQuick3D_5(sipGILState, sipImportedVirtErrorHandlers_QtQuick3D_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQQuick3DGeometry::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[7], &sipPySelf, SIP_NULLPTR, sipName_componentComplete);

    if (!sipMeth)
    {
         ::QQuick3DGeometry::componentComplete();
        return;
    }

    extern void sipVH_QtQuick3D_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick3D_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick3D_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQQuick3DGeometry::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[8], &sipPySelf, SIP_NULLPTR, sipName_classBegin);

    if (!sipMeth)
    {
         ::QQuick3DGeometry::classBegin();
        return;
    }

    extern void sipVH_QtQuick3D_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtQuick3D_6(sipGILState, sipImportedVirtErrorHandlers_QtQuick3D_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QQuick3DGeometry_name, "name(self) -> str");

extern "C" {static PyObject *meth_QQuick3DGeometry_name(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuick3DGeometry, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->name());

            return sipConvertFromNewType(sipRes,sipType_QString,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_name, doc_QQuick3DGeometry_name);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_vertexBuffer, "vertexBuffer(self) -> QByteArray");

extern "C" {static PyObject *meth_QQuick3DGeometry_vertexBuffer(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_vertexBuffer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuick3DGeometry, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->vertexBuffer());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_vertexBuffer, doc_QQuick3DGeometry_vertexBuffer);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_indexBuffer, "indexBuffer(self) -> QByteArray");

extern "C" {static PyObject *meth_QQuick3DGeometry_indexBuffer(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_indexBuffer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuick3DGeometry, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->indexBuffer());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_indexBuffer, doc_QQuick3DGeometry_indexBuffer);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_attributeCount, "attributeCount(self) -> int");

extern "C" {static PyObject *meth_QQuick3DGeometry_attributeCount(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_attributeCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuick3DGeometry, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->attributeCount();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_attributeCount, doc_QQuick3DGeometry_attributeCount);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_attribute, "attribute(self, int) -> QQuick3DGeometry.Attribute");

extern "C" {static PyObject *meth_QQuick3DGeometry_attribute(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_attribute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        int a0;
        const  ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QQuick3DGeometry, &sipCpp, &a0))
        {
             ::QQuick3DGeometry::Attribute*sipRes;

            sipRes = new  ::QQuick3DGeometry::Attribute(sipCpp->attribute(a0));

            return sipConvertFromNewType(sipRes,sipType_QQuick3DGeometry_Attribute,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_attribute, doc_QQuick3DGeometry_attribute);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_primitiveType, "primitiveType(self) -> QQuick3DGeometry.PrimitiveType");

extern "C" {static PyObject *meth_QQuick3DGeometry_primitiveType(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_primitiveType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuick3DGeometry, &sipCpp))
        {
             ::QQuick3DGeometry::PrimitiveType sipRes;

            sipRes = sipCpp->primitiveType();

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QQuick3DGeometry_PrimitiveType);
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_primitiveType, doc_QQuick3DGeometry_primitiveType);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_boundsMin, "boundsMin(self) -> QVector3D");

extern "C" {static PyObject *meth_QQuick3DGeometry_boundsMin(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_boundsMin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuick3DGeometry, &sipCpp))
        {
             ::QVector3D*sipRes;

            sipRes = new  ::QVector3D(sipCpp->boundsMin());

            return sipConvertFromNewType(sipRes,sipType_QVector3D,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_boundsMin, doc_QQuick3DGeometry_boundsMin);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_boundsMax, "boundsMax(self) -> QVector3D");

extern "C" {static PyObject *meth_QQuick3DGeometry_boundsMax(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_boundsMax(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuick3DGeometry, &sipCpp))
        {
             ::QVector3D*sipRes;

            sipRes = new  ::QVector3D(sipCpp->boundsMax());

            return sipConvertFromNewType(sipRes,sipType_QVector3D,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_boundsMax, doc_QQuick3DGeometry_boundsMax);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_stride, "stride(self) -> int");

extern "C" {static PyObject *meth_QQuick3DGeometry_stride(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_stride(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuick3DGeometry, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->stride();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_stride, doc_QQuick3DGeometry_stride);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_setVertexData, "setVertexData(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QQuick3DGeometry_setVertexData(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_setVertexData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuick3DGeometry, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->setVertexData(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0), sipType_QByteArray, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_setVertexData, doc_QQuick3DGeometry_setVertexData);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_setIndexData, "setIndexData(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QQuick3DGeometry_setIndexData(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_setIndexData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuick3DGeometry, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->setIndexData(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0), sipType_QByteArray, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_setIndexData, doc_QQuick3DGeometry_setIndexData);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_setStride, "setStride(self, int)");

extern "C" {static PyObject *meth_QQuick3DGeometry_setStride(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_setStride(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        int a0;
         ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QQuick3DGeometry, &sipCpp, &a0))
        {
            sipCpp->setStride(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_setStride, doc_QQuick3DGeometry_setStride);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_setBounds, "setBounds(self, QVector3D, QVector3D)");

extern "C" {static PyObject *meth_QQuick3DGeometry_setBounds(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_setBounds(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QVector3D* a0;
        const  ::QVector3D* a1;
         ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QQuick3DGeometry, &sipCpp, sipType_QVector3D, &a0, sipType_QVector3D, &a1))
        {
            sipCpp->setBounds(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_setBounds, doc_QQuick3DGeometry_setBounds);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_setPrimitiveType, "setPrimitiveType(self, QQuick3DGeometry.PrimitiveType)");

extern "C" {static PyObject *meth_QQuick3DGeometry_setPrimitiveType(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_setPrimitiveType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QQuick3DGeometry::PrimitiveType a0;
         ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QQuick3DGeometry, &sipCpp, sipType_QQuick3DGeometry_PrimitiveType, &a0))
        {
            sipCpp->setPrimitiveType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_setPrimitiveType, doc_QQuick3DGeometry_setPrimitiveType);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_addAttribute, "addAttribute(self, QQuick3DGeometry.Attribute.Semantic, int, QQuick3DGeometry.Attribute.ComponentType)\n"
"addAttribute(self, QQuick3DGeometry.Attribute)");

extern "C" {static PyObject *meth_QQuick3DGeometry_addAttribute(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_addAttribute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QQuick3DGeometry::Attribute::Semantic a0;
        int a1;
         ::QQuick3DGeometry::Attribute::ComponentType a2;
         ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEiE", &sipSelf, sipType_QQuick3DGeometry, &sipCpp, sipType_QQuick3DGeometry_Attribute_Semantic, &a0, &a1, sipType_QQuick3DGeometry_Attribute_ComponentType, &a2))
        {
            sipCpp->addAttribute(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QQuick3DGeometry::Attribute* a0;
         ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QQuick3DGeometry, &sipCpp, sipType_QQuick3DGeometry_Attribute, &a0))
        {
            sipCpp->addAttribute(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_addAttribute, doc_QQuick3DGeometry_addAttribute);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_clear, "clear(self)");

extern "C" {static PyObject *meth_QQuick3DGeometry_clear(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QQuick3DGeometry, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_clear, doc_QQuick3DGeometry_clear);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QQuick3DGeometry_setName, "setName(self, str)");

extern "C" {static PyObject *meth_QQuick3DGeometry_setName(PyObject *, PyObject *);}
static PyObject *meth_QQuick3DGeometry_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QQuick3DGeometry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QQuick3DGeometry, &sipCpp, sipType_QString, &a0, &a0State))
        {
            sipCpp->setName(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QQuick3DGeometry, sipName_setName, doc_QQuick3DGeometry_setName);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QQuick3DGeometry(void *, const sipTypeDef *);}
static void *cast_QQuick3DGeometry(void *sipCppV, const sipTypeDef *targetType)
{
     ::QQuick3DGeometry *sipCpp = reinterpret_cast< ::QQuick3DGeometry *>(sipCppV);

    if (targetType == sipType_QQuick3DGeometry)
        return sipCppV;

    sipCppV = ((const sipClassTypeDef *)sipType_QQuick3DObject)->ctd_cast(static_cast< ::QQuick3DObject *>(sipCpp), targetType);
    if (sipCppV)
        return sipCppV;

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QQuick3DGeometry(void *, int);}
static void release_QQuick3DGeometry(void *sipCppV, int)
{
     ::QQuick3DGeometry *sipCpp = reinterpret_cast< ::QQuick3DGeometry *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void *array_QQuick3DGeometry(Py_ssize_t);}
static void *array_QQuick3DGeometry(Py_ssize_t sipNrElem)
{
    return new  ::QQuick3DGeometry[sipNrElem];
}


extern "C" {static void array_delete_QQuick3DGeometry(void *);}
static void array_delete_QQuick3DGeometry(void *sipCpp)
{
    delete[] reinterpret_cast< ::QQuick3DGeometry *>(sipCpp);
}


extern "C" {static void dealloc_QQuick3DGeometry(sipSimpleWrapper *);}
static void dealloc_QQuick3DGeometry(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQQuick3DGeometry *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QQuick3DGeometry(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QQuick3DGeometry(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QQuick3DGeometry(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQQuick3DGeometry *sipCpp = SIP_NULLPTR;

    {
         ::QQuick3DObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QQuick3DObject, &a0, sipOwner))
        {
            sipCpp = new sipQQuick3DGeometry(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QQuick3DGeometry[] = {{6, 255, 1}};


static PyMethodDef methods_QQuick3DGeometry[] = {
    {sipName_addAttribute, meth_QQuick3DGeometry_addAttribute, METH_VARARGS, doc_QQuick3DGeometry_addAttribute},
    {sipName_attribute, meth_QQuick3DGeometry_attribute, METH_VARARGS, doc_QQuick3DGeometry_attribute},
    {sipName_attributeCount, meth_QQuick3DGeometry_attributeCount, METH_VARARGS, doc_QQuick3DGeometry_attributeCount},
    {sipName_boundsMax, meth_QQuick3DGeometry_boundsMax, METH_VARARGS, doc_QQuick3DGeometry_boundsMax},
    {sipName_boundsMin, meth_QQuick3DGeometry_boundsMin, METH_VARARGS, doc_QQuick3DGeometry_boundsMin},
    {sipName_clear, meth_QQuick3DGeometry_clear, METH_VARARGS, doc_QQuick3DGeometry_clear},
    {sipName_indexBuffer, meth_QQuick3DGeometry_indexBuffer, METH_VARARGS, doc_QQuick3DGeometry_indexBuffer},
    {sipName_name, meth_QQuick3DGeometry_name, METH_VARARGS, doc_QQuick3DGeometry_name},
    {sipName_primitiveType, meth_QQuick3DGeometry_primitiveType, METH_VARARGS, doc_QQuick3DGeometry_primitiveType},
    {sipName_setBounds, meth_QQuick3DGeometry_setBounds, METH_VARARGS, doc_QQuick3DGeometry_setBounds},
    {sipName_setIndexData, meth_QQuick3DGeometry_setIndexData, METH_VARARGS, doc_QQuick3DGeometry_setIndexData},
    {sipName_setName, meth_QQuick3DGeometry_setName, METH_VARARGS, doc_QQuick3DGeometry_setName},
    {sipName_setPrimitiveType, meth_QQuick3DGeometry_setPrimitiveType, METH_VARARGS, doc_QQuick3DGeometry_setPrimitiveType},
    {sipName_setStride, meth_QQuick3DGeometry_setStride, METH_VARARGS, doc_QQuick3DGeometry_setStride},
    {sipName_setVertexData, meth_QQuick3DGeometry_setVertexData, METH_VARARGS, doc_QQuick3DGeometry_setVertexData},
    {sipName_stride, meth_QQuick3DGeometry_stride, METH_VARARGS, doc_QQuick3DGeometry_stride},
    {sipName_vertexBuffer, meth_QQuick3DGeometry_vertexBuffer, METH_VARARGS, doc_QQuick3DGeometry_vertexBuffer}
};

static sipEnumMemberDef enummembers_QQuick3DGeometry[] = {
    {sipName_LineStrip, static_cast<int>(::QQuick3DGeometry::PrimitiveType::LineStrip), 5},
    {sipName_Lines, static_cast<int>(::QQuick3DGeometry::PrimitiveType::Lines), 5},
    {sipName_Points, static_cast<int>(::QQuick3DGeometry::PrimitiveType::Points), 5},
    {sipName_TriangleFan, static_cast<int>(::QQuick3DGeometry::PrimitiveType::TriangleFan), 5},
    {sipName_TriangleStrip, static_cast<int>(::QQuick3DGeometry::PrimitiveType::TriangleStrip), 5},
    {sipName_Triangles, static_cast<int>(::QQuick3DGeometry::PrimitiveType::Triangles), 5},
    {sipName_Unknown, static_cast<int>(::QQuick3DGeometry::PrimitiveType::Unknown), 5},
};

PyDoc_STRVAR(doc_QQuick3DGeometry, "\1QQuick3DGeometry(parent: QQuick3DObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QQuick3DGeometry[] = {
    {"nameChanged()", "\1nameChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt5ClassPluginDef plugin_QQuick3DGeometry = {
    & ::QQuick3DGeometry::staticMetaObject,
    0,
    signals_QQuick3DGeometry,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtQuick3D_QQuick3DGeometry = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QQuick3DGeometry,
        SIP_NULLPTR,
        &plugin_QQuick3DGeometry
    },
    {
        sipNameNr_QQuick3DGeometry,
        {0, 0, 1},
        17, methods_QQuick3DGeometry,
        7, enummembers_QQuick3DGeometry,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QQuick3DGeometry,
    -1,
    -1,
    supers_QQuick3DGeometry,
    SIP_NULLPTR,
    init_type_QQuick3DGeometry,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QQuick3DGeometry,
    SIP_NULLPTR,
    array_QQuick3DGeometry,
    SIP_NULLPTR,
    release_QQuick3DGeometry,
    cast_QQuick3DGeometry,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QQuick3DGeometry,
    sizeof ( ::QQuick3DGeometry),
};
