|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfGeolobTag.h>
Public Types | |
| enum | { ARV_SIZE = 9, BRV_SIZE = 9, LSO_SIZE = 15, PSO_SIZE = 15, TAG_SIZE = 48 } |
Public Member Functions | |
| ossimNitfGeolobTag () | |
| default constructor More... | |
| virtual void | parseStream (ossim::istream &in) |
| Parse method. More... | |
| virtual void | writeStream (ossim::ostream &out) |
| Write method. More... | |
| virtual std::ostream & | print (std::ostream &out, const std::string &prefix) const |
| Print method that outputs a key/value type format adding prefix to keys. More... | |
| std::string | getArvString () const |
| Gets the ARV field. More... | |
| ossim_uint32 | getArv () const |
| Gets the ARV field. More... | |
| ossim_float64 | getDegreesPerPixelLon () const |
| Gets degrees per pixel in lonitude direction from BRV field. More... | |
| void | setArv (ossim_uint32 arv) |
| Sets the ARV field. More... | |
| void | setDegreesPerPixelLon (const ossim_float64 &deltaLon) |
| Sets the ARV field from decimal degrees per pixel longitude. More... | |
| std::string | getBrvString () const |
| Gets the BRV field. More... | |
| ossim_uint32 | getBrv () const |
| Gets the BRV field. More... | |
| ossim_float64 | getDegreesPerPixelLat () const |
| Gets degrees per pixel in latitude direction from BRV field. More... | |
| void | setBrv (ossim_uint32 brv) |
| Sets the BRV field. More... | |
| void | setDegreesPerPixelLat (const ossim_float64 &deltaLat) |
| Sets the BRV field from decimal degrees per pixel latitude. More... | |
| std::string | getLsoString () const |
| Gets the LSO field. More... | |
| ossim_float64 | getLso () const |
| Gets the LSO field(Longitude Origin). More... | |
| void | setLso (const ossim_float64 &lso) |
| Sets the LSO field(Longitude Origin). More... | |
| std::string | getPsoString () const |
| Gets the PSO field. More... | |
| ossim_float64 | getPso () const |
| Gets the PSO field(Latitude Origin). More... | |
| void | setPso (const ossim_float64 &pso) |
| Sets the PSO field(Latitude Origin). More... | |
Public Member Functions inherited from ossimNitfRegisteredTag | |
| ossimNitfRegisteredTag () | |
| default constructor More... | |
| ossimNitfRegisteredTag (const std::string &tagName, ossim_uint32 tagLength) | |
| Constructor that takes name and size. More... | |
| virtual | ~ossimNitfRegisteredTag () |
| destructor More... | |
| virtual std::string | getRegisterTagName () const |
| This will return the name of the registered tag for this user defined header. More... | |
| virtual const std::string & | getTagName () const |
| This will return the name of the registered tag for this user defined header. More... | |
| virtual void | setTagName (const std::string &tagName) |
| virtual ossim_uint32 | getSizeInBytes () const |
| Returns the length in bytes of the tag from the CEL or REL field. More... | |
| virtual ossim_uint32 | getTagLength () const |
| Returns the length in bytes of the tag from the CEL or REL field. More... | |
| virtual void | setTagLength (ossim_uint32 length) |
| Set the tag length. More... | |
| virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
| virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
| virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
| virtual void | getMetadata (ossimKeywordlist &kwl, const char *prefix=0) const |
| Default interface to populate keyword list with metadata. More... | |
| virtual bool | saveState (ossimKeywordlist &kwl, const ossimString &prefix) const |
Public Member Functions inherited from ossimObject | |
| ossimObject () | |
| virtual | ~ossimObject () |
| virtual ossimObject * | dup () const |
| virtual ossimString | getShortName () const |
| virtual ossimString | getLongName () const |
| virtual ossimString | getDescription () const |
| virtual ossimString | getClassName () const |
| virtual RTTItypeid | getType () const |
| virtual bool | canCastTo (ossimObject *obj) const |
| virtual bool | canCastTo (const RTTItypeid &id) const |
| virtual bool | canCastTo (const ossimString &parentClassName) const |
| virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
| virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
| virtual std::ostream & | print (std::ostream &out) const |
| Generic print method. More... | |
| virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
| virtual void | accept (ossimVisitor &visitor) |
Public Member Functions inherited from ossimReferenced | |
| ossimReferenced () | |
| ossimReferenced (const ossimReferenced &) | |
| ossimReferenced & | operator= (const ossimReferenced &) |
| void | ref () const |
| increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | unref () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unref_nodelete () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| int | referenceCount () const |
Public Member Functions inherited from ossimPropertyInterface | |
| ossimPropertyInterface () | |
| virtual | ~ossimPropertyInterface () |
| virtual void | setProperty (const ossimString &name, const ossimString &value) |
| virtual ossimString | getPropertyValueAsString (const ossimString &name) const |
| void | getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const |
| void | setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList) |
Protected Attributes | |
| std::string | m_tagData |
Protected Attributes inherited from ossimNitfRegisteredTag | |
| std::string | m_tagName |
| ossim_uint32 | m_tagLength |
Additional Inherited Members | |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Definition at line 25 of file ossimNitfGeolobTag.h.
| anonymous enum |
| Enumerator | |
|---|---|
| ARV_SIZE | |
| BRV_SIZE | |
| LSO_SIZE | |
| PSO_SIZE | |
| TAG_SIZE | |
Definition at line 28 of file ossimNitfGeolobTag.h.
| ossimNitfGeolobTag::ossimNitfGeolobTag | ( | ) |
default constructor
Definition at line 34 of file ossimNitfGeolobTag.cpp.
| ossim_uint32 ossimNitfGeolobTag::getArv | ( | ) | const |
Gets the ARV field.
Definition at line 74 of file ossimNitfGeolobTag.cpp.
References getArvString(), and ossimString::toUInt32().
Referenced by getDegreesPerPixelLon().
| std::string ossimNitfGeolobTag::getArvString | ( | ) | const |
Gets the ARV field.
Longitude density: This field shall contain the pixel ground spacing in E/W direction that is the number of pixels or elements intervals in 360°
Pixel size in decimal degree = 360.0 / AVR
Definition at line 69 of file ossimNitfGeolobTag.cpp.
References ARV_SIZE, and m_tagData.
Referenced by getArv(), and print().
| ossim_uint32 ossimNitfGeolobTag::getBrv | ( | ) | const |
Gets the BRV field.
Definition at line 133 of file ossimNitfGeolobTag.cpp.
References getBrvString(), and ossimString::toUInt32().
Referenced by getDegreesPerPixelLat().
| std::string ossimNitfGeolobTag::getBrvString | ( | ) | const |
Gets the BRV field.
Latitude density: This field shall contain the pixel ground spacing in N/S direction that is the number of pixels or elements intervals in 360°.
Pixel size in decimal degree = 360.0 / BVR
Definition at line 117 of file ossimNitfGeolobTag.cpp.
References BRV_SIZE, and m_tagData.
Referenced by getBrv(), and print().
| ossim_float64 ossimNitfGeolobTag::getDegreesPerPixelLat | ( | ) | const |
Gets degrees per pixel in latitude direction from BRV field.
Pixel size in decimal degree = 360.0 / BVR
Definition at line 122 of file ossimNitfGeolobTag.cpp.
References getBrv().
| ossim_float64 ossimNitfGeolobTag::getDegreesPerPixelLon | ( | ) | const |
Gets degrees per pixel in lonitude direction from BRV field.
Pixel size in decimal degree = 360.0 / AVR
Definition at line 85 of file ossimNitfGeolobTag.cpp.
References getArv().
| ossim_float64 ossimNitfGeolobTag::getLso | ( | ) | const |
Gets the LSO field(Longitude Origin).
Definition at line 171 of file ossimNitfGeolobTag.cpp.
References getLsoString(), and ossimString::toFloat64().
| std::string ossimNitfGeolobTag::getLsoString | ( | ) | const |
Gets the LSO field.
Longitude of Reference Origin: This field shall contain the longitude of the origin pixel (row number 0, column number 0) in the absolute coordinate system.
Definition at line 166 of file ossimNitfGeolobTag.cpp.
References LSO_SIZE, and m_tagData.
Referenced by getLso(), and print().
| ossim_float64 ossimNitfGeolobTag::getPso | ( | ) | const |
Gets the PSO field(Latitude Origin).
Definition at line 202 of file ossimNitfGeolobTag.cpp.
References getPsoString(), and ossimString::toFloat64().
| std::string ossimNitfGeolobTag::getPsoString | ( | ) | const |
Gets the PSO field.
Latitude of Reference Origin: This field shall contain the latitude of the origin pixel (row number 0, column number 0) in the absolute coordinate system.
Definition at line 197 of file ossimNitfGeolobTag.cpp.
References m_tagData, and PSO_SIZE.
Referenced by getPso(), and print().
|
virtual |
Parse method.
| in | Stream to parse. |
Implements ossimNitfRegisteredTag.
Definition at line 40 of file ossimNitfGeolobTag.cpp.
References m_tagData, and TAG_SIZE.
|
virtual |
Print method that outputs a key/value type format adding prefix to keys.
| out | Stream to output to. |
| prefix | Prefix added to key like "image0."; |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 50 of file ossimNitfGeolobTag.cpp.
References getArvString(), getBrvString(), getLsoString(), getPsoString(), ossimNitfRegisteredTag::getTagLength(), and ossimNitfRegisteredTag::getTagName().
| void ossimNitfGeolobTag::setArv | ( | ossim_uint32 | arv | ) |
Sets the ARV field.
Valid range: 000000002 to 999999999 arv
Definition at line 96 of file ossimNitfGeolobTag.cpp.
References ARV_SIZE, and m_tagData.
Referenced by setDegreesPerPixelLon().
| void ossimNitfGeolobTag::setBrv | ( | ossim_uint32 | brv | ) |
Sets the BRV field.
Valid range: 000000002 to 999999999 brv
Definition at line 144 of file ossimNitfGeolobTag.cpp.
References BRV_SIZE, and m_tagData.
Referenced by setDegreesPerPixelLat().
| void ossimNitfGeolobTag::setDegreesPerPixelLat | ( | const ossim_float64 & | deltaLat | ) |
Sets the BRV field from decimal degrees per pixel latitude.
deltaLon
Definition at line 156 of file ossimNitfGeolobTag.cpp.
References setBrv().
Referenced by ossimNitfWriterBase::addGeolobTag().
| void ossimNitfGeolobTag::setDegreesPerPixelLon | ( | const ossim_float64 & | deltaLon | ) |
Sets the ARV field from decimal degrees per pixel longitude.
deltaLon
Definition at line 107 of file ossimNitfGeolobTag.cpp.
References setArv().
Referenced by ossimNitfWriterBase::addGeolobTag().
| void ossimNitfGeolobTag::setLso | ( | const ossim_float64 & | lso | ) |
Sets the LSO field(Longitude Origin).
Valid range: -180.0 to +180.0 lso
Definition at line 182 of file ossimNitfGeolobTag.cpp.
References LSO_SIZE, and m_tagData.
Referenced by ossimNitfWriterBase::addGeolobTag().
| void ossimNitfGeolobTag::setPso | ( | const ossim_float64 & | pso | ) |
Sets the PSO field(Latitude Origin).
Valid range: -90.0 to +90.0 pso
Definition at line 213 of file ossimNitfGeolobTag.cpp.
References m_tagData, and PSO_SIZE.
Referenced by ossimNitfWriterBase::addGeolobTag().
|
virtual |
Write method.
| out | Stream to write to. |
Implements ossimNitfRegisteredTag.
Definition at line 45 of file ossimNitfGeolobTag.cpp.
References m_tagData, and TAG_SIZE.
|
protected |
Definition at line 195 of file ossimNitfGeolobTag.h.
Referenced by getArvString(), getBrvString(), getLsoString(), getPsoString(), parseStream(), setArv(), setBrv(), setLso(), setPso(), and writeStream().
1.8.14