13 #ifndef ossimCibCadrgTileSource_HEADER 14 #define ossimCibCadrgTileSource_HEADER 1 38 friend class ossimMultiEntryCibCadrg;
47 OSSIM_PRODUCT_TYPE_UNKNOWN = 0,
48 OSSIM_PRODUCT_TYPE_CIB = 1,
49 OSSIM_PRODUCT_TYPE_CADRG = 2
93 void setSkipEmptyCheck(
bool bSkipEmptyCheck =
false );
189 const char* prefix=0)
const;
218 const char* prefix=0);
311 virtual void getEntryList(std::vector<ossim_uint32>& entryList)
const;
347 bool isCadrg()
const;
360 vector<ossimString> getProductScaleList()
const;
368 vector<ossim_int32> getProductEntryList(
const ossimString& productScale)
const;
383 virtual void getPropertyNames(std::vector<ossimString>& propertyNames)
const;
404 void updatePropertiesToFirstValidFrame();
437 thePixelRow(pixelRow),
438 thePixelCol(pixelCol),
444 thePixelRow(rhs.thePixelRow),
445 thePixelCol(rhs.thePixelCol),
446 theFrameEntry(rhs.theFrameEntry)
472 vector<ossimFrameEntryData> getIntersectingEntries(
const ossimIrect& rect);
485 const vector<ossimFrameEntryData>& framesInvolved,
517 void allocateForProduct();
virtual bool open()=0
Pure virtual open.
ossim_uint32 theNumberOfLines
This will be computed based on the frames organized within the directory.
ossimCibCadrgProductType
Basic enumeration.
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.
ossimRpfToc * theTableOfContents
Will own a table of contents.
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.
unsigned char * theCompressedBuffer
This is for storage of a single compressed buffer.
bool theSkipEmptyCheck
If true during the call to open(), the RPF file is opened even if all the frame files are missing...
Protected structure that is only used internally by this class.
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.
ossimFrameEntryData(ossim_int32 row, ossim_int32 col, ossim_int32 pixelRow, ossim_int32 pixelCol, const ossimRpfFrameEntry &entry)
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
const ossimRpfTocEntry * theEntryToRender
This is the actual frame file to render.
unsigned char * theUncompressedBuffer
This is used as a buffer to uncompress the data to.
static const ossim_uint32 CIBCADRG_FRAME_HEIGHT
CONSTANT representing the height of a Frame.
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
ossimRpfFrame * theWorkFrame
ossimCibCadrgProductType theProductType
Holds the enumeration specifying the product type.
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.
virtual void getEntryList(std::vector< ossim_uint32 > &entryList) const
ossimRefPtr< ossimImageData > theTile
This is the actual data returned from a getTile request.
CIB/CADRG formats are encoded the same except that the CIB is a grey scale image and the CADRG is a c...
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.
static const ossim_uint32 CIBCADRG_FRAME_WIDTH
CONSTANT representing the width of a Frame.
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
ossim_int32 theEntryNumberToRender
This will be the entry number that we are currently rendering.
This class defines an abstract Handler which all image handlers(loaders) should derive from...
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
ossimRpfFrameEntry theFrameEntry
ossim_uint32 theNumberOfSamples
This will be computed based on the frames organized within the directory.
ossimFrameEntryData(const ossimFrameEntryData &rhs)
virtual ossim_uint32 getNumberOfInputBands() const =0
virtual bool setCurrentEntry(ossim_uint32 entryIdx)
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)