QGIS API Documentation  3.20.0-Odense (decaadbb31)
Functions
qgs3dsceneexporter.cpp File Reference
#include "qgs3dsceneexporter.h"
#include <QVector>
#include <Qt3DCore/QEntity>
#include <Qt3DCore/QComponent>
#include <Qt3DCore/QNode>
#include <Qt3DRender/QGeometry>
#include <Qt3DRender/QAttribute>
#include <Qt3DRender/QBuffer>
#include <Qt3DRender/QGeometryRenderer>
#include <Qt3DExtras/QPlaneGeometry>
#include <Qt3DCore/QTransform>
#include <Qt3DRender/QMaterial>
#include <Qt3DExtras/QDiffuseSpecularMaterial>
#include <Qt3DExtras/QTextureMaterial>
#include <Qt3DRender/QTextureImage>
#include <Qt3DRender/QTexture>
#include <Qt3DRender/QBufferDataGenerator>
#include <Qt3DRender/QBufferDataGeneratorPtr>
#include <Qt3DRender/QMesh>
#include <Qt3DRender/QSceneLoader>
#include <Qt3DRender/QAbstractTexture>
#include <Qt3DExtras/QCylinderGeometry>
#include <Qt3DExtras/QConeGeometry>
#include <Qt3DExtras/QSphereGeometry>
#include <Qt3DExtras/QCuboidGeometry>
#include <Qt3DExtras/QTorusGeometry>
#include <Qt3DExtras/QExtrudedTextMesh>
#include <Qt3DExtras/QPhongMaterial>
#include <Qt3DRender/QAbstractTextureImage>
#include <QByteArray>
#include <QFile>
#include <QTextStream>
#include "qgstessellatedpolygongeometry.h"
#include "qgsterraintileentity_p.h"
#include "qgsterrainentity_p.h"
#include "qgschunknode_p.h"
#include "qgsterraingenerator.h"
#include "qgs3dmapsettings.h"
#include "qgsflatterraingenerator.h"
#include "qgsdemterraingenerator.h"
#include "qgsdemterraintileloader_p.h"
#include "qgsdemterraintilegeometry_p.h"
#include "qgs3dexportobject.h"
#include "qgsterraintextureimage_p.h"
#include "qgsterraintexturegenerator_p.h"
#include "qgsmesh3dgeometry_p.h"
#include "qgsmeshlayer.h"
#include "qgsmesh3dentity_p.h"
#include "qgsmeshterraingenerator.h"
#include "qgsvectorlayer.h"
#include "qgsabstract3drenderer.h"
#include "qgsabstractvectorlayer3drenderer.h"
#include "qgsvectorlayer3drenderer.h"
#include "qgspolygon3dsymbol.h"
#include "qgsline3dsymbol.h"
#include "qgspoint3dsymbol.h"
#include "qgsrulebased3drenderer.h"
#include "qgs3dutils.h"
#include "qgsbillboardgeometry.h"
#include "qgsimagetexture.h"
#include <numeric>

Go to the source code of this file.

Functions

template<typename T >
QVector< uint > _getIndexDataImplementation (const QByteArray &data)
 
Qt3DRender::QAttribute * findAttribute (Qt3DRender::QGeometry *geometry, const QString &name, Qt3DRender::QAttribute::AttributeType type)
 
template<typename Component >
Component * findTypedComponent (Qt3DCore::QEntity *entity)
 
template<typename T >
QVector< T > getAttributeData (Qt3DRender::QAttribute *attribute, const QByteArray &data)
 
QByteArray getData (Qt3DRender::QBuffer *buffer)
 
QVector< uint > getIndexData (Qt3DRender::QAttribute *indexAttribute, const QByteArray &data)
 

Function Documentation

◆ _getIndexDataImplementation()

template<typename T >
QVector<uint> _getIndexDataImplementation ( const QByteArray &  data)

Definition at line 110 of file qgs3dsceneexporter.cpp.

◆ findAttribute()

Qt3DRender::QAttribute* findAttribute ( Qt3DRender::QGeometry *  geometry,
const QString &  name,
Qt3DRender::QAttribute::AttributeType  type 
)

Definition at line 156 of file qgs3dsceneexporter.cpp.

◆ findTypedComponent()

template<typename Component >
Component* findTypedComponent ( Qt3DCore::QEntity *  entity)

Definition at line 167 of file qgs3dsceneexporter.cpp.

◆ getAttributeData()

template<typename T >
QVector<T> getAttributeData ( Qt3DRender::QAttribute *  attribute,
const QByteArray &  data 
)

Definition at line 83 of file qgs3dsceneexporter.cpp.

◆ getData()

QByteArray getData ( Qt3DRender::QBuffer *  buffer)

Definition at line 146 of file qgs3dsceneexporter.cpp.

◆ getIndexData()

QVector<uint> getIndexData ( Qt3DRender::QAttribute *  indexAttribute,
const QByteArray &  data 
)

Definition at line 123 of file qgs3dsceneexporter.cpp.