GDAL
Public Member Functions | List of all members
gdal::viewshed::Combiner Class Reference

Reads completed viewshed rasters and sums them together. More...

#include <combiner.h>

Public Member Functions

 Combiner (Cumulative::DatasetQueue &inputQueue, Cumulative::DatasetQueue &outputQueue)
 Constructor. More...
 
 Combiner (const Combiner &src)
 Copy ctor. More...
 
void queueOutputBuffer ()
 Queue the owned buffer as for output.
 
void run ()
 Read viewshed executor output and sum it up in our owned memory raster.
 

Detailed Description

Reads completed viewshed rasters and sums them together.

When the summed values may exceed the 8-bit limit, push it on the output queue.

Constructor & Destructor Documentation

◆ Combiner() [1/2]

gdal::viewshed::Combiner::Combiner ( Cumulative::DatasetQueue inputQueue,
Cumulative::DatasetQueue outputQueue 
)
inline

Constructor.

Parameters
inputQueueReference to input queue of datasets
outputQueueReference to output queue of datasets

◆ Combiner() [2/2]

gdal::viewshed::Combiner::Combiner ( const Combiner src)
inline

Copy ctor.

Allows initialization in a vector of Combiners.

Parameters
srcSource Combiner.

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