Encapsulation of read data from a couple of bands from one RasterDataGroup Also provides convinient basic operations and quarantees the same parameters of raster data.
More...
#include <RasterDataGroup.h>
Encapsulation of read data from a couple of bands from one RasterDataGroup Also provides convinient basic operations and quarantees the same parameters of raster data.
§ RasterDataGroup() [1/2]
agroeye::handlers::RasterDataGroup::RasterDataGroup |
( |
| ) |
|
|
inline |
§ RasterDataGroup() [2/2]
Dummy constructor Only move allowed by default
§ addData()
void agroeye::handlers::RasterDataGroup::addData |
( |
const int |
bandNo, |
|
|
RasterData && |
rasterData |
|
) |
| |
Adds data to the container.
- Parameters
-
bandNo | Number of read band |
rasterData | Raster data to data. Transfers ownership |
§ createPiece()
RasterDataGroup agroeye::handlers::RasterDataGroup::createPiece |
( |
const RasterDataGroup & |
rasterData, |
|
|
const size_t |
x, |
|
|
const size_t |
y, |
|
|
const size_t |
width, |
|
|
const size_t |
height |
|
) |
| |
|
static |
Extracts piece from given data creating copy.
- Parameters
-
rasterData | Raster data pixels to be extracted |
x | X of top left corner |
y | Y of top left corner |
width | Width of extracted fragment |
height | Height of extracted fragment |
return | A new raster data group |
§ getBandData()
const RasterData & agroeye::handlers::RasterDataGroup::getBandData |
( |
const int |
bandNo | ) |
const |
Provides access to raster data for given band.
- Parameters
-
- Returns
- Const refernce to raster data
§ getBandsList()
std::vector< int > agroeye::handlers::RasterDataGroup::getBandsList |
( |
| ) |
const |
Gets list of bands.
- Returns
- List of bands
§ getHeight()
size_t agroeye::handlers::RasterDataGroup::getHeight |
( |
| ) |
const |
|
inline |
§ getWidth()
size_t agroeye::handlers::RasterDataGroup::getWidth |
( |
| ) |
const |
|
inline |
§ getXPos()
size_t agroeye::handlers::RasterDataGroup::getXPos |
( |
| ) |
const |
|
inline |
§ getYPos()
size_t agroeye::handlers::RasterDataGroup::getYPos |
( |
| ) |
const |
|
inline |
§ operator=()
Only move allowed by default
The documentation for this class was generated from the following files: