16#ifndef QGS3DMAPEXPORTSETTINGS_H
17#define QGS3DMAPEXPORTSETTINGS_H
55 float scale()
const {
return mScale; }
65 QString exportFileUri()
const;
108 QString mSceneName = QString(
"Scene" );
109 QString mSceneFolderPath = QDir::homePath();
110 int mTerrainResolution = 128;
111 bool mSmoothEdges =
false;
112 bool mExportNormals =
true;
113 bool mExportTextures =
false;
114 int mTerrainTextureResolution = 512;
116 bool mTerrainExportEnabled =
true;
Export3DSceneFormat
The file format used when exporting a 3D scene.
@ Obj
Wavefront OBJ format.
void setScale(float scale)
Sets the scale of exported model.
void setTerrainResolution(int resolution)
Sets the terrain resolution.
bool exportNormals() const
Returns whether normals will be exported.
void setExportTextures(bool exportTextures)
Sets whether textures will be exported.
int terrrainResolution() const
Returns the terrain resolution.
void setSmoothEdges(bool smoothEdges)
Sets whether triangles edges will look smooth.
void setSceneName(const QString &sceneName)
Sets the scene name.
QString sceneFolderPath() const
Returns the scene folder path.
void setTerrainExportEnabled(bool enabled)
Sets whether terrain export is enabled.
float scale() const
Returns the scale of the exported model.
int terrainTextureResolution() const
Returns the terrain texture resolution.
void setExportFormat(Qgis::Export3DSceneFormat exportFormat)
Sets the export format for the 3D scene.
void setTerrainTextureResolution(int resolution)
Sets the terrain texture resolution.
void setExportNormals(bool exportNormals)
Sets whether normals should be exported.
void setSceneFolderPath(const QString &sceneFolderPath)
Sets the folder path where exported 3D scene files will be saved.
bool terrainExportEnabled() const
Returns whether terrain export is enabled.
QString sceneName() const
Returns the scene name.
bool smoothEdges() const
Returns whether triangles edges will look smooth.
bool exportTextures() const
Returns whether textures will be exported.
Qgs3DMapExportSettings()
Constructor.
Qgis::Export3DSceneFormat exportFormat() const
Returns the export format for the 3D scene.