|
QGIS API Documentation 4.1.0-Master (376402f9aeb)
|
Manages the various settings the user can choose from when exporting a 3D scene. More...
#include <qgs3dmapexportsettings.h>
Public Member Functions | |
| Qgs3DMapExportSettings () | |
| Constructor. | |
| ~Qgs3DMapExportSettings () | |
| destructor (save the export settings before deallocation) | |
| QString | exportFileUri () const |
| Returns the full file uri where the 3D scene will be exported. | |
| Qgis::Export3DSceneFormat | exportFormat () const |
| Returns the export format for the 3D scene. | |
| bool | exportNormals () const |
| Returns whether normals will be exported. | |
| bool | exportTextures () const |
| Returns whether textures will be exported. | |
| float | scale () const |
| Returns the scale of the exported model. | |
| QString | sceneFolderPath () const |
| Returns the scene folder path. | |
| QString | sceneName () const |
| Returns the scene name. | |
| void | setExportFormat (Qgis::Export3DSceneFormat exportFormat) |
| Sets the export format for the 3D scene. | |
| void | setExportNormals (bool exportNormals) |
| Sets whether normals should be exported. | |
| void | setExportTextures (bool exportTextures) |
| Sets whether textures will be exported. | |
| void | setScale (float scale) |
| Sets the scale of exported model. | |
| void | setSceneFolderPath (const QString &sceneFolderPath) |
| Sets the folder path where exported 3D scene files will be saved. | |
| void | setSceneName (const QString &sceneName) |
| Sets the scene name. | |
| void | setSmoothEdges (bool smoothEdges) |
| Sets whether triangles edges will look smooth. | |
| void | setTerrainExportEnabled (bool enabled) |
| Sets whether terrain export is enabled. | |
| void | setTerrainResolution (int resolution) |
| Sets the terrain resolution. | |
| void | setTerrainTextureResolution (int resolution) |
| Sets the terrain texture resolution. | |
| bool | smoothEdges () const |
| Returns whether triangles edges will look smooth. | |
| bool | terrainExportEnabled () const |
| Returns whether terrain export is enabled. | |
| int | terrainTextureResolution () const |
| Returns the terrain texture resolution. | |
| int | terrrainResolution () const |
| Returns the terrain resolution. | |
Manages the various settings the user can choose from when exporting a 3D scene.
Definition at line 31 of file qgs3dmapexportsettings.h.
| Qgs3DMapExportSettings::Qgs3DMapExportSettings | ( | ) |
Constructor.
Definition at line 25 of file qgs3dmapexportsettings.cpp.
| Qgs3DMapExportSettings::~Qgs3DMapExportSettings | ( | ) |
destructor (save the export settings before deallocation)
Definition at line 38 of file qgs3dmapexportsettings.cpp.
| QString Qgs3DMapExportSettings::exportFileUri | ( | ) | const |
Returns the full file uri where the 3D scene will be exported.
Definition at line 51 of file qgs3dmapexportsettings.cpp.
|
inline |
Returns the export format for the 3D scene.
Definition at line 60 of file qgs3dmapexportsettings.h.
|
inline |
Returns whether normals will be exported.
Definition at line 49 of file qgs3dmapexportsettings.h.
|
inline |
Returns whether textures will be exported.
Definition at line 51 of file qgs3dmapexportsettings.h.
|
inline |
Returns the scale of the exported model.
Definition at line 55 of file qgs3dmapexportsettings.h.
|
inline |
Returns the scene folder path.
Definition at line 43 of file qgs3dmapexportsettings.h.
|
inline |
Returns the scene name.
Definition at line 41 of file qgs3dmapexportsettings.h.
|
inline |
Sets the export format for the 3D scene.
Definition at line 97 of file qgs3dmapexportsettings.h.
|
inline |
Sets whether normals should be exported.
Definition at line 86 of file qgs3dmapexportsettings.h.
|
inline |
Sets whether textures will be exported.
Definition at line 88 of file qgs3dmapexportsettings.h.
|
inline |
Sets the scale of exported model.
Definition at line 92 of file qgs3dmapexportsettings.h.
|
inline |
Sets the folder path where exported 3D scene files will be saved.
Definition at line 80 of file qgs3dmapexportsettings.h.
|
inline |
Sets the scene name.
Definition at line 78 of file qgs3dmapexportsettings.h.
|
inline |
Sets whether triangles edges will look smooth.
Definition at line 84 of file qgs3dmapexportsettings.h.
|
inline |
Sets whether terrain export is enabled.
Definition at line 105 of file qgs3dmapexportsettings.h.
|
inline |
Sets the terrain resolution.
Definition at line 82 of file qgs3dmapexportsettings.h.
|
inline |
Sets the terrain texture resolution.
Definition at line 90 of file qgs3dmapexportsettings.h.
|
inline |
Returns whether triangles edges will look smooth.
Definition at line 47 of file qgs3dmapexportsettings.h.
|
inline |
Returns whether terrain export is enabled.
It terrain export is disabled, the terrain resolution and terrain texture resolution parameters have no effect.
Definition at line 75 of file qgs3dmapexportsettings.h.
|
inline |
Returns the terrain texture resolution.
Definition at line 53 of file qgs3dmapexportsettings.h.
|
inline |
Returns the terrain resolution.
Definition at line 45 of file qgs3dmapexportsettings.h.