16 #ifndef ossimGdalTileSource_HEADER 17 #define ossimGdalTileSource_HEADER 1 109 const char* prefix=0)
const;
116 const char* prefix=0);
184 virtual void getEntryList(std::vector<ossim_uint32>& entryList)
const;
191 std::vector<ossimString>& entryStringList)
const;
193 virtual bool isOpen()
const;
220 virtual void getPropertyNames(std::vector<ossimString>& propertyNames)
const;
242 GDALDriverH getDriver();
254 void setPreservePaletteIndexesFlag(
bool flag);
257 bool getPreservePaletteIndexesFlag()
const;
287 void computeMinMax();
288 void loadIndexTo3BandTile(
const ossimIrect& clipRect,
291 template<
class InputType,
class OutputType>
292 void loadIndexTo3BandTileTemplate(InputType in,
298 bool isIndexTo3Band(
int bandNumber = 1)
const;
299 bool isIndexTo1Band(
int bandNumber = 1)
const;
300 ossim_uint32 getIndexBandOutputNumber(
int bandNumber)
const;
301 bool isIndexed(
int aGdalBandNumber = 1)
const;
312 GDALRasterBandH resolveRasterBand(
ossim_uint32 resLevel,
313 int gdalBandIndex )
const;
316 void deleteRlevelCache();
317 void setRlevelCache();
virtual bool open()=0
Pure virtual open.
bool isBlocked(bool *blocked, int x, int y)
virtual bool isIndexedData() const
ossimRefPtr< ossimImageData > theSingleBandTile
Represents serializable keyword/value map.
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
virtual void getEntryNames(std::vector< ossimString > &entryNames) const
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual ossim_uint32 getNumberOfLines(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
virtual ossim_uint32 getTileHeight() const
Returns the default processing tile height.
std::vector< ossimString > theSubDatasets
virtual ossimString getClassName() const
virtual void getDecimationFactor(ossim_uint32 resLevel, ossimDpt &result) const
virtual void setProperty(ossimRefPtr< ossimProperty > property)
virtual ossimString getShortName() const
virtual ossim_uint32 getTileWidth() const
Returns the default processing tile width.
virtual ossim_uint32 getNumberOfDecimationLevels() const
This returns the total number of decimation levels.
virtual bool isOpen() const =0
Derived classes must implement this method to be concrete.
virtual double getMinPixelValue(ossim_uint32 band=0) const
Retuns the min pixel value.
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
vector< ossim_uint32 > m_outputBandList
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
virtual ossim_uint32 getImageTileHeight() const =0
Returns the tile width of the image or 0 if the image is not tiled.
unsigned int ossim_uint32
virtual ossimString getLongName() const
virtual void close()
Deletes the overview and clears the valid image vertices.
virtual ossim_uint32 getCurrentEntry() const
virtual ossimIrect getImageRectangle(ossim_uint32 resLevel=0) const
Returns zero-based bounding rectangle of the image.
#define OSSIM_PLUGINS_DLL
virtual void getEntryList(std::vector< ossim_uint32 > &entryList) const
virtual ossimRefPtr< ossimImageGeometry > getInternalImageGeometry() const
std::vector< ossim_uint8 > theGdalBuffer
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
virtual ossim_uint32 getImageTileWidth() const =0
Returns the tile width of the image or 0 if the image is not tiled.
ossim_uint32 theEntryNumberToRender
std::vector< ossimAppFixedTileCache::ossimAppFixedCacheId > m_rlevelBlockCache
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
This class defines an abstract Handler which all image handlers(loaders) should derive from...
GDALDataType theOutputGdtType
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
ossimRefPtr< ossimImageData > theTile
virtual ossim_uint32 getNumberOfInputBands() const =0
virtual bool setCurrentEntry(ossim_uint32 entryIdx)
virtual bool setOutputBandList(const std::vector< ossim_uint32 > &band_list)
If the image handler "isBandSeletor()" then the band selection of the output chip can be controlled...
double * theNullPixValues
virtual double getNullPixelValue(ossim_uint32 band=0) const
Each band has a null pixel associated with it.
bool m_preservePaletteIndexesFlag
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)