OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimRpfCoverageSection.h>
Public Member Functions | |
ossimRpfCoverageSection () | |
ossimRpfCoverageSection (const ossimRpfCoverageSection &obj) | |
const ossimRpfCoverageSection & | operator= (const ossimRpfCoverageSection &rhs) |
~ossimRpfCoverageSection () | |
ossimErrorCode | parseStream (std::istream &in, ossimByteOrder byteOrder) |
void | writeStream (std::ostream &out) |
Write method. More... | |
std::ostream & | print (std::ostream &out, const std::string &prefix=std::string()) const |
print method that outputs a key/value type format adding prefix to keys. More... | |
void | clearFields () |
bool | isGeographicRectNull () const |
bool | isIntervalNull () const |
ossim_float64 | getUlLat () const |
ossim_float64 | getUlLon () const |
ossim_float64 | getLlLat () const |
ossim_float64 | getLlLon () const |
ossim_float64 | getLrLat () const |
ossim_float64 | getLrLon () const |
ossim_float64 | getUrLat () const |
ossim_float64 | getUrLon () const |
ossim_float64 | getVerticalResolution () const |
ossim_float64 | getHorizontalResolution () const |
ossim_float64 | getVerticalInterval () const |
ossim_float64 | getHorizontalInterval () const |
void | setUlLat (ossim_float64 value) |
Sets theUpperLeftLat to value. More... | |
void | setUlLon (ossim_float64 value) |
Sets theUpperLeftLon to value. More... | |
void | setLlLat (ossim_float64 value) |
Sets theLowerLeftLat to value. More... | |
void | setLlLon (ossim_float64 value) |
Sets theLowerLeftLon to value. More... | |
void | setLrLat (ossim_float64 value) |
Sets theLowerRightLat to value. More... | |
void | setLrLon (ossim_float64 value) |
Sets theLowerRightLon to value. More... | |
void | setUrLat (ossim_float64 value) |
Sets theUpperRightLat to value. More... | |
void | setUrLon (ossim_float64 value) |
Sets theUpperRightLon to value. More... | |
void | setVerticalResolution (ossim_float64 value) |
Sets theVerticalResolution to value. More... | |
void | setHorizontalResolution (ossim_float64 value) |
Sets theHorizontalResolution to value. More... | |
void | setVerticalInterval (ossim_float64 value) |
Sets theVerticalInterval to value. More... | |
void | setHorizontalInterval (ossim_float64 value) |
Sets theHorizontalInterval to value. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ossimRpfCoverageSection &data) |
Definition at line 22 of file ossimRpfCoverageSection.h.
ossimRpfCoverageSection::ossimRpfCoverageSection | ( | ) |
Definition at line 26 of file ossimRpfCoverageSection.cpp.
ossimRpfCoverageSection::ossimRpfCoverageSection | ( | const ossimRpfCoverageSection & | obj | ) |
Definition at line 48 of file ossimRpfCoverageSection.cpp.
|
inline |
Definition at line 32 of file ossimRpfCoverageSection.h.
void ossimRpfCoverageSection::clearFields | ( | ) |
Definition at line 221 of file ossimRpfCoverageSection.cpp.
References theHorizontalInterval, theHorizontalResolution, theLowerLeftLat, theLowerLeftLon, theLowerRightLat, theLowerRightLon, theUpperLeftLat, theUpperLeftLon, theUpperRightLat, theUpperRightLon, theVerticalInterval, and theVerticalResolution.
Referenced by ossimRpfBoundaryRectRecord::clearFields().
|
inline |
This indicates the lon increment per pixel in degrees.
Definition at line 95 of file ossimRpfCoverageSection.h.
References theHorizontalInterval.
Referenced by ossimRpfTocEntry::getDecimalDegreesPerPixel().
|
inline |
Definition at line 85 of file ossimRpfCoverageSection.h.
References theHorizontalResolution.
Referenced by ossimRpfTocEntry::getMetersPerPixel().
|
inline |
Definition at line 77 of file ossimRpfCoverageSection.h.
References theLowerLeftLat.
Referenced by ossimRpfTocEntry::getImageGeometry().
|
inline |
Definition at line 78 of file ossimRpfCoverageSection.h.
References theLowerLeftLon.
|
inline |
Definition at line 79 of file ossimRpfCoverageSection.h.
References theLowerRightLat.
Referenced by ossimRpfTocEntry::getDecimalDegreesPerPixel().
|
inline |
Definition at line 80 of file ossimRpfCoverageSection.h.
References theLowerRightLon.
|
inline |
Definition at line 75 of file ossimRpfCoverageSection.h.
References theUpperLeftLat.
Referenced by ossimRpfTocEntry::getDecimalDegreesPerPixel(), and ossimRpfTocEntry::getImageGeometry().
|
inline |
Definition at line 76 of file ossimRpfCoverageSection.h.
References theUpperLeftLon.
Referenced by ossimRpfTocEntry::getDecimalDegreesPerPixel(), and ossimRpfTocEntry::getImageGeometry().
|
inline |
Definition at line 81 of file ossimRpfCoverageSection.h.
References theUpperRightLat.
|
inline |
Definition at line 82 of file ossimRpfCoverageSection.h.
References theUpperRightLon.
Referenced by ossimRpfTocEntry::getDecimalDegreesPerPixel().
|
inline |
This indicates the lat increment per pixel in degrees.
Definition at line 90 of file ossimRpfCoverageSection.h.
References theVerticalInterval.
Referenced by ossimRpfTocEntry::getDecimalDegreesPerPixel().
|
inline |
Definition at line 84 of file ossimRpfCoverageSection.h.
References theVerticalResolution.
Referenced by ossimRpfTocEntry::getMetersPerPixel().
|
inline |
Definition at line 58 of file ossimRpfCoverageSection.h.
References OSSIM_RPF_ULONG_NULL, theLowerLeftLat, theLowerLeftLon, theLowerRightLat, theLowerRightLon, theUpperLeftLat, theUpperLeftLon, theUpperRightLat, and theUpperRightLon.
Referenced by ossimCibCadrgTileSource::setEntryToRender().
|
inline |
Definition at line 69 of file ossimRpfCoverageSection.h.
References OSSIM_RPF_ULONG_NULL, theHorizontalInterval, and theVerticalInterval.
const ossimRpfCoverageSection & ossimRpfCoverageSection::operator= | ( | const ossimRpfCoverageSection & | rhs | ) |
Definition at line 70 of file ossimRpfCoverageSection.cpp.
References theHorizontalInterval, theHorizontalResolution, theLowerLeftLat, theLowerLeftLon, theLowerRightLat, theLowerRightLon, theUpperLeftLat, theUpperLeftLon, theUpperRightLat, theUpperRightLon, theVerticalInterval, and theVerticalResolution.
ossimErrorCode ossimRpfCoverageSection::parseStream | ( | std::istream & | in, |
ossimByteOrder | byteOrder | ||
) |
Definition at line 96 of file ossimRpfCoverageSection.cpp.
References ossim::byteOrder(), ossimErrorCodes::OSSIM_ERROR, ossimErrorCodes::OSSIM_OK, ossimEndian::swap(), theHorizontalInterval, theHorizontalResolution, theLowerLeftLat, theLowerLeftLon, theLowerRightLat, theLowerRightLon, theUpperLeftLat, theUpperLeftLon, theUpperRightLat, theUpperRightLon, theVerticalInterval, and theVerticalResolution.
Referenced by ossimRpfHeader::getNewCoverageSection(), and ossimRpfBoundaryRectRecord::parseStream().
std::ostream & ossimRpfCoverageSection::print | ( | std::ostream & | out, |
const std::string & | prefix = std::string() |
||
) | const |
print method that outputs a key/value type format adding prefix to keys.
out | String to output to. |
prefix | This will be prepended to key. e.g. Where prefix = "nitf." and key is "file_name" key becomes: "nitf.file_name:" |
Definition at line 191 of file ossimRpfCoverageSection.cpp.
References theHorizontalInterval, theHorizontalResolution, theLowerLeftLat, theLowerLeftLon, theLowerRightLat, theLowerRightLon, theUpperLeftLat, theUpperLeftLon, theUpperRightLat, theUpperRightLon, theVerticalInterval, and theVerticalResolution.
Referenced by operator<<(), and ossimRpfBoundaryRectRecord::print().
void ossimRpfCoverageSection::setHorizontalInterval | ( | ossim_float64 | value | ) |
Sets theHorizontalInterval to value.
Definition at line 292 of file ossimRpfCoverageSection.cpp.
References theHorizontalInterval.
void ossimRpfCoverageSection::setHorizontalResolution | ( | ossim_float64 | value | ) |
Sets theHorizontalResolution to value.
Definition at line 282 of file ossimRpfCoverageSection.cpp.
References theHorizontalResolution.
void ossimRpfCoverageSection::setLlLat | ( | ossim_float64 | value | ) |
Sets theLowerLeftLat to value.
Definition at line 247 of file ossimRpfCoverageSection.cpp.
References theLowerLeftLat.
void ossimRpfCoverageSection::setLlLon | ( | ossim_float64 | value | ) |
Sets theLowerLeftLon to value.
Definition at line 252 of file ossimRpfCoverageSection.cpp.
References theLowerLeftLon.
void ossimRpfCoverageSection::setLrLat | ( | ossim_float64 | value | ) |
Sets theLowerRightLat to value.
Definition at line 257 of file ossimRpfCoverageSection.cpp.
References theLowerRightLat.
void ossimRpfCoverageSection::setLrLon | ( | ossim_float64 | value | ) |
Sets theLowerRightLon to value.
Definition at line 262 of file ossimRpfCoverageSection.cpp.
References theLowerRightLon.
void ossimRpfCoverageSection::setUlLat | ( | ossim_float64 | value | ) |
Sets theUpperLeftLat to value.
Definition at line 237 of file ossimRpfCoverageSection.cpp.
References theUpperLeftLat.
void ossimRpfCoverageSection::setUlLon | ( | ossim_float64 | value | ) |
Sets theUpperLeftLon to value.
Definition at line 242 of file ossimRpfCoverageSection.cpp.
References theUpperLeftLon.
void ossimRpfCoverageSection::setUrLat | ( | ossim_float64 | value | ) |
Sets theUpperRightLat to value.
Definition at line 267 of file ossimRpfCoverageSection.cpp.
References theUpperRightLat.
void ossimRpfCoverageSection::setUrLon | ( | ossim_float64 | value | ) |
Sets theUpperRightLon to value.
Definition at line 272 of file ossimRpfCoverageSection.cpp.
References theUpperRightLon.
void ossimRpfCoverageSection::setVerticalInterval | ( | ossim_float64 | value | ) |
Sets theVerticalInterval to value.
Definition at line 287 of file ossimRpfCoverageSection.cpp.
References theVerticalInterval.
void ossimRpfCoverageSection::setVerticalResolution | ( | ossim_float64 | value | ) |
Sets theVerticalResolution to value.
Definition at line 277 of file ossimRpfCoverageSection.cpp.
References theVerticalResolution.
void ossimRpfCoverageSection::writeStream | ( | std::ostream & | out | ) |
Write method.
out | Stream to write to. |
Definition at line 139 of file ossimRpfCoverageSection.cpp.
References ossimEndian::getSystemEndianType(), OSSIM_BIG_ENDIAN, ossimEndian::swap(), theHorizontalInterval, theHorizontalResolution, theLowerLeftLat, theLowerLeftLon, theLowerRightLat, theLowerRightLon, theUpperLeftLat, theUpperLeftLon, theUpperRightLat, theUpperRightLon, theVerticalInterval, and theVerticalResolution.
Referenced by ossimRpfBoundaryRectRecord::writeStream().
|
friend |
Definition at line 21 of file ossimRpfCoverageSection.cpp.
|
private |
Definition at line 159 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getHorizontalInterval(), isIntervalNull(), operator=(), parseStream(), print(), setHorizontalInterval(), and writeStream().
|
private |
Definition at line 156 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getHorizontalResolution(), operator=(), parseStream(), print(), setHorizontalResolution(), and writeStream().
|
private |
Definition at line 146 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getLlLat(), isGeographicRectNull(), operator=(), parseStream(), print(), setLlLat(), and writeStream().
|
private |
Definition at line 147 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getLlLon(), isGeographicRectNull(), operator=(), parseStream(), print(), setLlLon(), and writeStream().
|
private |
Definition at line 152 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getLrLat(), isGeographicRectNull(), operator=(), parseStream(), print(), setLrLat(), and writeStream().
|
private |
Definition at line 153 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getLrLon(), isGeographicRectNull(), operator=(), parseStream(), print(), setLrLon(), and writeStream().
|
private |
8 byte ossim_float64 and is the upper left lat or North West portion of the image.
Definition at line 138 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getUlLat(), isGeographicRectNull(), operator=(), parseStream(), print(), setUlLat(), and writeStream().
|
private |
8 byte ossim_float64 and is the upper left lon (North west)
Definition at line 144 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getUlLon(), isGeographicRectNull(), operator=(), parseStream(), print(), setUlLon(), and writeStream().
|
private |
Definition at line 149 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getUrLat(), isGeographicRectNull(), operator=(), parseStream(), print(), setUrLat(), and writeStream().
|
private |
Definition at line 150 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getUrLon(), isGeographicRectNull(), operator=(), parseStream(), print(), setUrLon(), and writeStream().
|
private |
Definition at line 158 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getVerticalInterval(), isIntervalNull(), operator=(), parseStream(), print(), setVerticalInterval(), and writeStream().
|
private |
Definition at line 155 of file ossimRpfCoverageSection.h.
Referenced by clearFields(), getVerticalResolution(), operator=(), parseStream(), print(), setVerticalResolution(), and writeStream().