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
viewshed::LoSEvaluator Class Reference

Class that takes care of analysing AbstractLoS with respect to given AbstractViewshedAlgorithms, the result can be obtained from. More...

#include <losevaluator.h>

Public Member Functions

 LoSEvaluator (std::shared_ptr< AbstractLoS > los, std::shared_ptr< ViewshedAlgorithms > visibilityIndices)
void calculate ()
 Calculate results of LoS evaluation for every algorithms.
void reset ()
 Resets outcomes.
int size ()
 Number of algorithms.
std::shared_ptr< AbstractViewshedAlgorithmalgorithmAt (int i)
 Algorithm at specific index.
double resultAt (int i)
 Algorithm result at specific index.
ViewshedValues results ()
 Results of the algorithms.

Public Attributes

bool mAlreadyParsed = false
std::shared_ptr< LoSImportantValuesmLosValues = std::make_shared<LoSImportantValues>()

Detailed Description

Class that takes care of analysing AbstractLoS with respect to given AbstractViewshedAlgorithms, the result can be obtained from.

Member Function Documentation

◆ algorithmAt()

std::shared_ptr< AbstractViewshedAlgorithm > LoSEvaluator::algorithmAt ( int i)

Algorithm at specific index.

Parameters
i
Returns
std::shared_ptr<AbstractViewshedAlgorithm>

◆ resultAt()

double LoSEvaluator::resultAt ( int i)

Algorithm result at specific index.

Parameters
i
Returns
double

◆ results()

ViewshedValues LoSEvaluator::results ( )

Results of the algorithms.

Returns
ViewshedValues

◆ size()

int LoSEvaluator::size ( )

Number of algorithms.

Returns
int

The documentation for this class was generated from the following files: