27 static const ossimString XFRM_FLAG_KW =
"XFRM_FLAG";
28 static const ossimString SCALE_FACTOR_KW =
"SCALE_FACTOR";
29 static const ossimString ANAMRPH_CORR_KW =
"ANAMRPH_CORR";
30 static const ossimString SCANBLK_NUM_KW =
"SCANBLK_NUM";
31 static const ossimString OP_ROW_11_KW =
"OP_ROW_11";
32 static const ossimString OP_COL_11_KW =
"OP_COL_11";
33 static const ossimString OP_ROW_12_KW =
"OP_ROW_12";
34 static const ossimString OP_COL_12_KW =
"OP_COL_12";
35 static const ossimString OP_ROW_21_KW =
"OP_ROW_21";
36 static const ossimString OP_COL_21_KW =
"OP_COL_21";
37 static const ossimString OP_ROW_22_KW =
"OP_ROW_22";
38 static const ossimString OP_COL_22_KW =
"OP_COL_22";
39 static const ossimString FI_ROW_11_KW =
"FI_ROW_11";
40 static const ossimString FI_COL_11_KW =
"FI_COL_11";
41 static const ossimString FI_ROW_12_KW =
"FI_ROW_12";
42 static const ossimString FI_COL_12_KW =
"FI_COL_12";
43 static const ossimString FI_ROW_21_KW =
"FI_ROW_21";
44 static const ossimString FI_COL_21_KW =
"FI_COL_21";
45 static const ossimString FI_ROW_22_KW =
"FI_ROW_22";
46 static const ossimString FI_COL_22_KW =
"FI_COL_22";
162 const std::string& prefix)
const 164 std::string pfx = prefix;
168 out << setiosflags(std::ios::left)
169 << pfx << std::setw(24) <<
"CETAG:" 171 << pfx << std::setw(24) <<
"CEL:" 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" 342 void ossimNitfIchipbTag::getSubImageOffset(
ossimDpt& pt)
const 373 if(name == XFRM_FLAG_KW)
377 else if(name == SCALE_FACTOR_KW)
381 else if(name == ANAMRPH_CORR_KW)
385 else if(name == SCANBLK_NUM_KW)
389 else if(name == OP_ROW_11_KW)
393 else if(name == OP_COL_11_KW)
397 else if(name == OP_ROW_12_KW)
401 else if(name == OP_COL_12_KW)
405 else if(name == OP_ROW_21_KW)
409 else if(name == OP_COL_21_KW)
413 else if(name == OP_ROW_22_KW)
417 else if(name == OP_COL_22_KW)
421 else if(name == FI_ROW_11_KW)
425 else if(name == FI_COL_11_KW)
429 else if(name == FI_ROW_12_KW)
433 else if(name == FI_COL_12_KW)
437 else if(name == FI_ROW_21_KW)
441 else if(name == FI_COL_21_KW)
445 else if(name == FI_ROW_22_KW)
449 else if(name == FI_COL_22_KW)
453 else if(name == FI_ROW_KW)
457 else if(name == FI_COL_KW)
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);
500 lookup = kwl.
find(prefix, XFRM_FLAG_KW);
505 lookup = kwl.
find(prefix, SCALE_FACTOR_KW);
510 lookup = kwl.
find(prefix, ANAMRPH_CORR_KW);
515 lookup = kwl.
find(prefix, SCANBLK_NUM_KW);
520 lookup = kwl.
find(prefix, OP_ROW_11_KW);
525 lookup = kwl.
find(prefix, OP_COL_11_KW);
530 lookup = kwl.
find(prefix, OP_ROW_12_KW);
535 lookup = kwl.
find(prefix, OP_COL_12_KW);
540 lookup = kwl.
find(prefix, OP_ROW_21_KW);
545 lookup = kwl.
find(prefix, OP_COL_21_KW);
550 lookup = kwl.
find(prefix, OP_ROW_22_KW);
555 lookup = kwl.
find(prefix, OP_COL_22_KW);
560 lookup = kwl.
find(prefix, FI_ROW_11_KW);
565 lookup = kwl.
find(prefix, FI_COL_11_KW);
570 lookup = kwl.
find(prefix, FI_ROW_12_KW);
575 lookup = kwl.
find(prefix, FI_COL_12_KW);
580 lookup = kwl.
find(prefix, FI_ROW_21_KW);
585 lookup = kwl.
find(prefix, FI_COL_21_KW);
590 lookup = kwl.
find(prefix, FI_ROW_22_KW);
595 lookup = kwl.
find(prefix, FI_COL_22_KW);
600 lookup = kwl.
find(prefix, FI_ROW_KW);
605 lookup = kwl.
find(prefix, FI_COL_KW);
void set_ul(const ossimDpt &pt)
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.
ossim_float64 getOpRow22() const
ossim_uint32 getFullImageCols() const
char theFiRow22[FI_ROW_22_SIZE+1]
FIELD: FI_ROW_22.
char theScanBlock[SCANBLK_NUM_SIZE+1]
FIELD: SCANBLK_NUM.
ossim_float64 getOpCol22() const
char theFiCol11[FI_COL_11_SIZE+1]
FIELD: FI_COL_11.
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.
Represents serializable keyword/value map.
void getImageRect(ossimDrect &rect) const
Initializes rect with the image rectangle without any sub image offset applied.
const char * find(const char *key) const
const ossimDpt & ul() const
ossim_float64 getOpRow11() const
ossim_uint32 getScanBlock() const
ossim_float64 getOpCol21() const
Output product column number component of grid point index (2,1) for intelligent data.
ossim_float64 getFiRow21() const
void getFullImageRect(ossimDrect &rect) const
Initializes rect with the image rectangle with sub image offset applied.
ossim_uint32 toUInt32() const
char theFiRow12[FI_ROW_12_SIZE+1]
FIELD: FI_ROW_12.
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
ossim_float64 getFiRow12() const
char theOpRow22[OP_ROW_22_SIZE+1]
FIELD: OP_ROW_22.
ossim_uint32 getFullImageRows() const
char theFiRow11[FI_ROW_11_SIZE+1]
FIELD: FI_ROW_11.
virtual void setProperty(ossimRefPtr< ossimProperty > property)
ossim_float64 getOpCol12() const
Output product column number component of grid point index (1,2) for intelligent data.
ossimNitfIchipbTag()
default constructor
virtual void parseStream(std::istream &in)
Parse method.
virtual ossim_uint32 getTagLength() const
Returns the length in bytes of the tag from the CEL or REL field.
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
virtual void setProperty(ossimRefPtr< ossimProperty > property)
char theOpRow11[OP_ROW_11_SIZE+1]
FIELD: OP_ROW_11.
ossim_float64 getFiCol11() const
char theOpCol11[OP_COL_11_SIZE+1]
FIELD: OP_COL_11.
bool toBool() const
String to numeric methods.
unsigned int ossim_uint32
ossim_float64 toFloat64() const
ossim_float64 getFiCol22() const
char theFiRow21[FI_ROW_21_SIZE+1]
FIELD: FI_ROW_21.
char theAnamrphCorr[ANAMRPH_CORR_SIZE+1]
FIELD: ANAMRPH_CORR.
bool loadState(const ossimKeywordlist &kwl, const char *prefix)
char theScaleFactor[SCALE_FACTOR_SIZE+1]
FIELD: SCALE_FACTOR.
RTTI_DEF1(ossimNitfIchipbTag, "ossimNitfIchipbTag", ossimNitfRegisteredTag)
std::basic_istream< char > istream
Base class for char input streams.
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.
ossim_float64 getOpRow21() const
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
ossim_float64 getOpRow12() const
ossim_float64 getFiRow22() const
ossim_float64 getScaleFactor() const
ossim_float64 getFiRow11() const
ossim2dTo2dTransform * newTransform() const
virtual void clearFields()
Clears all string fields within the record to some default nothingness.
ossim_float64 getFiCol12() const
ossim_float64 getOpCol11() const
Output product column number component of grid point index (1,1) for intelligent data.
void set_lr(const ossimDpt &pt)
ossim_float64 getFiCol21() const
virtual void writeStream(std::ostream &out)
Write method.
char theFullImageCol[FI_COL_SIZE+1]
FIELD: FI_COL.
char theOpCol22[OP_COL_22_SIZE+1]
FIELD: OP_COL_22.
std::basic_ostream< char > ostream
Base class for char output streams.
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
char theOpCol21[OP_COL_21_SIZE+1]
FIELD: OP_COL_21.
bool getAnamrphCorrFlag() const
char theOpRow12[OP_ROW_12_SIZE+1]
FIELD: OP_ROW_12.