Generates a cumulative viewshed from a matrix of observers.
More...
#include <cumulative.h>
|
| | Cumulative (const Options &opts) |
| | Constructor.
|
|
| ~Cumulative () |
| | Destructor.
|
| bool | run (const std::string &srcFilename, GDALProgressFunc pfnProgress=GDALDummyProgress, void *pProgressArg=nullptr) |
| | Compute the cumulative viewshed of a raster band.
|
Generates a cumulative viewshed from a matrix of observers.
◆ Cumulative()
| gdal::viewshed::Cumulative::Cumulative |
( |
const Options & | opts | ) |
|
|
explicit |
Constructor.
- Parameters
-
| opts | Options for viewshed generation. |
◆ run()
| bool gdal::viewshed::Cumulative::run |
( |
const std::string & | srcFilename, |
|
|
GDALProgressFunc | pfnProgress = GDALDummyProgress, |
|
|
void * | pProgressArg = nullptr ) |
Compute the cumulative viewshed of a raster band.
- Parameters
-
| srcFilename | Source filename. |
| pfnProgress | Pointer to the progress function. Can be null. |
| pProgressArg | Argument passed to the progress function |
- Returns
- True on success, false otherwise.
The documentation for this class was generated from the following files: