Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/MapImpl/viewshed_analysis.h
T
berrux-dev 598fc2560e Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
2026-10-20 09:36:57 +02:00

65 lines
1.2 KiB
C++
Executable File

/**
* @RDE_HEADER@
* ViewshedAnalysis
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
// Own
#include "viewshed_base.h"
#include <QtCore/QVector>
// forward:
namespace Esri
{
namespace ArcGISRuntime
{
class AnalysisOverlay;
class AnalysisOverlayListModel;
class ExploratoryLocationViewshed;
class SceneGraphicsView;
}
}
//----------------------------------------------------------------------------
namespace SituationMap
{
class ViewshedAnalysis : public ViewshedBase
{
Q_OBJECT
public:
explicit ViewshedAnalysis(Esri::ArcGISRuntime::SceneGraphicsView *sceneGraphicsView
, QObject *parent = nullptr);
virtual ~ViewshedAnalysis();
bool execute(const QPointF &viewshedPoint_map_degree, double outerRadius, double observerOffset) override;
protected slots:
void onErrorOccured(const Esri::ArcGISRuntime::Error &error);
private:
Esri::ArcGISRuntime::AnalysisOverlayListModel *m_analysisOverlayModel;
Esri::ArcGISRuntime::AnalysisOverlay *m_analysisOverlay;
QVector<Esri::ArcGISRuntime::ExploratoryLocationViewshed *> m_viewsheds;
LOGGER_T m_logger;
};
} // namespace SituationMap