OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Types | Public Member Functions | Protected Attributes | List of all members
ossimNitfIchipbTag Class Reference

#include <ossimNitfIchipbTag.h>

Inheritance diagram for ossimNitfIchipbTag:
ossimNitfRegisteredTag ossimObject ossimPropertyInterface ossimReferenced

Public Types

enum  {
  XFRM_FLAG_SIZE = 2, SCALE_FACTOR_SIZE = 10, ANAMRPH_CORR_SIZE = 2, SCANBLK_NUM_SIZE = 2,
  OP_ROW_11_SIZE = 12, OP_COL_11_SIZE = 12, OP_ROW_12_SIZE = 12, OP_COL_12_SIZE = 12,
  OP_ROW_21_SIZE = 12, OP_COL_21_SIZE = 12, OP_ROW_22_SIZE = 12, OP_COL_22_SIZE = 12,
  FI_ROW_11_SIZE = 12, FI_COL_11_SIZE = 12, FI_ROW_12_SIZE = 12, FI_COL_12_SIZE = 12,
  FI_ROW_21_SIZE = 12, FI_COL_21_SIZE = 12, FI_ROW_22_SIZE = 12, FI_COL_22_SIZE = 12,
  FI_ROW_SIZE = 8, FI_COL_SIZE = 8
}
 

Public Member Functions

 ossimNitfIchipbTag ()
 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=std::string()) const
 Print method that outputs a key/value type format adding prefix to keys. More...
 
bool getXfrmFlag () const
 
ossim_float64 getScaleFactor () const
 
bool getAnamrphCorrFlag () const
 
ossim_uint32 getScanBlock () const
 
ossim_float64 getOpRow11 () const
 
ossim_float64 getOpCol11 () const
 Output product column number component of grid point index (1,1) for intelligent data. More...
 
ossim_float64 getOpRow12 () const
 
ossim_float64 getOpCol12 () const
 Output product column number component of grid point index (1,2) for intelligent data. More...
 
ossim_float64 getOpRow21 () const
 
ossim_float64 getOpCol21 () const
 Output product column number component of grid point index (2,1) for intelligent data. More...
 
ossim_float64 getOpRow22 () const
 
ossim_float64 getOpCol22 () const
 
ossim_float64 getFiRow11 () const
 
ossim_float64 getFiCol11 () const
 
ossim_float64 getFiRow12 () const
 
ossim_float64 getFiCol12 () const
 
ossim_float64 getFiRow21 () const
 
ossim_float64 getFiCol21 () const
 
ossim_float64 getFiRow22 () const
 
ossim_float64 getFiCol22 () const
 
ossim_uint32 getFullImageRows () const
 
ossim_uint32 getFullImageCols () const
 
void getImageRect (ossimDrect &rect) const
 Initializes rect with the image rectangle without any sub image offset applied. More...
 
void getFullImageRect (ossimDrect &rect) const
 Initializes rect with the image rectangle with sub image offset applied. More...
 
ossim2dTo2dTransformnewTransform () const
 
virtual void setProperty (ossimRefPtr< ossimProperty > property)
 
virtual ossimRefPtr< ossimPropertygetProperty (const ossimString &name) const
 
virtual void getPropertyNames (std::vector< ossimString > &propertyNames) const
 
bool loadState (const ossimKeywordlist &kwl, const char *prefix)
 
- 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 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
 
- Public Member Functions inherited from ossimObject
 ossimObject ()
 
virtual ~ossimObject ()
 
virtual ossimObjectdup () 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 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 &)
 
