16 #ifndef QGS3DMAPEXPORTSETTINGS_H
17 #define QGS3DMAPEXPORTSETTINGS_H
40 QString sceneName()
const {
return mSceneName; }
42 QString sceneFolderPath()
const {
return mSceneFolderPath; }
44 int terrrainResolution()
const {
return mTerrainResolution; }
46 bool smoothEdges()
const {
return mSmoothEdges; }
48 bool exportNormals()
const {
return mExportNormals; }
50 bool exportTextures()
const {
return mExportTextures; }
52 int terrainTextureResolution()
const {
return mTerrainTextureResolution; }
54 float scale()
const {
return mScale; }
57 void setSceneName(
const QString &sceneName ) { mSceneName = sceneName; }
59 void setSceneFolderPath(
const QString &sceneFolderPath ) { mSceneFolderPath = sceneFolderPath; }
61 void setTerrainResolution(
int resolution ) { mTerrainResolution = resolution; }
63 void setSmoothEdges(
bool smoothEdges ) { mSmoothEdges = smoothEdges; }
65 void setExportNormals(
bool exportNormals ) { mExportNormals = exportNormals; }
67 void setExportTextures(
bool exportTextures ) { mExportTextures = exportTextures; }
69 void setTerrainTextureResolution(
int resolution ) { mTerrainTextureResolution = resolution; }
71 void setScale(
float scale ) { mScale = scale; }
74 QString mSceneName = QString(
"Scene" );
75 QString mSceneFolderPath = QDir::homePath();
76 int mTerrainResolution = 128;
77 bool mSmoothEdges =
false;
78 bool mExportNormals =
true;
79 bool mExportTextures =
false;
80 int mTerrainTextureResolution = 512;
84 #endif // QGS3DMAPEXPORTSETTINGS_H