OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfPiaimcTag.h>
Public Types | |
enum | { CLOUDCVR_SIZE = 3, SRP_SIZE = 1, SENSMODE_SIZE = 12, SENSNAME_SIZE = 18, SOURCE_SIZE = 255, COMGEN_SIZE = 2, SUBQUAL_SIZE = 1, PIAMSNNUM_SIZE = 7, CAMSPECS_SIZE = 32, PROJID_SIZE = 2, GENERATION_SIZE = 1, ESD_SIZE = 1, OTHERCOND_SIZE = 2, MEANGSD_SIZE = 7, IDATUM_SIZE = 3, IELLIP_SIZE = 3, PREPROC_SIZE = 2, IPROJ_SIZE = 2, SATTRACK_SIZE = 8 } |
Public Member Functions | |
ossimNitfPiaimcTag () | |
default constructor More... | |
virtual void | parseStream (std::istream &in) |
Parse method. More... | |
virtual void | writeStream (std::ostream &out) |
Write method. More... | |
virtual void | clearFields () |
Clears all string fields within the record to some default nothingness. 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... | |
ossimString | getCloudcvrString () const |
ossimString | getSrpString () const |
ossimString | getSensmodeString () const |
ossimString | getSensnameString () const |
ossimString | getSourceString () const |
ossimString | getComgenString () const |
ossimString | getSubqualString () const |
ossimString | getPiamsnnumString () const |
ossimString | getString () const |
ossimString | getCamspecsString () const |
ossimString | getProjidString () const |
ossimString | getGenerationString () const |
ossimString | getEsdString () const |
ossimString | getOthercondString () const |
ossimString | getMeadGsdString () const |
ossim_float64 | getMeanGsdInMeters () const |
ossimString | getIdatumString () const |
ossimString | getIellipString () const |
ossimString | getPreprocString () const |
ossimString | getIprojString () const |
ossimString | getSattrackString () const |
virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
![]() | |
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 | parseStream (ossim::istream &in)=0 |
This will allow the user defined data to parse the stream. More... | |
virtual void | writeStream (ossim::ostream &out)=0 |
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 |
![]() | |
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) |
![]() | |
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 |
![]() | |
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 | |
char | theCloudcvr [CLOUDCVR_SIZE+1] |
FIELD: CLOUDCVR. More... | |
char | theSrp [SRP_SIZE+1] |
FIELD: SRP. More... | |
char | thesSensmode [SENSMODE_SIZE+1] |
FIELD: SENSMODE. More... | |
char | theSensname [SENSNAME_SIZE+1] |
FIELD: SENSNAME. More... | |
char | theSource [SOURCE_SIZE+1] |
FIELD: SOURCE. More... | |
char | theComgen [COMGEN_SIZE+1] |
FIELD: COMGEN. More... | |
char | theSubqual [SUBQUAL_SIZE+1] |
FIELD: SUBQUAL. More... | |
char | thePiamsnnum [PIAMSNNUM_SIZE+1] |
FIELD: PIAMSNNUM. More... | |
char | theCamspecs [CAMSPECS_SIZE+1] |
FIELD: CAMSPECS. More... | |
char | theProjid [PROJID_SIZE+1] |
FIELD: PROJID. More... | |
char | theGeneration [GENERATION_SIZE+1] |
FIELD: GENERATION. More... | |
char | theEsd [ESD_SIZE+1] |
FIELD: ESD. More... | |
char | theOthercond [OTHERCOND_SIZE+1] |
FIELD: OTHERCOND. More... | |
char | theMeanGsd [MEANGSD_SIZE+1] |
FIELD: MEANGSD. More... | |
char | theIdatum [IDATUM_SIZE+1] |
FIELD: IDATUM. More... | |
char | theIellip [IELLIP_SIZE+1] |
FIELD: IELLIP. More... | |
char | thePreproc [PREPROC_SIZE+1] |
FIELD: PREPROC. More... | |
char | theIproj [IPROJ_SIZE+1] |
FIELD: IPROJ. More... | |
char | theSattrack [SATTRACK_SIZE+1] |
FIELD: SATTRACK. More... | |
![]() | |
std::string | m_tagName |
ossim_uint32 | m_tagLength |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 27 of file ossimNitfPiaimcTag.h.
anonymous enum |
Definition at line 30 of file ossimNitfPiaimcTag.h.
ossimNitfPiaimcTag::ossimNitfPiaimcTag | ( | ) |
default constructor
Definition at line 53 of file ossimNitfPiaimcTag.cpp.
References clearFields().
|
virtual |
Clears all string fields within the record to some default nothingness.
Definition at line 107 of file ossimNitfPiaimcTag.cpp.
References CAMSPECS_SIZE, CLOUDCVR_SIZE, COMGEN_SIZE, ESD_SIZE, GENERATION_SIZE, IDATUM_SIZE, IELLIP_SIZE, IPROJ_SIZE, MEANGSD_SIZE, OTHERCOND_SIZE, PIAMSNNUM_SIZE, PREPROC_SIZE, PROJID_SIZE, SATTRACK_SIZE, SENSMODE_SIZE, SENSNAME_SIZE, SOURCE_SIZE, SRP_SIZE, SUBQUAL_SIZE, theCamspecs, theCloudcvr, theComgen, theEsd, theGeneration, theIdatum, theIellip, theIproj, theMeanGsd, theOthercond, thePiamsnnum, thePreproc, theProjid, theSattrack, theSensname, theSource, theSrp, thesSensmode, and theSubqual.
Referenced by ossimNitfPiaimcTag(), and parseStream().
ossimString ossimNitfPiaimcTag::getCamspecsString | ( | ) | const |
Definition at line 223 of file ossimNitfPiaimcTag.cpp.
References theCamspecs.
ossimString ossimNitfPiaimcTag::getCloudcvrString | ( | ) | const |
Definition at line 183 of file ossimNitfPiaimcTag.cpp.
References theCloudcvr.
ossimString ossimNitfPiaimcTag::getComgenString | ( | ) | const |
Definition at line 208 of file ossimNitfPiaimcTag.cpp.
References theComgen.
ossimString ossimNitfPiaimcTag::getEsdString | ( | ) | const |
Definition at line 238 of file ossimNitfPiaimcTag.cpp.
References theEsd.
ossimString ossimNitfPiaimcTag::getGenerationString | ( | ) | const |
Definition at line 233 of file ossimNitfPiaimcTag.cpp.
References theGeneration.
ossimString ossimNitfPiaimcTag::getIdatumString | ( | ) | const |
Definition at line 270 of file ossimNitfPiaimcTag.cpp.
References theIdatum.
ossimString ossimNitfPiaimcTag::getIellipString | ( | ) | const |
Definition at line 275 of file ossimNitfPiaimcTag.cpp.
References theIellip.
ossimString ossimNitfPiaimcTag::getIprojString | ( | ) | const |
Definition at line 285 of file ossimNitfPiaimcTag.cpp.
References theIproj.
ossimString ossimNitfPiaimcTag::getMeadGsdString | ( | ) | const |
Definition at line 248 of file ossimNitfPiaimcTag.cpp.
References theMeanGsd.
ossim_float64 ossimNitfPiaimcTag::getMeanGsdInMeters | ( | ) | const |
Definition at line 253 of file ossimNitfPiaimcTag.cpp.
References ossim::isnan(), MTRS_PER_FT, ossimString::size(), theMeanGsd, and ossimString::toFloat64().
ossimString ossimNitfPiaimcTag::getOthercondString | ( | ) | const |
Definition at line 243 of file ossimNitfPiaimcTag.cpp.
References theOthercond.
ossimString ossimNitfPiaimcTag::getPiamsnnumString | ( | ) | const |
Definition at line 218 of file ossimNitfPiaimcTag.cpp.
References thePiamsnnum.
ossimString ossimNitfPiaimcTag::getPreprocString | ( | ) | const |
Definition at line 280 of file ossimNitfPiaimcTag.cpp.
References thePreproc.
ossimString ossimNitfPiaimcTag::getProjidString | ( | ) | const |
Definition at line 228 of file ossimNitfPiaimcTag.cpp.
References theProjid.
|
virtual |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 300 of file ossimNitfPiaimcTag.cpp.
|
virtual |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 388 of file ossimNitfPiaimcTag.cpp.
References ossimNitfRegisteredTag::getPropertyNames().
ossimString ossimNitfPiaimcTag::getSattrackString | ( | ) | const |
Definition at line 290 of file ossimNitfPiaimcTag.cpp.
References theSattrack.
ossimString ossimNitfPiaimcTag::getSensmodeString | ( | ) | const |
Definition at line 193 of file ossimNitfPiaimcTag.cpp.
References thesSensmode.
ossimString ossimNitfPiaimcTag::getSensnameString | ( | ) | const |
Definition at line 198 of file ossimNitfPiaimcTag.cpp.
References theSensname.
ossimString ossimNitfPiaimcTag::getSourceString | ( | ) | const |
Definition at line 203 of file ossimNitfPiaimcTag.cpp.
References theSource.
ossimString ossimNitfPiaimcTag::getSrpString | ( | ) | const |
Definition at line 188 of file ossimNitfPiaimcTag.cpp.
References theSrp.
ossimString ossimNitfPiaimcTag::getString | ( | ) | const |
ossimString ossimNitfPiaimcTag::getSubqualString | ( | ) | const |
Definition at line 213 of file ossimNitfPiaimcTag.cpp.
References theSubqual.
|
virtual |
Parse method.
in | Stream to parse. |
Definition at line 59 of file ossimNitfPiaimcTag.cpp.
References CAMSPECS_SIZE, clearFields(), CLOUDCVR_SIZE, COMGEN_SIZE, ESD_SIZE, GENERATION_SIZE, IDATUM_SIZE, IELLIP_SIZE, IPROJ_SIZE, MEANGSD_SIZE, OTHERCOND_SIZE, PIAMSNNUM_SIZE, PREPROC_SIZE, PROJID_SIZE, SATTRACK_SIZE, SENSMODE_SIZE, SENSNAME_SIZE, SOURCE_SIZE, SRP_SIZE, SUBQUAL_SIZE, theCamspecs, theCloudcvr, theComgen, theEsd, theGeneration, theIdatum, theIellip, theIproj, theMeanGsd, theOthercond, thePiamsnnum, thePreproc, theProjid, theSattrack, theSensname, theSource, theSrp, thesSensmode, and theSubqual.
|
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 150 of file ossimNitfPiaimcTag.cpp.
References ossimNitfRegisteredTag::getTagLength(), ossimNitfRegisteredTag::getTagName(), theCamspecs, theCloudcvr, theComgen, theEsd, theGeneration, theIdatum, theIellip, theIproj, theMeanGsd, theOthercond, thePiamsnnum, thePreproc, theProjid, theSattrack, theSensname, theSource, theSrp, thesSensmode, and theSubqual.
|
virtual |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 295 of file ossimNitfPiaimcTag.cpp.
References ossimNitfRegisteredTag::setProperty().
|
virtual |
Write method.
out | Stream to write to. |
Definition at line 84 of file ossimNitfPiaimcTag.cpp.
References CAMSPECS_SIZE, CLOUDCVR_SIZE, COMGEN_SIZE, ESD_SIZE, GENERATION_SIZE, IDATUM_SIZE, IELLIP_SIZE, IPROJ_SIZE, MEANGSD_SIZE, OTHERCOND_SIZE, PIAMSNNUM_SIZE, PREPROC_SIZE, PROJID_SIZE, SATTRACK_SIZE, SENSMODE_SIZE, SENSNAME_SIZE, SOURCE_SIZE, SRP_SIZE, SUBQUAL_SIZE, theCamspecs, theCloudcvr, theComgen, theEsd, theGeneration, theIdatum, theIellip, theIproj, theMeanGsd, theOthercond, thePiamsnnum, thePreproc, theProjid, theSattrack, theSensname, theSource, theSrp, thesSensmode, and theSubqual.
|
protected |
FIELD: CAMSPECS.
32 byte field
Specifies the brand name of the camera used and the focal length of the lens.
alphanumeric
Definition at line 297 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getCamspecsString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: CLOUDCVR.
3 byte field
Indicates the precentage of the image that is obscured by cloud. A value os 999 indicates an unknown condition.
000 to 100, or 999
Definition at line 208 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getCloudcvrString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: COMGEN.
2 byte field
Compression Generation.
00 to 99
Definition at line 263 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getComgenString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: ESD.
1 byte field
Indicates whether or not Exploitation Support Data is available and contained withing the product data.
Y,N
Definition at line 332 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getEsdString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: GENERATION.
1 byte field
Specifies the number of image generations of the product. The number(0) is reserved for the original product.
0 to 9
Definition at line 320 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getGenerationString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: IDATUM.
3 byte field
Identifies the mathematical representation of the earth used to geo-correct/or to rectify the image. (Identifies the Datum assiciated with IGEOLO.)
Horizontal_Reference_Datum_Code(refer to DDDS element)
Definition at line 368 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getIdatumString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: IELLIP.
3 byte field
Identifies the mathematical representation of the earth used to geo-correct/or to rectify the image. (Identifies the Ellipsoid assiciated with IGEOLO.)
Definition at line 379 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getIellipString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: IPROJ.
2 byte field
Identifies the 2D-map projection used by commercial vendors to geo-correct/or to rectify the image.
DIGEST, Part 3 table 6-1
Definition at line 403 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getIprojString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: MEANGSD.
7 byte field
The geometric mean of the across and along scan center-to-center distance between contiguous ground samples.
00000.0 to 99999.9 Expressed in inches, accuracy=10%
Definition at line 355 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getMeadGsdString(), getMeanGsdInMeters(), parseStream(), print(), and writeStream().
|
protected |
FIELD: OTHERCOND.
2 byte field
Indicates other conditions that affect the imagery over the target.
EARS 1.1 page 4 to 28
Definition at line 343 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getOthercondString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: PIAMSNNUM.
7 byte field
Indicates the mission number assigned to the reconnaissance mission.
EARS 1.1 page 4-28
Definition at line 285 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getPiamsnnumString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: PREPROC.
2 byte field
Identifies the level of radiometric and geometric processing applied to the product by the commercial vendor.
USIGS DM, IMAGEDATASET Processing Level Code.
Definition at line 391 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getPreprocString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: PROJID.
2 byte field
Indentifies collection platform project identifier code.
EARS Appendix 9
Definition at line 308 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getProjidString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SATTRACK.
8 byte field
Identifies location of an image acquired by LANDSAT or SPOT (only) along the satellite path.
Minimum values: PATH(J)=0001 ROW(K) =0001 Maximum values: PATH(J)=9999 ROW(K) =9999
Recorded as PATH/ROW 00010001
Definition at line 422 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getSattrackString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SENSNAME.
18 byte field
Indentifies the name of sensor used in capturing the image.
USIGS DM, SENSORTYPE Name
Definition at line 241 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getSensnameString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SOURCE.
18 byte field
Indicated where the image came from.
alphanumeric
Definition at line 252 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getSourceString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SRP.
1 byte field
Indicates whether or not standard radiometric product data is available.
Y,N
Definition at line 219 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getSrpString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SENSMODE.
12 byte field
Indentifies the sensor mode used in capturing the image.
WHISKBROOM, PUSHROOM, FRAMING, SPOT, SWATH, TBD
Definition at line 230 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getSensmodeString(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SUBQUAL.
1 byte field
Subjective Quality
P-Poor, G-Good, E-Excellent, F-Fair
Definition at line 274 of file ossimNitfPiaimcTag.h.
Referenced by clearFields(), getSubqualString(), parseStream(), print(), and writeStream().