ossimReferencedoperator= (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

char theXfrmFlag [XFRM_FLAG_SIZE+1]
 FIELD: XFRM_FLAG. More...
 
char theScaleFactor [SCALE_FACTOR_SIZE+1]
 FIELD: SCALE_FACTOR. More...
 
char theAnamrphCorr [ANAMRPH_CORR_SIZE+1]
 FIELD: ANAMRPH_CORR. More...
 
char theScanBlock [SCANBLK_NUM_SIZE+1]
 FIELD: SCANBLK_NUM. More...
 
char theOpRow11 [OP_ROW_11_SIZE+1]
 FIELD: OP_ROW_11. More...
 
char theOpCol11 [OP_COL_11_SIZE+1]
 FIELD: OP_COL_11. More...
 
char theOpRow12 [OP_ROW_12_SIZE+1]
 FIELD: OP_ROW_12. More...
 
char theOpCol12 [OP_COL_12_SIZE+1]
 FIELD: OP_COL_12. More...
 
char theOpRow21 [OP_ROW_21_SIZE+1]
 FIELD: OP_ROW_21. More...
 
char theOpCol21 [OP_COL_21_SIZE+1]
 FIELD: OP_COL_21. More...
 
char theOpRow22 [OP_ROW_22_SIZE+1]
 FIELD: OP_ROW_22. More...
 
char theOpCol22 [OP_COL_22_SIZE+1]
 FIELD: OP_COL_22. More...
 
char theFiRow11 [FI_ROW_11_SIZE+1]
 FIELD: FI_ROW_11. More...
 
char theFiCol11 [FI_COL_11_SIZE+1]
 FIELD: FI_COL_11. More...
 
char theFiRow12 [FI_ROW_12_SIZE+1]
 FIELD: FI_ROW_12. More...
 
char theFiCol12 [FI_COL_12_SIZE+1]
 FIELD: FI_COL_12. More...
 
char theFiRow21 [FI_ROW_21_SIZE+1]
 FIELD: FI_ROW_21. More...
 
char theFiCol21 [FI_COL_21_SIZE+1]
 FIELD: FI_COL_21. More...
 
char theFiRow22 [FI_ROW_22_SIZE+1]
 FIELD: FI_ROW_22. More...
 
char theFiCol22 [FI_COL_22_SIZE+1]
 FIELD: FI_COL_22. More...
 
char theFullImageRow [FI_ROW_SIZE+1]
 FIELD: FI_ROW. More...
 
char theFullImageCol [FI_COL_SIZE+1]
 FIELD: FI_COL. More...
 
- Protected Attributes inherited from ossimNitfRegisteredTag
std::string m_tagName
 
ossim_uint32 m_tagLength
 

Additional Inherited Members

- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 

Detailed Description

Definition at line 24 of file ossimNitfIchipbTag.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
XFRM_FLAG_SIZE 
SCALE_FACTOR_SIZE 
ANAMRPH_CORR_SIZE 
SCANBLK_NUM_SIZE 
OP_ROW_11_SIZE 
OP_COL_11_SIZE 
OP_ROW_12_SIZE 
OP_COL_12_SIZE 
OP_ROW_21_SIZE 
OP_COL_21_SIZE 
OP_ROW_22_SIZE 
OP_COL_22_SIZE 
FI_ROW_11_SIZE 
FI_COL_11_SIZE 
FI_ROW_12_SIZE 
FI_COL_12_SIZE 
FI_ROW_21_SIZE 
FI_COL_21_SIZE 
FI_ROW_22_SIZE 
FI_COL_22_SIZE 
FI_ROW_SIZE 
FI_COL_SIZE 

Definition at line 27 of file ossimNitfIchipbTag.h.

28  {
29  XFRM_FLAG_SIZE = 2,
30 
31  SCALE_FACTOR_SIZE = 10,
32 
34 
35  SCANBLK_NUM_SIZE = 2,
36 
37  OP_ROW_11_SIZE = 12,
38  OP_COL_11_SIZE = 12,
39 
40  OP_ROW_12_SIZE = 12,
41  OP_COL_12_SIZE = 12,
42 
43  OP_ROW_21_SIZE = 12,
44  OP_COL_21_SIZE = 12,
45 
46  OP_ROW_22_SIZE = 12,
47  OP_COL_22_SIZE = 12,
48 
49  FI_ROW_11_SIZE = 12,
50  FI_COL_11_SIZE = 12,
51 
52  FI_ROW_12_SIZE = 12,
53  FI_COL_12_SIZE = 12,
54 
55  FI_ROW_21_SIZE = 12,
56  FI_COL_21_SIZE = 12,
57 
58  FI_ROW_22_SIZE = 12,
59  FI_COL_22_SIZE = 12,
60 
61  FI_ROW_SIZE = 8,
62  FI_COL_SIZE = 8
63  // ------
64  // 224
65  };

Constructor & Destructor Documentation

◆ ossimNitfIchipbTag()

ossimNitfIchipbTag::ossimNitfIchipbTag ( )

default constructor

Definition at line 52 of file ossimNitfIchipbTag.cpp.

References clearFields().

53  : ossimNitfRegisteredTag(std::string("ICHIPB"), 224)
54 {
55  clearFields();
56 }
ossimNitfRegisteredTag()
default constructor
virtual void clearFields()
Clears all string fields within the record to some default nothingness.

Member Function Documentation

◆ clearFields()

void ossimNitfIchipbTag::clearFields ( )
virtual

Clears all string fields within the record to some default nothingness.

Definition at line 112 of file ossimNitfIchipbTag.cpp.

References ANAMRPH_CORR_SIZE, FI_COL_11_SIZE, FI_COL_12_SIZE, FI_COL_21_SIZE, FI_COL_22_SIZE, FI_COL_SIZE, FI_ROW_11_SIZE, FI_ROW_12_SIZE, FI_ROW_21_SIZE, FI_ROW_22_SIZE, FI_ROW_SIZE, OP_COL_11_SIZE, OP_COL_12_SIZE, OP_COL_21_SIZE, OP_COL_22_SIZE, OP_ROW_11_SIZE, OP_ROW_12_SIZE, OP_ROW_21_SIZE, OP_ROW_22_SIZE, SCALE_FACTOR_SIZE, SCANBLK_NUM_SIZE, theAnamrphCorr, theFiCol11, theFiCol12, theFiCol21, theFiCol22, theFiRow11, theFiRow12, theFiRow21, theFiRow22, theFullImageCol, theFullImageRow, theOpCol11, theOpCol12, theOpCol21, theOpCol22, theOpRow11, theOpRow12, theOpRow21, theOpRow22, theScaleFactor, theScanBlock, theXfrmFlag, and XFRM_FLAG_SIZE.

Referenced by ossimNitfIchipbTag(), and parseStream().

113 {
114  memset(theXfrmFlag, '0', XFRM_FLAG_SIZE);
115  memset(theScaleFactor, '0', SCALE_FACTOR_SIZE);
116  memset(theAnamrphCorr, '0', ANAMRPH_CORR_SIZE);
117  memset(theScanBlock, '0', SCANBLK_NUM_SIZE);
118  memset(theOpRow11, '0', OP_ROW_11_SIZE);
119  memset(theOpCol11, '0', OP_COL_11_SIZE);
120  memset(theOpRow12, '0', OP_ROW_12_SIZE);
121  memset(theOpCol12, '0', OP_COL_12_SIZE);
122  memset(theOpRow21, '0', OP_ROW_21_SIZE);
123  memset(theOpCol21, '0', OP_COL_21_SIZE);
124  memset(theOpRow22, '0', OP_ROW_22_SIZE);
125  memset(theOpCol22, '0', OP_COL_22_SIZE);
126  memset(theFiRow11, '0', FI_ROW_11_SIZE);
127  memset(theFiCol11, '0', FI_COL_11_SIZE);
128  memset(theFiRow12, '0', FI_ROW_12_SIZE);
129  memset(theFiCol12, '0', FI_COL_12_SIZE);
130  memset(theFiRow21, '0', FI_ROW_21_SIZE);
131  memset(theFiCol21, '0', FI_COL_21_SIZE);
132  memset(theFiRow22, '0', FI_ROW_22_SIZE);
133  memset(theFiCol22, '0', FI_COL_22_SIZE);
134  memset(theFullImageRow, '0', FI_ROW_SIZE);
135  memset(theFullImageCol, '0', FI_COL_SIZE);
136 
137  theXfrmFlag[XFRM_FLAG_SIZE] = '\0';
141  theOpRow11[OP_ROW_11_SIZE] = '\0';
142  theOpCol11[OP_COL_11_SIZE] = '\0';
143  theOpRow12[OP_ROW_12_SIZE] = '\0';
144  theOpCol12[OP_COL_12_SIZE] = '\0';
145  theOpRow21[OP_ROW_21_SIZE] = '\0';
146  theOpCol21[OP_COL_21_SIZE] = '\0';
147  theOpRow22[OP_ROW_22_SIZE] = '\0';
148  theOpCol22[OP_COL_22_SIZE] = '\0';
149  theFiRow11[FI_ROW_11_SIZE] = '\0';
150  theFiCol11[FI_COL_11_SIZE] = '\0';
151  theFiRow12[FI_ROW_12_SIZE] = '\0';
152  theFiCol12[FI_COL_12_SIZE] = '\0';
153  theFiRow21[FI_ROW_21_SIZE] = '\0';
154  theFiCol21[FI_COL_21_SIZE] = '\0';
155  theFiRow22[FI_ROW_22_SIZE] = '\0';
156  theFiCol22[FI_COL_22_SIZE] = '\0';
159 }
char theFiCol22[FI_COL_22_SIZE+1]
FIELD: FI_COL_22.
char theFiRow22[FI_ROW_22_SIZE+1]
FIELD: FI_ROW_22.
char theScanBlock[SCANBLK_NUM_SIZE+1]
FIELD: SCANBLK_NUM.
char theFiCol11[FI_COL_11_SIZE+1]
FIELD: FI_COL_11.
char theFiRow12[FI_ROW_12_SIZE+1]
FIELD: FI_ROW_12.
char theOpRow22[OP_ROW_22_SIZE+1]
FIELD: OP_ROW_22.
char theFiRow11[FI_ROW_11_SIZE+1]
FIELD: FI_ROW_11.
char theOpRow11[OP_ROW_11_SIZE+1]
FIELD: OP_ROW_11.
char theOpCol11[OP_COL_11_SIZE+1]
FIELD: OP_COL_11.
char theFiRow21[FI_ROW_21_SIZE+1]
FIELD: FI_ROW_21.
char theAnamrphCorr[ANAMRPH_CORR_SIZE+1]
FIELD: ANAMRPH_CORR.
char theScaleFactor[SCALE_FACTOR_SIZE+1]
FIELD: SCALE_FACTOR.
char theFiCol12[FI_COL_12_SIZE+1]
FIELD: FI_COL_12.
char theFiCol21[FI_COL_21_SIZE+1]
FIELD: FI_COL_21.
char theXfrmFlag[XFRM_FLAG_SIZE+1]
FIELD: XFRM_FLAG.
char theFullImageRow[FI_ROW_SIZE+1]
FIELD: FI_ROW.
char theOpRow21[OP_ROW_21_SIZE+1]
FIELD: OP_ROW_21.
char theOpCol12[OP_COL_12_SIZE+1]
FIELD: OP_COL_12.
char theFullImageCol[FI_COL_SIZE+1]
FIELD: FI_COL.
char theOpCol22[OP_COL_22_SIZE+1]
FIELD: OP_COL_22.
char theOpCol21[OP_COL_21_SIZE+1]
FIELD: OP_COL_21.
char theOpRow12[OP_ROW_12_SIZE+1]
FIELD: OP_ROW_12.

◆ getAnamrphCorrFlag()

bool ossimNitfIchipbTag::getAnamrphCorrFlag ( ) const
Returns
Anamophic correction indicator.

Definition at line 210 of file ossimNitfIchipbTag.cpp.

References theAnamrphCorr, and ossimString::toBool().

211 {
213 }
bool toBool() const
String to numeric methods.
char theAnamrphCorr[ANAMRPH_CORR_SIZE+1]
FIELD: ANAMRPH_CORR.

◆ getFiCol11()

ossim_float64 ossimNitfIchipbTag::getFiCol11 ( ) const
Returns
Grid point (1,1) column number in full image coordinate system.

Definition at line 265 of file ossimNitfIchipbTag.cpp.

References theFiCol11, and ossimString::toFloat64().

Referenced by newTransform().

266 {
268 }
char theFiCol11[FI_COL_11_SIZE+1]
FIELD: FI_COL_11.
ossim_float64 toFloat64() const

◆ getFiCol12()

ossim_float64 ossimNitfIchipbTag::getFiCol12 ( ) const
Returns
Grid point (1,2) row number in full image coordinate system.

Definition at line 275 of file ossimNitfIchipbTag.cpp.

References theFiCol12, and ossimString::toFloat64().

Referenced by newTransform().

276 {
278 }
ossim_float64 toFloat64() const
char theFiCol12[FI_COL_12_SIZE+1]
FIELD: FI_COL_12.

◆ getFiCol21()

ossim_float64 ossimNitfIchipbTag::getFiCol21 ( ) const
Returns
Grid point (2,1) row number in full image coordinate system.

Definition at line 285 of file ossimNitfIchipbTag.cpp.

References theFiCol21, and ossimString::toFloat64().

Referenced by newTransform().

286 {
288 }
ossim_float64 toFloat64() const
char theFiCol21[FI_COL_21_SIZE+1]
FIELD: FI_COL_21.

◆ getFiCol22()

ossim_float64 ossimNitfIchipbTag::getFiCol22 ( ) const
Returns
Grid point (2,2) row number in full image coordinate system.

Definition at line 295 of file ossimNitfIchipbTag.cpp.

References theFiCol22, and ossimString::toFloat64().

Referenced by newTransform().

296 {
298 }
char theFiCol22[FI_COL_22_SIZE+1]
FIELD: FI_COL_22.
ossim_float64 toFloat64() const

◆ getFiRow11()

ossim_float64 ossimNitfIchipbTag::getFiRow11 ( ) const
Returns
Grid point (1,1) row number in full image coordinate system.

Definition at line 260 of file ossimNitfIchipbTag.cpp.

References theFiRow11, and ossimString::toFloat64().

Referenced by newTransform().

261 {
263 }
char theFiRow11[FI_ROW_11_SIZE+1]
FIELD: FI_ROW_11.
ossim_float64 toFloat64() const

◆ getFiRow12()

ossim_float64 ossimNitfIchipbTag::getFiRow12 ( ) const
Returns
Grid point (1,2) row number in full image coordinate system.

Definition at line 270 of file ossimNitfIchipbTag.cpp.

References theFiRow12, and ossimString::toFloat64().

Referenced by newTransform().

271 {
273 }
char theFiRow12[FI_ROW_12_SIZE+1]
FIELD: FI_ROW_12.
ossim_float64 toFloat64() const

◆ getFiRow21()

ossim_float64 ossimNitfIchipbTag::getFiRow21 ( ) const
Returns
Grid point (2,1) row number in full image coordinate system.

Definition at line 280 of file ossimNitfIchipbTag.cpp.

References theFiRow21, and ossimString::toFloat64().

Referenced by newTransform().

281 {
283 }
ossim_float64 toFloat64() const
char theFiRow21[FI_ROW_21_SIZE+1]
FIELD: FI_ROW_21.

◆ getFiRow22()

ossim_float64 ossimNitfIchipbTag::getFiRow22 ( ) const
Returns
Grid point (2,2) row number in full image coordinate system.

Definition at line 290 of file ossimNitfIchipbTag.cpp.

References theFiRow22, and ossimString::toFloat64().

Referenced by newTransform().

291 {
293 }
char theFiRow22[FI_ROW_22_SIZE+1]
FIELD: FI_ROW_22.
ossim_float64 toFloat64() const

◆ getFullImageCols()

ossim_uint32 ossimNitfIchipbTag::getFullImageCols ( ) const
Returns
Full image number of cols.

Definition at line 305 of file ossimNitfIchipbTag.cpp.

References theFullImageCol, and ossimString::toUInt32().

306 {
308 }
ossim_uint32 toUInt32() const
char theFullImageCol[FI_COL_SIZE+1]
FIELD: FI_COL.

◆ getFullImageRect()

void ossimNitfIchipbTag::getFullImageRect ( ossimDrect rect) const

Initializes rect with the image rectangle with sub image offset applied.

This is the rectangle of the chip relative to the full image or starting at the sub image offset.

Parameters
rectThe rect to initialize.
Note
Rectangle is shifted by -0.5 since per spec (0,0) is the considered the upper left corner of the upper left pixel and we use a point method where (0,0) refers to the center of the pixel.

◆ getFullImageRows()

ossim_uint32 ossimNitfIchipbTag::getFullImageRows ( ) const
Returns
Full image number of rows.

Definition at line 300 of file ossimNitfIchipbTag.cpp.

References theFullImageRow, and ossimString::toUInt32().

301 {
303 }
ossim_uint32 toUInt32() const
char theFullImageRow[FI_ROW_SIZE+1]
FIELD: FI_ROW.

◆ getImageRect()

void ossimNitfIchipbTag::getImageRect ( ossimDrect rect) const

Initializes rect with the image rectangle without any sub image offset applied.

This is the rectangle of the chip starting at (0,0).

Parameters
rectThe rect to initialize.
Note
Rectangle is shifted by -0.5 since per spec (0,0) is the considered the upper left corner of the upper left pixel and we use a point method where (0,0) refers to the center of the pixel.

◆ getOpCol11()

ossim_float64 ossimNitfIchipbTag::getOpCol11 ( ) const

Output product column number component of grid point index (1,1) for intelligent data.

Definition at line 225 of file ossimNitfIchipbTag.cpp.

References theOpCol11, and ossimString::toFloat64().

Referenced by newTransform().

226 {
228 }
char theOpCol11[OP_COL_11_SIZE+1]
FIELD: OP_COL_11.
ossim_float64 toFloat64() const

◆ getOpCol12()

ossim_float64 ossimNitfIchipbTag::getOpCol12 ( ) const

Output product column number component of grid point index (1,2) for intelligent data.

Definition at line 235 of file ossimNitfIchipbTag.cpp.

References theOpCol12, and ossimString::toFloat64().

Referenced by newTransform().

236 {
238 }
ossim_float64 toFloat64() const
char theOpCol12[OP_COL_12_SIZE+1]
FIELD: OP_COL_12.

◆ getOpCol21()

ossim_float64 ossimNitfIchipbTag::getOpCol21 ( ) const

Output product column number component of grid point index (2,1) for intelligent data.

Definition at line 245 of file ossimNitfIchipbTag.cpp.

References theOpCol21, and ossimString::toFloat64().

Referenced by newTransform().

248 }
ossim_float64 toFloat64() const
char theOpCol21[OP_COL_21_SIZE+1]
FIELD: OP_COL_21.

