2#include "viewshed_export.h"
8#include "losimportantvalues.h"
9#include "viewshedtypes.h"
10#include "viewshedvalues.h"
12using viewshed::ViewshedAlgorithms;
24 class DLL_API LoSEvaluator
27 LoSEvaluator( std::shared_ptr<AbstractLoS> los, std::shared_ptr<ViewshedAlgorithms> visibilityIndices );
54 std::shared_ptr<AbstractViewshedAlgorithm>
algorithmAt(
int i );
64 bool mAlreadyParsed =
false;
66 std::shared_ptr<LoSImportantValues> mLosValues = std::make_shared<LoSImportantValues>();
76 std::shared_ptr<AbstractLoS> mLos;
77 std::shared_ptr<ViewshedAlgorithms> mVisibilityIndices;
void calculate()
Calculate results of LoS evaluation for every algorithms.
Definition losevaluator.cpp:100
void reset()
Resets outcomes.
Definition losevaluator.cpp:118
std::shared_ptr< AbstractViewshedAlgorithm > algorithmAt(int i)
Algorithm at specific index.
Definition losevaluator.cpp:20
double resultAt(int i)
Algorithm result at specific index.
Definition losevaluator.cpp:124
int size()
Number of algorithms.
Definition losevaluator.cpp:18
ViewshedValues results()
Results of the algorithms.
Definition losevaluator.cpp:126
Abstract class that represent line-of-sight (LoS). Consists of LoSNodes, view point and target point ...
Definition abstractlos.h:25
Base class for all Viewshed Algorithms.
Definition abstractviewshedalgorithm.h:19
A simple class that stores results of visibility indices calculation (in form of vector of doubles) f...
Definition viewshedvalues.h:17