QGIS API Documentation 3.29.0-Master (8c80f25a4f)
Typedefs | Functions
qgs3dsceneexporter.cpp File Reference
#include "qgs3dsceneexporter.h"
#include <QVector>
#include <Qt3DCore/QEntity>
#include <Qt3DCore/QComponent>
#include <Qt3DCore/QNode>
#include <Qt3DCore/QAttribute>
#include <Qt3DCore/QBuffer>
#include <Qt3DCore/QGeometry>
#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/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 "qgsbillboardgeometry.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 "qgsmeshterraingenerator.h"
#include "qgsvectorlayer.h"
#include "qgsabstract3drenderer.h"
#include "qgsabstractvectorlayer3drenderer.h"
#include "qgsvectorlayer3drenderer.h"
#include "qgs3dutils.h"
#include "qgsimagetexture.h"
#include <numeric>

Go to the source code of this file.

Typedefs

typedef Qt3DCore::QAttribute Qt3DQAttribute
 
typedef Qt3DCore::QBuffer Qt3DQBuffer
 
typedef Qt3DCore::QGeometry Qt3DQGeometry
 

Functions

template<typename T >
QVector< uint > _getIndexDataImplementation (const QByteArray &data)
 
Qt3DQAttributefindAttribute (Qt3DQGeometry *geometry, const QString &name, Qt3DQAttribute::AttributeType type)
 
template<typename Component >
Component * findTypedComponent (Qt3DCore::QEntity *entity)
 
template<typename T >
QVector< T > getAttributeData (Qt3DQAttribute *attribute, const QByteArray &data)
 
QByteArray getData (Qt3DQBuffer *buffer)
 
QVector< uint > getIndexData (Qt3DQAttribute *indexAttribute, const QByteArray &data)
 

Typedef Documentation

◆ Qt3DQAttribute

typedef Qt3DCore::QAttribute Qt3DQAttribute

Definition at line 36 of file qgs3dsceneexporter.cpp.

◆ Qt3DQBuffer

typedef Qt3DCore::QBuffer Qt3DQBuffer

Definition at line 37 of file qgs3dsceneexporter.cpp.

◆ Qt3DQGeometry

typedef Qt3DCore::QGeometry Qt3DQGeometry

Definition at line 38 of file qgs3dsceneexporter.cpp.

Function Documentation

◆ _getIndexDataImplementation()

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

Definition at line 116 of file qgs3dsceneexporter.cpp.

◆ findAttribute()

Qt3DQAttribute * findAttribute ( Qt3DQGeometry geometry,
const QString &  name,
Qt3DQAttribute::AttributeType  type 
)

Definition at line 162 of file qgs3dsceneexporter.cpp.

◆ findTypedComponent()

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

Definition at line 173 of file qgs3dsceneexporter.cpp.

◆ getAttributeData()

template<typename T >
QVector< T > getAttributeData ( Qt3DQAttribute attribute,
const QByteArray &  data 
)

Definition at line 89 of file qgs3dsceneexporter.cpp.

◆ getData()

QByteArray getData ( Qt3DQBuffer buffer)

Definition at line 152 of file qgs3dsceneexporter.cpp.

◆ getIndexData()

QVector< uint > getIndexData ( Qt3DQAttribute indexAttribute,
const QByteArray &  data 
)

Definition at line 129 of file qgs3dsceneexporter.cpp.