|
GDAL
|
Support for progress reporting in viewshed construction. More...
#include <progress.h>
Public Member Functions | |
| Progress (GDALProgressFunc pfnProgress, void *pProgressArg, size_t expectedLines) | |
| Constructor. | |
| bool | lineComplete () |
| Emit progress information saying that a line has been written to output. | |
| bool | emit (double fraction) |
| Emit progress information saying that a fraction of work has been completed. | |
Support for progress reporting in viewshed construction.
Determines the faction of progress made based on the number of raster lines completed.
| gdal::viewshed::Progress::Progress | ( | GDALProgressFunc | pfnProgress, |
| void * | pProgressArg, | ||
| size_t | expectedLines ) |
Constructor.
| pfnProgress | Pointer to progress function. |
| pProgressArg | Pointer to progress function data. |
| expectedLines | Number of lines expected to be processed. |
| bool gdal::viewshed::Progress::emit | ( | double | fraction | ) |
Emit progress information saying that a fraction of work has been completed.
| bool gdal::viewshed::Progress::lineComplete | ( | ) |
Emit progress information saying that a line has been written to output.