◆ getOpCol22()

ossim_float64 ossimNitfIchipbTag::getOpCol22 ( ) const
Returns
Output product row number component of grid point index (2,2) for intelligent data,

Definition at line 255 of file ossimNitfIchipbTag.cpp.

References theOpCol22, and ossimString::toFloat64().

Referenced by newTransform().

256 {
258 }
ossim_float64 toFloat64() const
char theOpCol22[OP_COL_22_SIZE+1]
FIELD: OP_COL_22.

◆ getOpRow11()

ossim_float64 ossimNitfIchipbTag::getOpRow11 ( ) const
Returns
Output product row number component of grid point index (1,1) for intelligent data,

Definition at line 220 of file ossimNitfIchipbTag.cpp.

References theOpRow11, and ossimString::toFloat64().

Referenced by newTransform().

221 {
223 }
char theOpRow11[OP_ROW_11_SIZE+1]
FIELD: OP_ROW_11.
ossim_float64 toFloat64() const

◆ getOpRow12()

ossim_float64 ossimNitfIchipbTag::getOpRow12 ( ) const
Returns
Output product row number component of grid point index (1,2) for intelligent data,

Definition at line 230 of file ossimNitfIchipbTag.cpp.

References theOpRow12, and ossimString::toFloat64().

Referenced by newTransform().

231 {
233 }
ossim_float64 toFloat64() const
char theOpRow12[OP_ROW_12_SIZE+1]
FIELD: OP_ROW_12.

◆ getOpRow21()

ossim_float64 ossimNitfIchipbTag::getOpRow21 ( ) const
Returns
Output product row number component of grid point index (2,1) for intelligent data,

Definition at line 240 of file ossimNitfIchipbTag.cpp.

References theOpRow21, and ossimString::toFloat64().

Referenced by newTransform().

