![]() |
TerraLib 4.1
|
#include <TeGDALDecoder.h>
Public Member Functions | |
| TeGDALDecoder () | |
| TeGDALDecoder (const TeRasterParams &par) | |
| ~TeGDALDecoder () | |
| void | init () |
| Initializes the internal structures. | |
| bool | clear () |
| Releases the internal structures. | |
| bool | setElement (int col, int lin, double val, int band=0) |
| Writes an element. | |
Static Public Member Functions | |
| static void | initialize () |
| Reads an element. | |
| static std::string | getGDALDriverName (const std::string &extension) |
| It returns the GDAL driver name associated to the given file extension. | |
| static const std::vector < TeGDALDriverInfo > & | getGDALDrivers () |
| static std::string | getSupportedFilesFilter () |
Protected Member Functions | |
| virtual bool | getRasterBlock (const TeBlockIndex &index, void *buf) |
| Gets the raster block with index identifier. | |
| virtual bool | putRasterBlock (const TeBlockIndex &index, void *buf, long bsize) |
| Saves a raster tile from a virtual memory to permanent storage. | |
Protected Attributes | |
| GDALDataset * | _gdalDS |
| < A pointer to GDAL Data Source. | |
Static Protected Attributes | |
| static std::vector < TeGDALDriverInfo > | _gdalDrivers |
| TeGDALDecoder::TeGDALDecoder | ( | ) |
| TeGDALDecoder::TeGDALDecoder | ( | const TeRasterParams & | par | ) |
| TeGDALDecoder::~TeGDALDecoder | ( | ) |
| bool TeGDALDecoder::clear | ( | ) | [virtual] |
Releases the internal structures.
Reimplemented from TeDecoderVirtualMemory.
| std::string TeGDALDecoder::getGDALDriverName | ( | const std::string & | extension | ) | [static] |
It returns the GDAL driver name associated to the given file extension.
| extension | The raster file extension. |
| const std::vector< TeGDALDriverInfo > & TeGDALDecoder::getGDALDrivers | ( | ) | [static] |
| bool TeGDALDecoder::getRasterBlock | ( | const TeBlockIndex & | index, |
| void * | buf | ||
| ) | [protected, virtual] |
Gets the raster block with index identifier.
| index | block index |
| buf | pointer to a raster tile in memory |
Implements TeDecoderVirtualMemory.
| std::string TeGDALDecoder::getSupportedFilesFilter | ( | ) | [static] |
| void TeGDALDecoder::init | ( | ) | [virtual] |
Initializes the internal structures.
Reimplemented from TeDecoderVirtualMemory.
| void TeGDALDecoder::initialize | ( | ) | [static] |
Reads an element.
Initialize GDAL support
| bool TeGDALDecoder::putRasterBlock | ( | const TeBlockIndex & | index, |
| void * | buf, | ||
| long | bsize | ||
| ) | [protected, virtual] |
Saves a raster tile from a virtual memory to permanent storage.
| index | block index |
| buf | pointer to a raster tile in memory |
| bsize | block size |
Implements TeDecoderVirtualMemory.
| bool TeGDALDecoder::setElement | ( | int | col, |
| int | lin, | ||
| double | val, | ||
| int | band = 0 |
||
| ) | [virtual] |
Writes an element.
Reimplemented from TeDecoderVirtualMemory.
std::vector< TeGDALDriverInfo > TeGDALDecoder::_gdalDrivers [static, protected] |
GDALDataset* TeGDALDecoder::_gdalDS [protected] |
< A pointer to GDAL Data Source.
Set of GDAL drivers information