24 static const ossimTrace traceDebug(
"ossimQuickbirdNitfTileSource:debug");
31 <<
"ossimQuickbirdNitfTileSource::open(file) DEBUG: entered ..." 38 bool openedTileFile =
false;
41 if(!tileFile.
open(file))
44 if(tileFile.
open(file))
46 openedTileFile =
true;
51 if(tileFile.
open(file))
53 openedTileFile =
true;
59 openedTileFile =
true;
67 <<
"ossimQuickbirdNitfTileSource::open(file) DEBUG:" 68 <<
"\nOpened tile file" << std::endl;
83 tempBounds.
width() - 1,
89 <<
"ossimQuickbirdNitfTileSource::open(file) DEBUG:" 90 <<
"\nheader rectangle = " << tempBounds << std::endl;
119 <<
"ossimQuickbirdNitfTileSource::open(file) DEBUG:" 134 <<
"ossimQuickbirdNitfTileSource::open(file) DEBUG" 140 return openedTileFile;
157 const char* prefix)
const
static ossimString upcase(const ossimString &aString)
ossimFilename theImageFile
bool open(const ossimFilename tileFile)
Represents serializable keyword/value map.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
ossim_uint32 height() const
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
ossimString replaceAllThatMatch(const char *regularExpressionPattern, const char *value="") const
bool getInfo(ossimQuickbirdTileInfo &result, const ossimFilename &filename) const
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
virtual ossimIrect getImageRectangle(ossim_uint32 resLevel=0) const
Returns zero-based bounding rectangle of the image.
const ossimNitfImageHeader * getCurrentImageHeader() const
ossim_uint32 width() const
virtual bool open()
Returns true if the image_file can be opened and is a valid nitf file.
void setTransform(ossim2dTo2dTransform *transform)
Sets the transform to be used for local-to-full-image coordinate transformation.
const ossim2dTo2dTransform * getTransform() const
Access methods for transform (may be NULL pointer).
ossimFilename file() const
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
ossimRefPtr< ossim2dTo2dTransform > m_transform
ossimFilename & setExtension(const ossimString &e)
Sets the extension of a file name.
virtual bool open()
Returns true if the image_file can be opened and is a valid nitf file.
RTTI_DEF1(ossimQuickbirdNitfTileSource, "ossimQuickbirdNitfTileSource", ossimNitfTileSource)
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)