24 "Utility for determining the active image corner vertices inside larger null-filled image " 41 usageString +=
" vertices [options] <input-image> [<output-vertices.kwl>]";
51 "<entry> For multi image handlers which entry do you wish to extract. " 52 "For list of entries use: \"ossim-info -i <your_image>\" ");
62 std::string tempString1;
65 if ( ap.
read(
"-e", stringParam1) || ap.
read(
"--entry", stringParam1) )
68 cout<<ap.
argc()<<endl;
83 "arguments provided on command line. Ignoring superfluous entries.";
113 errMsg<<
"ERROR ossimVerticesFinderUtil:"<<__LINE__<<
" Input filename was not provided or " 114 " file <"<<
m_inputFile <<
"> is not readable. "<<ends;
141 errMsg<<
"ERROR ossimVerticesFinderUtil:"<<__LINE__<<
" Unsupported image file format for <"
virtual bool addListener(ossimListener *listener)
std::string getApplicationName() const
return the application name, as specified by argv[0]
void addCommandLineOption(const ossimString &option, const ossimString &explanation)
std::basic_ostringstream< char > ostringstream
Class for char output memory streams.
static const char * OUTPUT_FILE_KW
virtual ossimImageHandler * open(const ossimFilename &fileName, bool trySuffixFirst=true, bool openOverview=true) const
open that takes a filename.
Represents serializable keyword/value map.
const char * find(const char *key) const
bool read(const std::string &str)
search for an occurance of a string in the argument list, on sucess remove that occurance from the li...
void addList(const ossimKeywordlist &src, bool overwrite=true)
void addPair(const std::string &key, const std::string &value, bool overwrite=true)
ossim_uint32 toUInt32() const
void setCommandLineUsage(const ossimString &explanation)
ossimApplicationUsage * getApplicationUsage()
void add(const char *prefix, const ossimKeywordlist &kwl, bool overwrite=true)
static const char * ENTRY_KW
void remove(int pos, int num=1)
remove one or more arguments from the argv argument list, and decrement the argc respectively.
void setDescription(const ossimString &desc)
ossimFilename fileNoExtension() const
ossimFilename dirCat(const ossimFilename &file) const
static ossimImageHandlerRegistry * instance()
virtual ossimIrect getBoundingRect(ossim_uint32 resLevel=0) const
Returns zero-based bounding rectangle of the image.
static const char * IMAGE_FILE_KW
virtual bool setCurrentEntry(ossim_uint32 entryIdx)
int & argc()
return the argument count.
ossimFilename path() const
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)