| 1 | // Copyright (C) 2019 Klaralvdalens Datakonsult AB (KDAB). |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | // |
| 5 | // W A R N I N G |
| 6 | // ------------- |
| 7 | // |
| 8 | // This file is not part of the Qt API. It exists for the convenience |
| 9 | // of other Qt classes. This header file may change from version to |
| 10 | // version without notice, or even be removed. |
| 11 | // |
| 12 | // We mean it. |
| 13 | // |
| 14 | |
| 15 | #ifndef QT3DRENDER_QPICKTRIANGLEEVENT_P_H |
| 16 | #define QT3DRENDER_QPICKTRIANGLEEVENT_P_H |
| 17 | |
| 18 | // |
| 19 | // W A R N I N G |
| 20 | // ------------- |
| 21 | // |
| 22 | // This file is not part of the Qt API. It exists for the convenience |
| 23 | // of other Qt classes. This header file may change from version to |
| 24 | // version without notice, or even be removed. |
| 25 | // |
| 26 | // We mean it. |
| 27 | // |
| 28 | |
| 29 | #include <Qt3DRender/private/qpickevent_p.h> |
| 30 | |
| 31 | QT_BEGIN_NAMESPACE |
| 32 | |
| 33 | namespace Qt3DRender { |
| 34 | class QPickTriangleEvent; |
| 35 | |
| 36 | class Q_3DRENDERSHARED_PRIVATE_EXPORT QPickTriangleEventPrivate : public QPickEventPrivate |
| 37 | { |
| 38 | public: |
| 39 | QPickTriangleEventPrivate(); |
| 40 | |
| 41 | static const QPickTriangleEventPrivate *get(const QPickTriangleEvent *ev); |
| 42 | QPickTriangleEvent *clone() const; |
| 43 | |
| 44 | uint m_triangleIndex; |
| 45 | uint m_vertex1Index; |
| 46 | uint m_vertex2Index; |
| 47 | uint m_vertex3Index; |
| 48 | QVector3D m_uvw; |
| 49 | }; |
| 50 | |
| 51 | } // Qt3DRender |
| 52 | |
| 53 | QT_END_NAMESPACE |
| 54 | |
| 55 | #endif // QT3DRENDER_QPICKTRIANGLEEVENT_P_H |
| 56 | |