13 #ifndef ossimRpfCacheTileSource_HEADER 14 #define ossimRpfCacheTileSource_HEADER 1 33 OSSIM_PRODUCT_TYPE_UNKNOWN = 0,
34 OSSIM_PRODUCT_TYPE_CIB = 1,
35 OSSIM_PRODUCT_TYPE_CADRG = 2
133 const char* prefix=0)
const;
162 const char* prefix=0);
255 virtual void getEntryList(std::vector<ossim_uint32>& entryList)
const;
275 bool isCadrg()
const;
307 void setActualImageRect();
343 thePixelRow(pixelRow),
344 thePixelCol(pixelCol),
350 thePixelRow(rhs.thePixelRow),
351 thePixelCol(rhs.thePixelCol),
352 theFrameEntry(rhs.theFrameEntry)
378 vector<ossimFrameEntryData> getIntersectingEntries(
const ossimIrect& rect);
391 const vector<ossimFrameEntryData>& framesInvolved,
423 void allocateForProduct();
virtual bool open()=0
Pure virtual open.
std::vector< ossimString > m_fileNames
The size of the input frames.
Protected structure that is only used internally by this class.
ossimIrect m_actualImageRect
This holds the image bounds for the current entry.
ossim_float64 m_bBox_LL_Lat
Represents serializable keyword/value map.
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
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.
ossimFrameEntryData(const ossimFrameEntryData &rhs)
virtual ossimString getShortName() const
virtual ossim_uint32 getTileWidth() const
Returns the default processing tile width.
virtual bool isValidRLevel(ossim_uint32 resLevel) const
Determines if the passed in reslution level is valid.
virtual bool isOpen() const =0
Derived classes must implement this method to be concrete.
ossimRefPtr< ossimImageData > m_tile
This is the actual data returned from a getTile request.
ossim_float64 m_bBox_UR_Lat
ossimRpfFrame * m_workFrame
ossimFrameEntryData(ossim_int32 row, ossim_int32 col, ossim_int32 pixelRow, ossim_int32 pixelCol, const ossimRpfFrameEntry &entry)
static const ossim_uint32 CIBCADRG_FRAME_HEIGHT
CONSTANT representing the height of a Frame.
ossimRpfCacheProductType
Basic enumeration.
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
ossim_uint32 m_numOfFramesHorizontal
virtual ossim_uint32 getImageTileHeight() const =0
Returns the tile width of the image or 0 if the image is not tiled.
ossimRpfCacheProductType m_productType
Holds the enumeration specifying the product type.
unsigned int ossim_uint32
unsigned char * m_compressedBuffer
This is for storage of a single compressed buffer.
ossim_float64 m_bBox_LL_Lon
virtual ossimString getLongName() const
virtual void close()
Deletes the overview and clears the valid image vertices.
virtual ossimIrect getImageRectangle(ossim_uint32 resLevel=0) const
Returns zero-based bounding rectangle of the image.
virtual void getEntryList(std::vector< ossim_uint32 > &entryList) const
virtual void establishDecimationFactors()
Virtual method determines the decimation factors at each resolution level.
ossim_float64 m_bBox_UR_Lon
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.
ossimIpt m_tileSize
The size of the output tile.
std::vector< std::vector< ossimRpfFrameEntry > > m_frameEntryArray
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...
ossimRpfFrameEntry theFrameEntry
static const ossim_uint32 CIBCADRG_FRAME_WIDTH
CONSTANT representing the width of a Frame.
unsigned char * m_uncompressedBuffer
This is used as a buffer to uncompress the data to.
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
virtual ossim_uint32 getNumberOfInputBands() const =0
virtual bool setCurrentEntry(ossim_uint32 entryIdx)
ossim_uint32 m_numOfFramesVertical
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
ossim_uint32 m_numberOfSamples
This will be computed based on the frames organized within the directory.
ossim_uint32 m_numberOfLines
This will be computed based on the frames organized within the directory.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)