347 <<
"MEMTiledDataset::create DEBUG: entered..." 364 int nWordSize = GDALGetDataTypeSize(gdalType) / 8;
369 papBandData = (GByte **) CPLCalloc(
sizeof(
void *),nBands);
371 for( band = 0; band < nBands; band++ )
373 papBandData[band] = (GByte *) VSICalloc( nWordSize, tw * th );
376 poDriver = poMEMTiledDriver;
382 nRasterXSize = bounds.
width();
383 nRasterYSize = bounds.
height();
389 <<
"\nnRasterXSize" << nRasterXSize
390 <<
"\nnRasterYSize" << nRasterYSize
415 for( band = 0; band < nBands; band++ )
436 CPLFree( papBandData );
447 <<
"MEMTiledDataset::create DEBUG: exited..." bool theSetNoDataValueFlag
DRB - 20081020 If true (default) the no data value will be set to null pixel value.
virtual ossim_uint32 getTileWidth() const
Returns the default processing tile width.
Represents serializable keyword/value map.
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
ossim_uint32 height() const
ossimIrect theAreaOfInterest
virtual void initialize()
Initialize the data buffer.
MEMTiledDataset * theDataset
virtual void setHeight(ossim_uint32 height)
static ossimImageDataFactory * instance()
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
virtual ossimIrect getBoundingRect(ossim_uint32 resLevel=0) const
This will return the bounding rect of the source.
virtual void setWidth(ossim_uint32 width)
virtual ossimRefPtr< ossimImageData > create(ossimSource *owner, ossimScalarType scalar, ossim_uint32 bands=1) const
ossim_uint32 width() const
virtual double getNullPixelValue(ossim_uint32 band=0) const
Each band has a null pixel associated with it.
virtual ossim_uint32 getTileHeight() const
Returns the default processing tile height.
ossimImageSourceSequencer * theInterface
friend class MEMTiledRasterBand
GDALDataType toGdal(ossimScalarType) const
ossimRefPtr< ossimImageData > theData
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)