Public Member Functions | |
VRTWarpedDataset (int nXSize, int nYSize) | |
CPLErr | Initialize (void *) |
virtual CPLErr | IBuildOverviews (const char *, int, int *, int, int *, GDALProgressFunc, void *) |
virtual CPLXMLNode * | SerializeToXML (const char *pszVRTPath) |
virtual CPLErr | XMLInit (CPLXMLNode *, const char *) |
virtual CPLErr | AddBand (GDALDataType eType, char **papszOptions=NULL) |
CPLErr | ProcessBlock (int iBlockX, int iBlockY) |
void | GetBlockSize (int *, int *) |
Public Attributes | |
int | nOverviewCount |
VRTWarpedDataset ** | papoOverviews |
Friends | |
class | VRTWarpedRasterBand |
CPLErr VRTWarpedDataset::AddBand | ( | GDALDataType | eType, | |
char ** | papszOptions = NULL | |||
) | [virtual] |
Add a band to a dataset.
This method will add a new band to the dataset if the underlying format supports this action. Most formats do not.
Note that the new GDALRasterBand is not returned. It may be fetched after successful completion of the method by calling GDALDataset::GetRasterBand(GDALDataset::GetRasterCount()-1) as the newest band will always be the last band.
eType | the data type of the pixels in the new band. | |
papszOptions | a list of NAME=VALUE option strings. The supported options are format specific. NULL may be passed by default. |
Reimplemented from VRTDataset.
References GDALDataset::GetRasterCount().
Referenced by GDALCreateWarpedVRT().