OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Functions
ossimApplanixEOFile.cpp File Reference
#include <ossim/support_data/ossimApplanixEOFile.h>
#include <ossim/base/ossimCommon.h>
#include <ossim/base/ossimIoStream.h>
#include <ossim/base/ossimKeywordlist.h>
#include <ossim/base/ossimRegExp.h>
#include <ossim/base/ossimStreamFactoryRegistry.h>
#include <ossim/base/ossimTrace.h>
#include <iterator>
#include <sstream>
#include <iostream>
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const ossimApplanixEORecord &src)
 
std::ostream & operator<< (std::ostream &out, const ossimApplanixEOFile &src)
 

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  out,
const ossimApplanixEORecord src 
)

Definition at line 41 of file ossimApplanixEOFile.cpp.

References ossimApplanixEORecord::theField.

42 {
43  if(src.theField.size())
44  {
45  std::copy(src.theField.begin(),
46  src.theField.end(),
47  std::ostream_iterator<ossimString>(out, " "));
48  }
49 
50  return out;
51 }
std::vector< ossimString > theField

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  out,
const ossimApplanixEOFile src 
)

Definition at line 53 of file ossimApplanixEOFile.cpp.

References ossimApplanixEOFile::theApplanixRecordList, ossimApplanixEOFile::theBoreSightTx, ossimApplanixEOFile::theBoreSightTy, ossimApplanixEOFile::theBoreSightTz, ossimApplanixEOFile::theCentralMeridian, ossimApplanixEOFile::theFalseEasting, ossimApplanixEOFile::theFalseNorthing, ossimApplanixEOFile::theGridScaleFactor, ossimApplanixEOFile::theHeader, ossimApplanixEOFile::theKappaCardinal, ossimApplanixEOFile::theLeverArmLx, ossimApplanixEOFile::theLeverArmLy, ossimApplanixEOFile::theLeverArmLz, ossimApplanixEOFile::theMappingFrameDatum, ossimApplanixEOFile::theMappingFrameProjection, ossimApplanixEOFile::theOriginLatitude, ossimApplanixEOFile::theRecordFormat, ossimApplanixEOFile::theShiftValuesX, ossimApplanixEOFile::theShiftValuesY, ossimApplanixEOFile::theShiftValuesZ, ossimApplanixEOFile::theUtmHemisphere, and ossimApplanixEOFile::theUtmZone.

54 {
55  ossim_uint32 idx = 0;
56  out << src.theHeader << std::endl << std::endl;
57 
58  if(src.theRecordFormat.size())
59  {
60  std::copy(src.theRecordFormat.begin(),
61  src.theRecordFormat.end()-1,
62  std::ostream_iterator<ossimString>(out, ", "));
63  out << *(src.theRecordFormat.end()-1);
64  out << std::endl;
65  }
66 
67  out << "Kappa Cardinal Rotation = " << src.theKappaCardinal << std::endl;
68  out << "Bore Sight tx = " << src.theBoreSightTx << std::endl
69  << "Bore Sight ty = " << src.theBoreSightTy << std::endl
70  << "Bore Sight tz = " << src.theBoreSightTz << std::endl;
71 
72  out << "Lever arm lx = " << src.theLeverArmLx << std::endl
73  << "Lever arm ly = " << src.theLeverArmLy << std::endl
74  << "Lever arm lz = " << src.theLeverArmLz << std::endl;
75 
76  out << "Shift Value X = " << src.theShiftValuesX << std::endl
77  << "Shift Value Y = " << src.theShiftValuesY << std::endl
78  << "Shift Value Z = " << src.theShiftValuesZ << std::endl;
79 
80  out << "Mapping Frame Datum = " << src.theMappingFrameDatum << std::endl
81  << "Mapping Frame Projection = " << src.theMappingFrameProjection << std::endl
82  << "Central Meridian = " << src.theCentralMeridian << std::endl
83  << "Origin of Latitude = " << src.theOriginLatitude << std::endl
84  << "Grid Scale Factor = " << src.theGridScaleFactor << std::endl
85  << "False easting = " << src.theFalseEasting << std::endl
86  << "False northing = " << src.theFalseNorthing << std::endl;
87 
88  out << "theUtmZone = " << src.theUtmZone << std::endl;
89  out << "theUtmHemisphere = " << src.theUtmHemisphere << std::endl;
90 
91  if(src.theApplanixRecordList.size())
92  {
93  out << std::endl;
94  for(idx = 0; idx < src.theApplanixRecordList.size()-1; ++idx)
95  {
96  out << *(src.theApplanixRecordList[idx]) << std::endl;
97  }
98  out << *(src.theApplanixRecordList[idx]);
99 
100  }
101 
102  return out;
103 }
ossimString theMappingFrameDatum
unsigned int ossim_uint32
ossimString theMappingFrameProjection
std::vector< ossimString > theRecordFormat
std::vector< ossimRefPtr< ossimApplanixEORecord > > theApplanixRecordList