GDAL
|
Executes a viewshed computation on a source band, placing the result in the destination band. More...
#include <viewshed_executor.h>
Public Member Functions | |
ViewshedExecutor (GDALRasterBand &srcBand, GDALRasterBand &dstBand, int nX, int nY, const Window &oOutExtent, const Window &oCurExtent, const Options &opts, Progress &oProgress) | |
Constructor – the viewshed algorithm executor. More... | |
bool | run () |
Run the viewshed computation. More... | |
Executes a viewshed computation on a source band, placing the result in the destination band.
gdal::viewshed::ViewshedExecutor::ViewshedExecutor | ( | GDALRasterBand & | srcBand, |
GDALRasterBand & | dstBand, | ||
int | nX, | ||
int | nY, | ||
const Window & | outExtent, | ||
const Window & | curExtent, | ||
const Options & | opts, | ||
Progress & | progress | ||
) |
Constructor – the viewshed algorithm executor.
srcBand | Source raster band |
dstBand | Destination raster band |
nX | X position of observer |
nY | Y position of observer |
outExtent | Extent of output raster (relative to input) |
curExtent | Extent of active raster. |
opts | Configuration options. |
progress | Reference to the progress tracker. |
bool gdal::viewshed::ViewshedExecutor::run | ( | ) |
Run the viewshed computation.