241 {
243 }
ossim_float64 toFloat64() const
char theOpRow21[OP_ROW_21_SIZE+1]
FIELD: OP_ROW_21.

◆ getOpRow22()

ossim_float64 ossimNitfIchipbTag::getOpRow22 ( ) const
Returns
Output product row number component of grid point index (2,2) for intelligent data,

Definition at line 250 of file ossimNitfIchipbTag.cpp.

References theOpRow22, and ossimString::toFloat64().

Referenced by newTransform().

251 {
253 }
char theOpRow22[OP_ROW_22_SIZE+1]
FIELD: OP_ROW_22.
ossim_float64 toFloat64() const

◆ getProperty()

ossimRefPtr< ossimProperty > ossimNitfIchipbTag::getProperty ( const ossimString name) const
virtual

Reimplemented from ossimNitfRegisteredTag.

Definition at line 369 of file ossimNitfIchipbTag.cpp.

370 {
371  ossimProperty* result = 0;
372 
373  if(name == XFRM_FLAG_KW)
374  {
375  result = new ossimStringProperty(name, theXfrmFlag);
376  }
377  else if(name == SCALE_FACTOR_KW)
378  {
379  result = new ossimStringProperty(name, theScaleFactor);
380  }
381  else if(name == ANAMRPH_CORR_KW)
382  {
383  result = new ossimStringProperty(name, theAnamrphCorr);
384  }
385  else if(name == SCANBLK_NUM_KW)
386  {
387  result = new ossimStringProperty(name, theScanBlock);
388  }
389  else if(name == OP_ROW_11_KW)
390  {
391  result = new ossimStringProperty(name, theOpRow11);
392  }
393  else if(name == OP_COL_11_KW)
394  {
395  result = new ossimStringProperty(name, theOpCol11);
396  }
397  else if(name == OP_ROW_12_KW)
398  {
399  result = new ossimStringProperty(name,theOpRow12 );
400  }
401  else if(name == OP_COL_12_KW)
402  {
403  result = new ossimStringProperty(name, theOpCol12);
404  }
405  else if(name == OP_ROW_21_KW)
406  {
407  result = new ossimStringProperty(name,theOpRow21);
408  }
409  else if(name == OP_COL_21_KW)
410  {
411  result = new ossimStringProperty(name, theOpCol21);
412  }
413  else if(name == OP_ROW_22_KW)
414  {
415  result = new ossimStringProperty(name, theOpRow22);
416  }
417  else if(name == OP_COL_22_KW)
418  {
419  result = new ossimStringProperty(name, theOpCol22);
420  }
421  else if(name == FI_ROW_11_KW)
422  {
423  result = new ossimStringProperty(name, theFiRow11);
424  }
425  else if(name == FI_COL_11_KW)
426  {
427  result = new ossimStringProperty(name, theFiCol11);
428  }
429  else if(name == FI_ROW_12_KW)
430  {
431  result = new ossimStringProperty(name, theFiRow12);
432  }
433  else if(name == FI_COL_12_KW)
434  {
435  result = new ossimStringProperty(name, theFiCol12);
436  }
437  else if(name == FI_ROW_21_KW)
438  {
439  result = new ossimStringProperty(name, theFiRow21);
440  }
441  else if(name == FI_COL_21_KW)
442  {
443  result = new ossimStringProperty(name, theFiCol21);
444  }
445  else if(name == FI_ROW_22_KW)
446  {
447  result = new ossimStringProperty(name, theFiRow22);
448  }
449  else if(name == FI_COL_22_KW)
450  {
451  result = new ossimStringProperty(name, theFiCol22);
452  }
453  else if(name == FI_ROW_KW)
454  {
455  result = new ossimStringProperty(name, theFullImageRow);
456  }
457  else if(name == FI_COL_KW)
458  {
459  result = new ossimStringProperty(name, theFullImageCol);
460  }
461  else
462  {
464  }
465 
466  return result;
467 }
char theFiCol22[FI_COL_22_SIZE+1]
FIELD: FI_COL_22.
char theFiRow22[FI_ROW_22_SIZE+1]
FIELD: FI_ROW_22.
char theScanBlock[SCANBLK_NUM_SIZE+1]
FIELD: SCANBLK_NUM.
char theFiCol11[FI_COL_11_SIZE+1]
FIELD: FI_COL_11.
char theFiRow12[FI_ROW_12_SIZE+1]
FIELD: FI_ROW_12.
char theOpRow22[OP_ROW_22_SIZE+1]
FIELD: OP_ROW_22.
char theFiRow11[FI_ROW_11_SIZE+1]
FIELD: FI_ROW_11.
char theOpRow11[OP_ROW_11_SIZE+1]
FIELD: OP_ROW_11.
char theOpCol11[OP_COL_11_SIZE+1]
FIELD: OP_COL_11.
char theFiRow21[FI_ROW_21_SIZE+1]
FIELD: FI_ROW_21.
char theAnamrphCorr[ANAMRPH_CORR_SIZE+1]
FIELD: ANAMRPH_CORR.
char theScaleFactor[SCALE_FACTOR_SIZE+1]
FIELD: SCALE_FACTOR.
char theFiCol12[FI_COL_12_SIZE+1]
FIELD: FI_COL_12.
char theFiCol21[FI_COL_21_SIZE+1]
FIELD: FI_COL_21.
char theXfrmFlag[XFRM_FLAG_SIZE+1]
FIELD: XFRM_FLAG.
char theFullImageRow[FI_ROW_SIZE+1]
FIELD: FI_ROW.
char theOpRow21[OP_ROW_21_SIZE+1]
FIELD: OP_ROW_21.
char theOpCol12[OP_COL_12_SIZE+1]
FIELD: OP_COL_12.
char theFullImageCol[FI_COL_SIZE+1]
FIELD: FI_COL.
char theOpCol22[OP_COL_22_SIZE+1]
FIELD: OP_COL_22.
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
char theOpCol21[OP_COL_21_SIZE+1]
FIELD: OP_COL_21.
char theOpRow12[OP_ROW_12_SIZE+1]
FIELD: OP_ROW_12.

◆ getPropertyNames()

void ossimNitfIchipbTag::getPropertyNames ( std::vector< ossimString > &  propertyNames) const
virtual

Reimplemented from ossimNitfRegisteredTag.

Definition at line 469 of file ossimNitfIchipbTag.cpp.

References ossimNitfRegisteredTag::getPropertyNames().

470 {
472 
473  propertyNames.push_back(XFRM_FLAG_KW);
474  propertyNames.push_back(SCALE_FACTOR_KW);
475  propertyNames.push_back(ANAMRPH_CORR_KW);
476  propertyNames.push_back(SCANBLK_NUM_KW);
477  propertyNames.push_back(OP_ROW_11_KW);
478  propertyNames.push_back(OP_COL_11_KW);
479  propertyNames.push_back(OP_ROW_12_KW);
480  propertyNames.push_back(OP_COL_12_KW);
481  propertyNames.push_back(OP_ROW_21_KW);
482  propertyNames.push_back(OP_COL_21_KW);
483  propertyNames.push_back(OP_ROW_22_KW);
484  propertyNames.push_back(OP_COL_22_KW);
485  propertyNames.push_back(FI_ROW_11_KW);
486  propertyNames.push_back(FI_COL_11_KW);
487  propertyNames.push_back(FI_ROW_12_KW);
488  propertyNames.push_back(FI_COL_12_KW);
489  propertyNames.push_back(FI_ROW_21_KW);
490  propertyNames.push_back(FI_COL_21_KW);
491  propertyNames.push_back(FI_ROW_22_KW);
492  propertyNames.push_back(FI_COL_22_KW);
493  propertyNames.push_back(FI_ROW_KW);
494  propertyNames.push_back(FI_COL_KW);
495 }
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const

◆ getScaleFactor()

ossim_float64 ossimNitfIchipbTag::getScaleFactor ( ) const
Returns
Scale factor relative to R0 (original full res image resolution).

Definition at line 205 of file ossimNitfIchipbTag.cpp.

References theScaleFactor, and ossimString::toFloat64().

206 {
208 }
ossim_float64 toFloat64() const
char theScaleFactor[SCALE_FACTOR_SIZE+1]
FIELD: SCALE_FACTOR.

