16#ifndef QGSGLTF3DUTILS_H
17#define QGSGLTF3DUTILS_H
36#define TINYGLTF_NO_STB_IMAGE
37#define TINYGLTF_NO_STB_IMAGE_WRITE
54class _3D_EXPORT QgsGltf3DUtils
59 struct EntityTransform
71 double zValueScale = 1;
72 double zValueOffset = 0;
88 static Qt3DCore::QEntity *gltfToEntity(
const QByteArray &data,
const EntityTransform &transform,
const QString &baseUri, QStringList *errors =
nullptr );
94 static Qt3DCore::QEntity *parsedGltfToEntity( tinygltf::Model &model,
const QgsGltf3DUtils::EntityTransform &transform, QString baseUri, QStringList *errors );
A simple 4x4 matrix implementation useful for transformation in 3D space.
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...