#include <sdts_al.h>
Public Methods | |
| int | GetRasterType () |
| int | GetTransform (double *) |
| int | GetMinMax (double *pdfMin, double *pdfMax, double dfNoData) |
| int | GetXSize () |
| int | GetYSize () |
| int | GetBlockXSize () |
| int | GetBlockYSize () |
| int | GetBlock (int nXOffset, int nYOffset, void *pData) |
This class is somewhat unique amoung the reader classes in that it isn't derived from SDTSIndexedFeature, and it doesn't return "features". Instead it is used to read raster blocks, in the natural block size of the dataset.
|
||||||||||||||||
|
Read a block of raster data from the file.
|
|
|
Fetch the width of a source block (usually same as raster width). |
|
|
Fetch the height of a source block (usually one). |
|
||||||||||||||||
|
Fetch the minimum and maximum raster values that occur in the file. Note this operation current results in a scan of the entire file.
|
|
|
Fetch the pixel data type. Returns one of SDTS_RT_INT16 (1) or SDTS_RT_FLOAT32 (6) indicating the type of buffer that should be passed to GetBlock(). |
|
|
Fetch the transformation between pixel/line coordinates and georeferenced coordinates.
Xg = padfTransformOut[0] + Xp * padfTransform[1] + Yp * padfTransform[2] Yg = padfTransformOut[3] + Xp * padfTransform[4] + Yp * padfTransform[5] In other words, for a north up image the top left corner of the top left pixel is at georeferenced coordinate (padfTransform[0],padfTransform[3]) the pixel width is padfTransform[1], the pixel height is padfTransform[5] and padfTransform[2] and padfTransform[4] will be zero. |
|
|
Fetch the raster width.
|
|
|
Fetch the raster height.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002