◆ getScanBlock()

ossim_uint32 ossimNitfIchipbTag::getScanBlock ( ) const
Returns
Scan block number or scan block index.

Definition at line 215 of file ossimNitfIchipbTag.cpp.

References theScanBlock, and ossimString::toUInt32().

216 {
218 }
char theScanBlock[SCANBLK_NUM_SIZE+1]
FIELD: SCANBLK_NUM.
ossim_uint32 toUInt32() const

◆ getXfrmFlag()

bool ossimNitfIchipbTag::getXfrmFlag ( ) const
Returns
The Non-linear transformation flag.

Definition at line 200 of file ossimNitfIchipbTag.cpp.

References theXfrmFlag, and ossimString::toBool().

201 {
203 }
bool toBool() const
String to numeric methods.
char theXfrmFlag[XFRM_FLAG_SIZE+1]
FIELD: XFRM_FLAG.

◆ loadState()

bool ossimNitfIchipbTag::loadState ( const ossimKeywordlist kwl,
const char *  prefix 
)
virtual

Method to the load (recreate) the state of the object from a keyword list. Return true if ok or false on error.

Reimplemented from ossimObject.

Definition at line 497 of file ossimNitfIchipbTag.cpp.

References ossimKeywordlist::find().

498 {
499  const char* lookup;
500  lookup = kwl.find(prefix, XFRM_FLAG_KW);
501  if(lookup)
502  {
503  strcpy(theXfrmFlag, lookup);
504  }
505  lookup = kwl.find(prefix, SCALE_FACTOR_KW);
506  if(lookup)
507  {
508  strcpy(theScaleFactor, lookup);
509  }
510  lookup = kwl.find(prefix, ANAMRPH_CORR_KW);
511  if(lookup)
512  {
513  strcpy(theAnamrphCorr, lookup);
514  }
515  lookup = kwl.find(prefix, SCANBLK_NUM_KW);
516  if(lookup)
517  {
518  strcpy(theScanBlock, lookup);
519  }
520  lookup = kwl.find(prefix, OP_ROW_11_KW);
521  if(lookup)
522  {
523  strcpy(theOpRow11, lookup);
524  }
525  lookup = kwl.find(prefix, OP_COL_11_KW);
526  if(lookup)
527  {
528  strcpy(theOpCol11, lookup);
529  }
530  lookup = kwl.find(prefix, OP_ROW_12_KW);
531  if(lookup)
532  {
533  strcpy(theOpRow12, lookup);
534  }
535  lookup = kwl.find(prefix, OP_COL_12_KW);
536  if(lookup)
537  {
538  strcpy(theOpCol12, lookup);
539  }
540  lookup = kwl.find(prefix, OP_ROW_21_KW);
541  if(lookup)
542  {
543  strcpy(theOpRow21, lookup);
544  }
545  lookup = kwl.find(prefix, OP_COL_21_KW);
546  if(lookup)
547  {
548  strcpy(theOpCol21, lookup);
549  }
550  lookup = kwl.find(prefix, OP_ROW_22_KW);
551  if(lookup)
552  {
553  strcpy(theOpRow22, lookup);
554  }
555  lookup = kwl.find(prefix, OP_COL_22_KW);
556  if(lookup)
557  {
558  strcpy(theOpCol22, lookup);
559  }
560  lookup = kwl.find(prefix, FI_ROW_11_KW);
561  if(lookup)
562  {
563  strcpy(theFiRow11, lookup);
564  }
565  lookup = kwl.find(prefix, FI_COL_11_KW);
566  if(lookup)
567  {
568  strcpy(theFiCol11, lookup);
569  }
570  lookup = kwl.find(prefix, FI_ROW_12_KW);
571  if(lookup)
572  {
573  strcpy(theFiRow12, lookup);
574  }
575  lookup = kwl.find(prefix, FI_COL_12_KW);
576  if(lookup)
577  {
578  strcpy(theFiCol12, lookup);
579  }
580  lookup = kwl.find(prefix, FI_ROW_21_KW);
581  if(lookup)
582  {
583  strcpy(theFiRow21, lookup);
584  }
585  lookup = kwl.find(prefix, FI_COL_21_KW);
586  if(lookup)
587  {
588  strcpy(theFiCol21, lookup);
589  }
590  lookup = kwl.find(prefix, FI_ROW_22_KW);
591  if(lookup)
592  {
593  strcpy(theFiRow22, lookup);
594  }
595  lookup = kwl.find(prefix, FI_COL_22_KW);
596  if(lookup)
597  {
598  strcpy(theFiCol22, lookup);
599  }
600  lookup = kwl.find(prefix, FI_ROW_KW);
601  if(lookup)
602  {
603  strcpy(theFullImageRow, lookup);
604  }
605  lookup = kwl.find(prefix, FI_COL_KW);
606  if(lookup)
607  {
608  strcpy(theFullImageCol, lookup);
609  }
610 
611  return true;
612 }
char theFiCol22[FI_COL_22_SIZE+1]
FIELD: FI_COL_22.
char theFiRow22[FI_ROW_22_SIZE+1]
FIELD: FI_ROW_22.
char theScanBlock[SCANBLK_NUM_SIZE+1]
FIELD: SCANBLK_NUM.
char theFiCol11[FI_COL_11_SIZE+1]
FIELD: FI_COL_11.
const char * find(const char *key) const
char theFiRow12[FI_ROW_12_SIZE+1]
FIELD: FI_ROW_12.
char theOpRow22[OP_ROW_22_SIZE+1]
FIELD: OP_ROW_22.
char theFiRow11[FI_ROW_11_SIZE+1]
FIELD: FI_ROW_11.
char theOpRow11[OP_ROW_11_SIZE+1]
FIELD: OP_ROW_11.
char theOpCol11[OP_COL_11_SIZE+1]
FIELD: OP_COL_11.
char theFiRow21[FI_ROW_21_SIZE+1]
FIELD: FI_ROW_21.
char theAnamrphCorr[ANAMRPH_CORR_SIZE+1]
FIELD: ANAMRPH_CORR.
char theScaleFactor[SCALE_FACTOR_SIZE+1]
FIELD: SCALE_FACTOR.
char theFiCol12[FI_COL_12_SIZE+1]
FIELD: FI_COL_12.
char theFiCol21[FI_COL_21_SIZE+1]
FIELD: FI_COL_21.
char theXfrmFlag[XFRM_FLAG_SIZE+1]
FIELD: XFRM_FLAG.
char theFullImageRow[FI_ROW_SIZE+1]
FIELD: FI_ROW.
char theOpRow21[OP_ROW_21_SIZE+1]
FIELD: OP_ROW_21.
char theOpCol12[OP_COL_12_SIZE+1]
FIELD: OP_COL_12.
char theFullImageCol[FI_COL_SIZE+1]
FIELD: FI_COL.
char theOpCol22[OP_COL_22_SIZE+1]
FIELD: OP_COL_22.
char theOpCol21[OP_COL_21_SIZE+1]
FIELD: OP_COL_21.
char theOpRow12[OP_ROW_12_SIZE+1]
FIELD: OP_ROW_12.

◆ newTransform()

ossim2dTo2dTransform * ossimNitfIchipbTag::newTransform ( ) const

Definition at line 352 of file ossimNitfIchipbTag.cpp.

References getFiCol11(), getFiCol12(), getFiCol21(), getFiCol22(), getFiRow11(), getFiRow12(), getFiRow21(), getFiRow22(), getOpCol11(), getOpCol12(), getOpCol21(), getOpCol22(), getOpRow11(), getOpRow12(), getOpRow21(), and getOpRow22().

Referenced by ossimImageGeometryFactory::createTransformFromNitf().

