-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
161 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
|
||
#include "qgschunklist_p.h" | ||
|
||
#include "qgschunknode_p.h" | ||
#include "qgschunknode.h" | ||
|
||
///@cond PRIVATE | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/*************************************************************************** | ||
qgsmeshterraintileloader_p.h | ||
------------------------- | ||
begin : September 2024 | ||
copyright : (C) 2024 by Matthias Kuhn | ||
email : [email protected] | ||
***************************************************************************/ | ||
|
||
/*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
|
||
#ifndef QGSMESHTERRAINTILELOADER_H | ||
#define QGSMESHTERRAINTILELOADER_H | ||
|
||
#include "qgsmesh3dsymbol.h" | ||
#include "qgstriangularmesh.h" | ||
#include "qgsterraintileloader.h" | ||
|
||
#define SIP_NO_FILE | ||
|
||
///@cond PRIVATE | ||
|
||
//! Chunk loader for mesh terrain implementation | ||
class QgsMeshTerrainTileLoader: public QgsTerrainTileLoader | ||
{ | ||
Q_OBJECT | ||
public: | ||
//! Construct the loader for a node | ||
QgsMeshTerrainTileLoader( QgsTerrainEntity *terrain, | ||
QgsChunkNode *node, | ||
const QgsTriangularMesh &triangularMesh, | ||
const QgsMesh3DSymbol *symbol ); | ||
|
||
//! Create the 3D entity and returns it | ||
Qt3DCore::QEntity *createEntity( Qt3DCore::QEntity *parent ) override; | ||
|
||
private: | ||
QgsTriangularMesh mTriangularMesh; | ||
std::unique_ptr< QgsMesh3DSymbol > mSymbol; | ||
}; | ||
|
||
///@endcond | ||
|
||
#endif |
Oops, something went wrong.