OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimAdrgHeader.h>
Public Types | |
enum | ErrorStatus { OSSIM_OK = 0, OSSIM_ERROR = 1 } |
enum | { ADRG_TILE_SIZE = 128 } |
Public Member Functions | |
ossimAdrgHeader (const ossimFilename &img_file) | |
~ossimAdrgHeader () | |
int | errorStatus () const |
ossimFilename | file () const |
ossimFilename | imageFile () const |
ossimIrect | validImageRect () const |
ossim_uint32 | pixelType () const |
ossim_uint32 | interleaveType () const |
ossim_uint32 | numberOfBands () const |
ossim_uint32 | lines () const |
ossim_uint32 | tlines () const |
ossim_uint32 | samples () const |
ossim_uint32 | tsamples () const |
ossim_uint32 | headerSize () const |
ossim_uint32 | startRow () const |
ossim_uint32 | startCol () const |
ossim_uint32 | stopRow () const |
ossim_uint32 | stopCol () const |
ossim_uint32 | tim (ossim_uint32 row, ossim_uint32 col) const |
ossimString | minLon () const |
ossimString | minLat () const |
ossimString | maxLon () const |
ossimString | maxLat () const |
double | minLongitude () const |
double | minLatitude () const |
double | maxLongitude () const |
double | maxLatitude () const |
Private Member Functions | |
double | parseLongitudeString (const ossimString &lon) const |
double | parseLatitudeString (const ossimString &lat) const |
ossimAdrgHeader () | |
ossimAdrgHeader (const ossimAdrgHeader &source) | |
void | parse () |
Friends | |
OSSIM_DLL std::ostream & | operator<< (std::ostream &os, const ossimAdrgHeader &adrg) |
Definition at line 19 of file ossimAdrgHeader.h.
anonymous enum |
Enumerator | |
---|---|
ADRG_TILE_SIZE |
Definition at line 32 of file ossimAdrgHeader.h.
Enumerator | |
---|---|
OSSIM_OK | |
OSSIM_ERROR |
Definition at line 26 of file ossimAdrgHeader.h.
ossimAdrgHeader::ossimAdrgHeader | ( | const ossimFilename & | img_file | ) |
Definition at line 22 of file ossimAdrgHeader.cpp.
References ossimFilename::exists(), ossimFilename::ext(), OSSIM_ERROR, parse(), ossimFilename::setExtension(), theErrorStatus, and theHeaderFile.
ossimAdrgHeader::~ossimAdrgHeader | ( | ) |
|
private |
|
private |
|
inline |
Definition at line 37 of file ossimAdrgHeader.h.
|
inline |
Definition at line 39 of file ossimAdrgHeader.h.
|
inline |
Definition at line 53 of file ossimAdrgHeader.h.
|
inline |
Definition at line 41 of file ossimAdrgHeader.h.
|
inline |
Definition at line 47 of file ossimAdrgHeader.h.
|
inline |
Definition at line 49 of file ossimAdrgHeader.h.
Referenced by ossimAdrgTileSource::getImageGeometry(), and parse().
|
inline |
Definition at line 64 of file ossimAdrgHeader.h.
double ossimAdrgHeader::maxLatitude | ( | ) | const |
Definition at line 368 of file ossimAdrgHeader.cpp.
References parseLatitudeString(), and theMaxLat.
Referenced by ossimAdrgTileSource::getImageGeometry().
|
inline |
Definition at line 63 of file ossimAdrgHeader.h.
double ossimAdrgHeader::maxLongitude | ( | ) | const |
Definition at line 360 of file ossimAdrgHeader.cpp.
References parseLongitudeString(), and theMaxLon.
Referenced by ossimAdrgTileSource::getImageGeometry().
|
inline |
Definition at line 62 of file ossimAdrgHeader.h.
double ossimAdrgHeader::minLatitude | ( | ) | const |
Definition at line 352 of file ossimAdrgHeader.cpp.
References parseLatitudeString(), and theMinLat.
Referenced by ossimAdrgTileSource::getImageGeometry().
|
inline |
Definition at line 61 of file ossimAdrgHeader.h.
double ossimAdrgHeader::minLongitude | ( | ) | const |
Definition at line 344 of file ossimAdrgHeader.cpp.
References parseLongitudeString(), and theMinLon.
Referenced by ossimAdrgTileSource::getImageGeometry().
|
inline |
Definition at line 48 of file ossimAdrgHeader.h.
Referenced by ossimAdrgTileSource::getNumberOfInputBands().
|
private |
Definition at line 80 of file ossimAdrgHeader.cpp.
References ADRG_TILE_SIZE, ossimString::c_str(), ossimString::chars(), ossimDDFModule::Close(), ossimString::downcase(), ossimDDFSubfieldDefn::ExtractStringData(), ossimFilename::fileNoExtension(), ossimDDFRecord::FindField(), ossimDDFFieldDefn::FindSubfieldDefn(), ossimDDFField::GetData(), ossimDDFField::GetDataSize(), ossimDDFField::GetFieldDefn(), ossimDDFField::GetSubfieldData(), lines(), ossimDDFModule::Open(), OSSIM_ERROR, ossimNotify(), ossimNotifyLevel_NOTICE, ossimDDFModule::ReadRecord(), samples(), theErrorStatus, theHeaderFile, theImageFile, theLines, theLinesInTiles, theMaxLat, theMaxLon, theMinLat, theMinLon, theSamples, theSamplesInTiles, theStartCol, theStartRow, theStopCol, theStopRow, theTif, theTim, theValidImageRect, tim(), and ossimString::toInt().
Referenced by ossimAdrgHeader().
|
private |
Definition at line 425 of file ossimAdrgHeader.cpp.
References ossimString::c_str(), ossimNotify(), ossimNotifyLevel_WARN, sign(), and ossimString::size().
Referenced by maxLatitude(), and minLatitude().
|
private |
Definition at line 376 of file ossimAdrgHeader.cpp.
References ossimString::c_str(), ossimNotify(), ossimNotifyLevel_WARN, sign(), and ossimString::size().
Referenced by maxLongitude(), and minLongitude().
|
inline |
Definition at line 46 of file ossimAdrgHeader.h.
|
inline |
Definition at line 51 of file ossimAdrgHeader.h.
Referenced by ossimAdrgTileSource::getImageGeometry(), and parse().
|
inline |
Definition at line 55 of file ossimAdrgHeader.h.
Referenced by ossimAdrgTileSource::getImageGeometry(), and ossimAdrgTileSource::getNumberOfSamples().
|
inline |
Definition at line 54 of file ossimAdrgHeader.h.
Referenced by ossimAdrgTileSource::getImageGeometry(), and ossimAdrgTileSource::getNumberOfLines().
|
inline |
Definition at line 57 of file ossimAdrgHeader.h.
Referenced by ossimAdrgTileSource::getNumberOfSamples().
|
inline |
Definition at line 56 of file ossimAdrgHeader.h.
Referenced by ossimAdrgTileSource::getNumberOfLines().
ossim_uint32 ossimAdrgHeader::tim | ( | ossim_uint32 | row, |
ossim_uint32 | col | ||
) | const |
Definition at line 300 of file ossimAdrgHeader.cpp.
References theSamplesInTiles, and theTim.
Referenced by ossimAdrgTileSource::fillBuffer(), and parse().
|
inline |
Definition at line 50 of file ossimAdrgHeader.h.
|
inline |
Definition at line 52 of file ossimAdrgHeader.h.
|
inline |
Definition at line 43 of file ossimAdrgHeader.h.
|
friend |
Definition at line 308 of file ossimAdrgHeader.cpp.
|
private |
Definition at line 86 of file ossimAdrgHeader.h.
Referenced by ossimAdrgHeader(), and parse().
|
private |
Definition at line 88 of file ossimAdrgHeader.h.
Referenced by operator<<(), ossimAdrgHeader(), and parse().
|
private |
Definition at line 99 of file ossimAdrgHeader.h.
Referenced by operator<<().
|
private |
Definition at line 89 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().
|
private |
Definition at line 93 of file ossimAdrgHeader.h.
Referenced by operator<<().
|
private |
Definition at line 95 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().
|
private |
Definition at line 96 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().
|
private |
Definition at line 109 of file ossimAdrgHeader.h.
Referenced by maxLatitude(), operator<<(), and parse().
|
private |
Definition at line 108 of file ossimAdrgHeader.h.
Referenced by maxLongitude(), operator<<(), and parse().
|
private |
Definition at line 107 of file ossimAdrgHeader.h.
Referenced by minLatitude(), operator<<(), and parse().
|
private |
Definition at line 106 of file ossimAdrgHeader.h.
Referenced by minLongitude(), operator<<(), and parse().
|
private |
Definition at line 94 of file ossimAdrgHeader.h.
Referenced by operator<<().
|
private |
Definition at line 92 of file ossimAdrgHeader.h.
Referenced by operator<<().
|
private |
Definition at line 97 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().
|
private |
Definition at line 98 of file ossimAdrgHeader.h.
Referenced by operator<<(), parse(), and tim().
|
private |
Definition at line 101 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().
|
private |
Definition at line 100 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().
|
private |
Definition at line 103 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().
|
private |
Definition at line 102 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().
|
private |
Definition at line 110 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().
|
private |
Definition at line 104 of file ossimAdrgHeader.h.
Referenced by operator<<(), parse(), tim(), and ~ossimAdrgHeader().
|
private |
Definition at line 90 of file ossimAdrgHeader.h.
Referenced by operator<<(), and parse().