353 {
362 }
ossim_float64 getOpRow22() const
ossim_float64 getOpCol22() const
ossim_float64 getOpRow11() const
ossim_float64 getOpCol21() const
Output product column number component of grid point index (2,1) for intelligent data.
ossim_float64 getFiRow21() const
ossim_float64 getFiRow12() const
ossim_float64 getOpCol12() const
Output product column number component of grid point index (1,2) for intelligent data.
ossim_float64 getFiCol11() const
ossim_float64 getFiCol22() const
ossim_float64 getOpRow21() const
ossim_float64 getOpRow12() const
ossim_float64 getFiRow22() const
ossim_float64 getFiRow11() const
ossim_float64 getFiCol12() const
ossim_float64 getOpCol11() const
Output product column number component of grid point index (1,1) for intelligent data.
ossim2dBilinearTransform allows one to specify a set of input points and output points and will fit a...
ossim_float64 getFiCol21() const

◆ parseStream()

void ossimNitfIchipbTag::parseStream ( std::istream &  in)
virtual

Parse method.

Parameters
inStream to parse.

Definition at line 58 of file ossimNitfIchipbTag.cpp.

References ANAMRPH_CORR_SIZE, clearFields(), FI_COL_11_SIZE, FI_COL_12_SIZE, FI_COL_21_SIZE, FI_COL_22_SIZE, FI_COL_SIZE, FI_ROW_11_SIZE, FI_ROW_12_SIZE, FI_ROW_21_SIZE, FI_ROW_22_SIZE, FI_ROW_SIZE, OP_COL_11_SIZE, OP_COL_12_SIZE, OP_COL_21_SIZE, OP_COL_22_SIZE, OP_ROW_11_SIZE, OP_ROW_12_SIZE, OP_ROW_21_SIZE, OP_ROW_22_SIZE, SCALE_FACTOR_SIZE, SCANBLK_NUM_SIZE, theAnamrphCorr, theFiCol11, theFiCol12, theFiCol21, theFiCol22, theFiRow11, theFiRow12, theFiRow21, theFiRow22, theFullImageCol, theFullImageRow, theOpCol11, theOpCol12, theOpCol21, theOpCol22, theOpRow11, theOpRow12, theOpRow21, theOpRow22, theScaleFactor, theScanBlock, theXfrmFlag, and XFRM_FLAG_SIZE.

59 {
60  clearFields();
61 
62  in.read(theXfrmFlag, XFRM_FLAG_SIZE);
66  in.read(theOpRow11, OP_ROW_11_SIZE);
67  in.read(theOpCol11, OP_COL_11_SIZE);
68  in.read(theOpRow12, OP_ROW_12_SIZE);
69  in.read(theOpCol12, OP_COL_12_SIZE);
70  in.read(theOpRow21, OP_ROW_21_SIZE);
71  in.read(theOpCol21, OP_COL_21_SIZE);
72  in.read(theOpRow22, OP_ROW_22_SIZE);
73  in.read(theOpCol22, OP_COL_22_SIZE);
74  in.read(theFiRow11, FI_ROW_11_SIZE);
75  in.read(theFiCol11, FI_COL_11_SIZE);
76  in.read(theFiRow12, FI_ROW_12_SIZE);
77  in.read(theFiCol12, FI_COL_12_SIZE);
78  in.read(theFiRow21, FI_ROW_21_SIZE);
79  in.read(theFiCol21, FI_COL_21_SIZE);
80  in.read(theFiRow22, FI_ROW_22_SIZE);
81  in.read(theFiCol22, FI_COL_22_SIZE);
82  in.read(theFullImageRow, FI_ROW_SIZE);
83  in.read(theFullImageCol, FI_COL_SIZE);
84 }
char theFiCol22[FI_COL_22_SIZE+1]
FIELD: FI_COL_22.
char theFiRow22[FI_ROW_22_SIZE+1]
FIELD: FI_ROW_22.
char theScanBlock[SCANBLK_NUM_SIZE+1]
FIELD: SCANBLK_NUM.
char theFiCol11[FI_COL_11_SIZE+1]
FIELD: FI_COL_11.
char theFiRow12[FI_ROW_12_SIZE+1]
FIELD: FI_ROW_12.
char theOpRow22[OP_ROW_22_SIZE+1]
FIELD: OP_ROW_22.
char theFiRow11[FI_ROW_11_SIZE+1]
FIELD: FI_ROW_11.
char theOpRow11[OP_ROW_11_SIZE+1]
FIELD: OP_ROW_11.
char theOpCol11[OP_COL_11_SIZE+1]
FIELD: OP_COL_11.
char theFiRow21[FI_ROW_21_SIZE+1]
FIELD: FI_ROW_21.
char theAnamrphCorr[ANAMRPH_CORR_SIZE+1]
FIELD: ANAMRPH_CORR.
char theScaleFactor[SCALE_FACTOR_SIZE+1]
FIELD: SCALE_FACTOR.
char theFiCol12[FI_COL_12_SIZE+1]
FIELD: FI_COL_12.
char theFiCol21[FI_COL_21_SIZE+1]
FIELD: FI_COL_21.
char theXfrmFlag[XFRM_FLAG_SIZE+1]
FIELD: XFRM_FLAG.
char theFullImageRow[FI_ROW_SIZE+1]
FIELD: FI_ROW.
char theOpRow21[OP_ROW_21_SIZE+1]
FIELD: OP_ROW_21.
char theOpCol12[OP_COL_12_SIZE+1]
FIELD: OP_COL_12.
virtual void clearFields()
Clears all string fields within the record to some default nothingness.
char theFullImageCol[FI_COL_SIZE+1]
FIELD: FI_COL.
char theOpCol22[OP_COL_22_SIZE+1]
FIELD: OP_COL_22.
char theOpCol21[OP_COL_21_SIZE+1]
FIELD: OP_COL_21.
char theOpRow12[OP_ROW_12_SIZE+1]
FIELD: OP_ROW_12.

◆ print()

std::ostream & ossimNitfIchipbTag::print ( std::ostream &  out,
const std::string &  prefix = std::string() 
) const
virtual

Print method that outputs a key/value type format adding prefix to keys.

Parameters
outStream to output to.
prefixPrefix added to key like "image0.";

Reimplemented from ossimNitfRegisteredTag.

Definition at line 161 of file ossimNitfIchipbTag.cpp.

References ossimNitfRegisteredTag::getTagLength(), ossimNitfRegisteredTag::getTagName(), theAnamrphCorr, theFiCol11, theFiCol12, theFiCol21, theFiCol22, theFiRow11, theFiRow12, theFiRow21, theFiRow22, theFullImageCol, theFullImageRow, theOpCol11, theOpCol12, theOpCol21, theOpCol22, theOpRow11, theOpRow12, theOpRow21, theOpRow22, theScaleFactor, theScanBlock, and theXfrmFlag.

