QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Typedefs | Functions
qgs3dsceneexporter.cpp File Reference
#include "qgs3dsceneexporter.h"
#include "moc_qgs3dsceneexporter.cpp"
#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 <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.h"
#include "qgschunknode.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 "qgsmeshterraintileloader_p.h"
#include "qgsvectorlayer.h"
#include "qgsabstract3drenderer.h"
#include "qgsvectorlayer3drenderer.h"
#include "qgs3dutils.h"
#include "qgsimagetexture.h"
#include "qgstessellatedpolygongeometry.h"
#include <numeric>
Include dependency graph for qgs3dsceneexporter.cpp:

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 37 of file qgs3dsceneexporter.cpp.

◆ Qt3DQBuffer

typedef Qt3DCore::QBuffer Qt3DQBuffer

Definition at line 38 of file qgs3dsceneexporter.cpp.

◆ Qt3DQGeometry

typedef Qt3DCore::QGeometry Qt3DQGeometry

Definition at line 39 of file qgs3dsceneexporter.cpp.

Function Documentation

◆ _getIndexDataImplementation()

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

Definition at line 118 of file qgs3dsceneexporter.cpp.

◆ findAttribute()

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

Definition at line 164 of file qgs3dsceneexporter.cpp.

◆ findTypedComponent()

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

Definition at line 176 of file qgs3dsceneexporter.cpp.

◆ getAttributeData()

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

Definition at line 90 of file qgs3dsceneexporter.cpp.

◆ getData()

QByteArray getData ( Qt3DQBuffer buffer)

Definition at line 154 of file qgs3dsceneexporter.cpp.

◆ getIndexData()

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

Definition at line 131 of file qgs3dsceneexporter.cpp.