63 lines
961 B
C++
Executable File
63 lines
961 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Baseclass of Viewsheds
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
// Own
|
|
#include <Common/situation_map_logging.h>
|
|
|
|
// ESRI
|
|
#include <arcgis/Map.h>
|
|
#include <arcgis/SpatialReference.h>
|
|
|
|
|
|
// Qt
|
|
#include <QObject>
|
|
#include <QColor>
|
|
#include <QPointF>
|
|
|
|
// forward:
|
|
namespace Esri
|
|
{
|
|
namespace ArcGISRuntime
|
|
{
|
|
class Map;
|
|
class Graphic;
|
|
class GraphicsOverlay;
|
|
class GeoprocessingTask;
|
|
class GeoprocessingResult;
|
|
}
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
namespace SituationMap
|
|
{
|
|
|
|
|
|
class ViewshedBase : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit ViewshedBase(QObject *parent = nullptr);
|
|
virtual ~ViewshedBase() = default;
|
|
|
|
ViewshedBase(const ViewshedBase &other) = delete;
|
|
ViewshedBase &operator=(ViewshedBase &other) = delete;
|
|
|
|
virtual bool execute(const QPointF &viewshedPoint_map, double outerRadius, double observerOffset) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace SituationMap
|
|
|