163 {
164  std::string pfx = prefix;
165  pfx += getTagName();
166  pfx += ".";
167 
168  out << setiosflags(std::ios::left)
169  << pfx << std::setw(24) << "CETAG:"
170  << getTagName() << "\n"
171  << pfx << std::setw(24) << "CEL:"
172  << getTagLength() << "\n"
173  << pfx << std::setw(24) << "XFRM_FLAG:" << theXfrmFlag << "\n"
174  << pfx << std::setw(24) << "SCALE_FACTOR:" << theScaleFactor << "\n"
175  << pfx << std::setw(24) << "ANAMRPH_CORR:" << theAnamrphCorr << "\n"
176  << pfx << std::setw(24) << "SCANBLK_NUM:" << theScanBlock << "\n"
177  << pfx << std::setw(24) << "OP_ROW_11:" << theOpRow11 << "\n"
178  << pfx << std::setw(24) << "OP_COL_11:" << theOpCol11 << "\n"
179  << pfx << std::setw(24) << "OP_ROW_12:" << theOpRow12 << "\n"
180  << pfx << std::setw(24) << "OP_COL_12:" << theOpCol12 << "\n"
181  << pfx << std::setw(24) << "OP_ROW_21:" << theOpRow21 << "\n"
182  << pfx << std::setw(24) << "OP_COL_21:" << theOpCol21 << "\n"
183  << pfx << std::setw(24) << "OP_ROW_22:" << theOpRow22 << "\n"
184  << pfx << std::setw(24) << "OP_COL_22:" << theOpCol22 << "\n"
185  << pfx << std::setw(24) << "FI_ROW_11:" << theFiRow11 << "\n"
186  << pfx << std::setw(24) << "FI_COL_11:" << theFiCol11 << "\n"
187  << pfx << std::setw(24) << "FI_ROW_12:" << theFiRow12 << "\n"
188  << pfx << std::setw(24) << "FI_COL_12:" << theFiCol12 << "\n"
189  << pfx << std::setw(24) << "FI_ROW_21:" << theFiRow21 << "\n"
190  << pfx << std::setw(24) << "FI_COL_21:" << theFiCol21 << "\n"
191  << pfx << std::setw(24) << "FI_ROW_22:" << theFiRow22 << "\n"
192  << pfx << std::setw(24) << "FI_COL_22:" << theFiCol22 << "\n"
193  << pfx << std::setw(24) << "FI_ROW:" << theFullImageRow << "\n"
194  << pfx << std::setw(24) << "FI_COL:" << theFullImageCol
195  << std::endl;
196 
197  return out;
198 }
char theFiCol22[FI_COL_22_SIZE+1]
FIELD: FI_COL_22.
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
char theFiRow22[FI_ROW_22_SIZE+1]
FIELD: FI_ROW_22.
char theScanBlock[SCANBLK_NUM_SIZE+1]
FIELD: SCANBLK_NUM.
char theFiCol11[FI_COL_11_SIZE+1]
FIELD: FI_COL_11.
char theFiRow12[FI_ROW_12_SIZE+1]
FIELD: FI_ROW_12.
char theOpRow22[OP_ROW_22_SIZE+1]
FIELD: OP_ROW_22.
char theFiRow11[FI_ROW_11_SIZE+1]
FIELD: FI_ROW_11.
virtual ossim_uint32 getTagLength() const
Returns the length in bytes of the tag from the CEL or REL field.
char theOpRow11[OP_ROW_11_SIZE+1]
FIELD: OP_ROW_11.
char theOpCol11[OP_COL_11_SIZE+1]
FIELD: OP_COL_11.
char theFiRow21[FI_ROW_21_SIZE+1]
FIELD: FI_ROW_21.
char theAnamrphCorr[ANAMRPH_CORR_SIZE+1]
FIELD: ANAMRPH_CORR.
char theScaleFactor[SCALE_FACTOR_SIZE+1]
FIELD: SCALE_FACTOR.
char theFiCol12[FI_COL_12_SIZE+1]
FIELD: FI_COL_12.
char theFiCol21[FI_COL_21_SIZE+1]
FIELD: FI_COL_21.
char theXfrmFlag[XFRM_FLAG_SIZE+1]
FIELD: XFRM_FLAG.
char theFullImageRow[FI_ROW_SIZE+1]
FIELD: FI_ROW.
char theOpRow21[OP_ROW_21_SIZE+1]
FIELD: OP_ROW_21.
char theOpCol12[OP_COL_12_SIZE+1]
FIELD: OP_COL_12.
char theFullImageCol[FI_COL_SIZE+1]
FIELD: FI_COL.
char theOpCol22[OP_COL_22_SIZE+1]
FIELD: OP_COL_22.
char theOpCol21[OP_COL_21_SIZE+1]
FIELD: OP_COL_21.
char theOpRow12[OP_ROW_12_SIZE+1]
FIELD: OP_ROW_12.

◆ setProperty()

void ossimNitfIchipbTag::setProperty ( ossimRefPtr< ossimProperty property)
virtual

Reimplemented from ossimNitfRegisteredTag.

Definition at line 364 of file ossimNitfIchipbTag.cpp.

References ossimNitfRegisteredTag::setProperty().

365 {
367 }
virtual void setProperty(ossimRefPtr< ossimProperty > property)

◆ writeStream()

void ossimNitfIchipbTag::writeStream ( std::ostream &  out)
virtual

Write method.

Parameters
outStream to write to.

Definition at line 86 of file ossimNitfIchipbTag.cpp.

References ANAMRPH_CORR_SIZE, FI_COL_11_SIZE, FI_COL_12_SIZE, FI_COL_21_SIZE, FI_COL_22_SIZE, FI_COL_SIZE, FI_ROW_11_SIZE, FI_ROW_12_SIZE, FI_ROW_21_SIZE, FI_ROW_22_SIZE, FI_ROW_SIZE, OP_COL_11_SIZE, OP_COL_12_SIZE, OP_COL_21_SIZE, OP_COL_22_SIZE, OP_ROW_11_SIZE, OP_ROW_12_SIZE, OP_ROW_21_SIZE, OP_ROW_22_SIZE, SCALE_FACTOR_SIZE, SCANBLK_NUM_SIZE, theAnamrphCorr, theFiCol11, theFiCol12, theFiCol21, theFiCol22, theFiRow11, theFiRow12, theFiRow21, theFiRow22, theFullImageCol, theFullImageRow, theOpCol11, theOpCol12, theOpCol21, theOpCol22, theOpRow11, theOpRow12, theOpRow21, theOpRow22, theScaleFactor, theScanBlock, theXfrmFlag, and XFRM_FLAG_SIZE.

87 {
88  out.write(theXfrmFlag, XFRM_FLAG_SIZE);
91  out.write(theScanBlock, SCANBLK_NUM_SIZE);
92  out.write(theOpRow11, OP_ROW_11_SIZE);
93  out.write(theOpCol11, OP_COL_11_SIZE);
94  out.write(theOpRow12, OP_ROW_12_SIZE);
95  out.write(theOpCol12, OP_COL_12_SIZE);
96  out.write(theOpRow21, OP_ROW_21_SIZE);
97  out.write(theOpCol21, OP_COL_21_SIZE);
98  out.write(theOpRow22, OP_ROW_22_SIZE);
99  out.write(theOpCol22, OP_COL_22_SIZE);
100  out.write(theFiRow11, FI_ROW_11_SIZE);
101  out.write(theFiCol11, FI_COL_11_SIZE);
102  out.write(theFiRow12, FI_ROW_12_SIZE);
103  out.write(theFiCol12, FI_COL_12_SIZE);
104  out.write(theFiRow21, FI_ROW_21_SIZE);
105  out.write(theFiCol21, FI_COL_21_SIZE);
106  out.write(theFiRow22, FI_ROW_22_SIZE);
107  out.write(theFiCol22, FI_COL_22_SIZE);
108  out.write(theFullImageRow, FI_ROW_SIZE);
109  out.write(theFullImageCol, FI_COL_SIZE);
110 }
char theFiCol22[FI_COL_22_SIZE+1]
FIELD: FI_COL_22.
char theFiRow22[FI_ROW_22_SIZE+1]
FIELD: FI_ROW_22.
char theScanBlock[SCANBLK_NUM_SIZE+1]
FIELD: SCANBLK_NUM.
char theFiCol11[FI_COL_11_SIZE+1]
FIELD: FI_COL_11.
char theFiRow12[FI_ROW_12_SIZE+1]
FIELD: FI_ROW_12.
char theOpRow22[OP_ROW_22_SIZE+1]
FIELD: OP_ROW_22.
char theFiRow11[FI_ROW_11_SIZE+1]
FIELD: FI_ROW_11.
char theOpRow11[OP_ROW_11_SIZE+1]
FIELD: OP_ROW_11.
char theOpCol11[OP_COL_11_SIZE+1]
FIELD: OP_COL_11.
char theFiRow21[FI_ROW_21_SIZE+1]
FIELD: FI_ROW_21.
char theAnamrphCorr[ANAMRPH_CORR_SIZE+1]
FIELD: ANAMRPH_CORR.
char theScaleFactor[SCALE_FACTOR_SIZE+1]
FIELD: SCALE_FACTOR.
char theFiCol12[FI_COL_12_SIZE+1]
FIELD: FI_COL_12.
char theFiCol21[FI_COL_21_SIZE+1]
FIELD: FI_COL_21.
char theXfrmFlag[XFRM_FLAG_SIZE+1]
FIELD: XFRM_FLAG.
char theFullImageRow[FI_ROW_SIZE+1]
FIELD: FI_ROW.
char theOpRow21[OP_ROW_21_SIZE+1]
FIELD: OP_ROW_21.
char theOpCol12[OP_COL_12_SIZE+1]
FIELD: OP_COL_12.
char theFullImageCol[FI_COL_SIZE+1]
FIELD: FI_COL.
char theOpCol22[OP_COL_22_SIZE+1]
FIELD: OP_COL_22.
char theOpCol21[OP_COL_21_SIZE+1]
FIELD: OP_COL_21.
char theOpRow12[OP_ROW_12_SIZE+1]
FIELD: OP_ROW_12.

