Skip to content
Permalink
Browse files

Fixed documentation

  • Loading branch information
NEDJIMAbelgacem committed Jul 4, 2020
1 parent 8c25af7 commit 35b9132e5582dc9e3f99eaaa5f38382623dd656f
Showing with 11 additions and 5 deletions.
  1. +1 −1 src/3d/qgs3dmapscene.h
  2. +10 −4 src/3d/qgs3dsceneexporter.h
@@ -103,7 +103,7 @@ class _3D_EXPORT Qgs3DMapScene : public Qt3DCore::QEntity
*/
float worldSpaceError( float epsilon, float distance );

// EXports the scene according to the scene export settings
//! Exports the scene according to the scene export settings
void exportScene( const Qgs3DMapExportSettings &exportSettings );
signals:
//! Emitted when the current terrain entity is replaced by a new one
@@ -41,13 +41,17 @@ class Qgs3DSceneExporter : public Qt3DCore::QEntity
{
Q_OBJECT
public:
//! Constructor
Qgs3DSceneExporter( Qt3DCore::QNode *parent = nullptr );

//! Creates necessary export objects from entity if it represents valid entity
//! If the entity doesn't define exportable object it will be ignored
/**
* Creates necessary export objects from entity if it represents valid entity
* If the entity doesn't define exportable object it will be ignored
*/
void parseEntity( Qt3DCore::QEntity *entity );
//! Creates terrain export objects from the terrain entity
void parseEntity( QgsTerrainEntity *terrain );
//! Saves the scene to a .obj file
void saveToFile( const QString &filePath );

//! Sets whether the triangles will look smooth
@@ -76,8 +80,10 @@ class Qgs3DSceneExporter : public Qt3DCore::QEntity
//! Constructs a QgsExportObject from the flat tile entity
void parseFlatTile( QgsTerrainTileEntity *tileEntity );

//! Creates tile entity that contains the geometry to be exported and necessary scaling parameters
//! This function is needed because we need to generate geometry according to terrain resolution
/**
* Creates tile entity that contains the geometry to be exported and necessary scaling parameters
* This function is needed because we need to generate geometry according to terrain resolution
*/
QgsTerrainTileEntity *createDEMTileEntity( QgsTerrainEntity *terrain, QgsChunkNode *node );
private:
QVector<QgsExportObject *> mObjects;

0 comments on commit 35b9132

Please sign in to comment.
You can’t perform that action at this time.