Viewshed 6.1.0
A C++ library for calculation of viewshed, inverse viewshed and visibility indices for both of those analyses.
Loading...
Searching...
No Matches
abstractviewshedalgorithm.h
1#pragma once
2#include "viewshed_export.h"
3
4#include <limits>
5#include <string>
6
7#include "abstractlos.h"
8#include "losimportantvalues.h"
9#include "losnode.h"
10#include "point.h"
11
12namespace viewshed
13{
19 {
20 public:
21 virtual ~AbstractViewshedAlgorithm() = default;
22
30 virtual double result( std::shared_ptr<LoSImportantValues> losValues, std::shared_ptr<AbstractLoS> los ) = 0;
31
37 virtual double pointValue() = 0;
38
44 virtual const std::string name() = 0;
45 };
46
47} // namespace viewshed
Base class for all Viewshed Algorithms.
Definition abstractviewshedalgorithm.h:19
virtual const std::string name()=0
Name of the algorithm.
virtual double pointValue()=0
Value at important point, either view point for viewshed or target point for inverse viewshed.
virtual double result(std::shared_ptr< LoSImportantValues > losValues, std::shared_ptr< AbstractLoS > los)=0
Extract resulting value based on LoSImportantValues and specific los.