Member Data Documentation

◆ theAnamrphCorr

char ossimNitfIchipbTag::theAnamrphCorr[ANAMRPH_CORR_SIZE+1]
protected

FIELD: ANAMRPH_CORR.

required 2 byte field

00 or 01

Anamophic correction indicator.

Definition at line 287 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getAnamrphCorrFlag(), parseStream(), print(), and writeStream().

◆ theFiCol11

char ossimNitfIchipbTag::theFiCol11[FI_COL_11_SIZE+1]
protected

FIELD: FI_COL_11.

required 12 byte field

xxxxxxxx.yyy typically 00000000.500

Grid point (1,1) column number in full image coordinate system.

Definition at line 417 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFiCol11(), parseStream(), print(), and writeStream().

◆ theFiCol12

char ossimNitfIchipbTag::theFiCol12[FI_COL_12_SIZE+1]
protected

FIELD: FI_COL_12.

required 12 byte field

xxxxxxxx.yyy

Grid point (1,2) column number in full image coordinate system.

Definition at line 439 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFiCol12(), parseStream(), print(), and writeStream().

◆ theFiCol21

char ossimNitfIchipbTag::theFiCol21[FI_COL_21_SIZE+1]
protected

FIELD: FI_COL_21.

required 12 byte field

xxxxxxxx.yyy

Grid point (2,1) column number in full image coordinate system.

Definition at line 461 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFiCol21(), parseStream(), print(), and writeStream().

◆ theFiCol22

char ossimNitfIchipbTag::theFiCol22[FI_COL_22_SIZE+1]
protected

FIELD: FI_COL_22.

required 12 byte field

xxxxxxxx.yyy

Grid point (2,2) column number in full image coordinate system.

Definition at line 483 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFiCol22(), parseStream(), print(), and writeStream().

◆ theFiRow11

char ossimNitfIchipbTag::theFiRow11[FI_ROW_11_SIZE+1]
protected

FIELD: FI_ROW_11.

required 12 byte field

xxxxxxxx.yyy typically 00000000.500

Grid point (1,1) row number in full image coordinate system.

Definition at line 406 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFiRow11(), parseStream(), print(), and writeStream().

◆ theFiRow12

char ossimNitfIchipbTag::theFiRow12[FI_ROW_12_SIZE+1]
protected

FIELD: FI_ROW_12.

required 12 byte field

xxxxxxxx.yyy

Grid point (1,2) row number in full image coordinate system.

Definition at line 428 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFiRow12(), parseStream(), print(), and writeStream().

◆ theFiRow21

char ossimNitfIchipbTag::theFiRow21[FI_ROW_21_SIZE+1]
protected

FIELD: FI_ROW_21.

required 12 byte field

xxxxxxxx.yyy

Grid point (2,1) row number in full image coordinate system.

Definition at line 450 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFiRow21(), parseStream(), print(), and writeStream().

◆ theFiRow22

char ossimNitfIchipbTag::theFiRow22[FI_ROW_22_SIZE+1]
protected

FIELD: FI_ROW_22.

required 12 byte field

xxxxxxxx.yyy

Grid point (2,2) row number in full image coordinate system.

Definition at line 472 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFiRow22(), parseStream(), print(), and writeStream().

◆ theFullImageCol

char ossimNitfIchipbTag::theFullImageCol[FI_COL_SIZE+1]
protected

FIELD: FI_COL.

required 8 byte field

00000000 and 00000002 to 99999999

Full image number of cols.

Definition at line 505 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFullImageCols(), parseStream(), print(), and writeStream().

◆ theFullImageRow

char ossimNitfIchipbTag::theFullImageRow[FI_ROW_SIZE+1]
protected

FIELD: FI_ROW.

required 8 byte field

00000000 and 00000002 to 99999999

Full image number of rows.

Definition at line 494 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getFullImageRows(), parseStream(), print(), and writeStream().

◆ theOpCol11

char ossimNitfIchipbTag::theOpCol11[OP_COL_11_SIZE+1]
protected

FIELD: OP_COL_11.

required 12 byte field

xxxxxxxx.yyy typically 00000000.500

Output product column number component of grid point index (1,1) for intelligent data.

Definition at line 323 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getOpCol11(), parseStream(), print(), and writeStream().

◆ theOpCol12

char ossimNitfIchipbTag::theOpCol12[OP_COL_12_SIZE+1]
protected

FIELD: OP_COL_12.

required 12 byte field

xxxxxxxx.yyy

Output product column number component of grid point index (1,2) for intelligent data.

Definition at line 347 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getOpCol12(), parseStream(), print(), and writeStream().

◆ theOpCol21

char ossimNitfIchipbTag::theOpCol21[OP_COL_21_SIZE+1]
protected

FIELD: OP_COL_21.

required 12 byte field

xxxxxxxx.yyy

Output product column number component of grid point index (2,1) for intelligent data.

Definition at line 371 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getOpCol21(), parseStream(), print(), and writeStream().

◆ theOpCol22

char ossimNitfIchipbTag::theOpCol22[OP_COL_22_SIZE+1]
protected

FIELD: OP_COL_22.

required 12 byte field

xxxxxxxx.yyy

Output product column number component of grid point index (2,2) for intelligent data.

Definition at line 395 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getOpCol22(), parseStream(), print(), and writeStream().

◆ theOpRow11

char ossimNitfIchipbTag::theOpRow11[OP_ROW_11_SIZE+1]
protected

FIELD: OP_ROW_11.

required 12 byte field

xxxxxxxx.yyy typically 00000000.500

Output product row number component of grid point index (1,1) for intelligent data.

Definition at line 310 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getOpRow11(), parseStream(), print(), and writeStream().

◆ theOpRow12

char ossimNitfIchipbTag::theOpRow12[OP_ROW_12_SIZE+1]
protected

FIELD: OP_ROW_12.

required 12 byte field

xxxxxxxx.yyy

Output product row number component of grid point index (1,2) for intelligent data.

Definition at line 335 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getOpRow12(), parseStream(), print(), and writeStream().

◆ theOpRow21

char ossimNitfIchipbTag::theOpRow21[OP_ROW_21_SIZE+1]
protected

FIELD: OP_ROW_21.

required 12 byte field

xxxxxxxx.yyy

Output product row number component of grid point index (2,1) for intelligent data.

Definition at line 359 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getOpRow21(), parseStream(), print(), and writeStream().

◆ theOpRow22

char ossimNitfIchipbTag::theOpRow22[OP_ROW_22_SIZE+1]
protected

FIELD: OP_ROW_22.

required 12 byte field

xxxxxxxx.yyy

Output product row number component of grid point index (2,2) for intelligent data.

Definition at line 383 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getOpRow22(), parseStream(), print(), and writeStream().

◆ theScaleFactor

char ossimNitfIchipbTag::theScaleFactor[SCALE_FACTOR_SIZE+1]
protected

FIELD: SCALE_FACTOR.

required 10 byte field

xxxx.xxxxx

Scale factor relative to R0 (original full res image resolution).

Definition at line 275 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getScaleFactor(), parseStream(), print(), and writeStream().

◆ theScanBlock

char ossimNitfIchipbTag::theScanBlock[SCANBLK_NUM_SIZE+1]
protected

FIELD: SCANBLK_NUM.

required 2 byte field

00-99, 00 if not applicable

Scan block number or scan block index.

Definition at line 298 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getScanBlock(), parseStream(), print(), and writeStream().

◆ theXfrmFlag

char ossimNitfIchipbTag::theXfrmFlag[XFRM_FLAG_SIZE+1]
protected

FIELD: XFRM_FLAG.

required 2 byte field

00 or 01

Non-linear transformation flag.

NOTE: If 01 remaining data zero filled.

Definition at line 263 of file ossimNitfIchipbTag.h.

Referenced by clearFields(), getXfrmFlag(), parseStream(), print(), and writeStream().


The documentation for this class was generated from the following files: