36 theTranslation(0.0,0.0),
39 theComputedScale(0.0, 0.0),
40 theComputedRotation(0.0)
54 theTranslation(0.0,0.0),
57 theComputedScale(0.0, 0.0),
58 theComputedRotation(0.0)
68 is.open(file.
c_str());
80 std::vector<ossimFilename> result;
81 bool bSuccess = directory.findCaseInsensitiveEquivalents(
83 if ( bSuccess ==
true )
85 int numResults = (int)result.
size();
87 for ( i=0; i<numResults && !is.is_open(); ++i )
89 is.open( result[i].c_str() );
113 <<
"ossimTiffWorld -- Non-affine transform encountered." 114 <<
" Use of an affine transform to represent this world file geometry will result in errors." 166 tie.
x += (scale.
x/2.0);
167 tie.
y -= (scale.
y/2.0);
218 scale.
toPoint(std::string(lookup));
235 tie.
toPoint(std::string(lookup));
254 out << setiosflags(ios::fixed) << setprecision(15)
266 return obj.
print(out);
bool open(const ossimFilename &file, ossimPixelType ptype, ossimUnitType unit)
Represents serializable keyword/value map.
ossimDpt theComputedScale
std::basic_ifstream< char > ifstream
Class for char input file streams.
const char * find(const char *key) const
bool saveToOssimGeom(ossimKeywordlist &kwl, const char *prefix=NULL) const
double theComputedRotation
Radians.
static const char * METERS_PER_PIXEL_Y_KW
static const char * PIXEL_SCALE_XY_KW
static const char * TIE_POINT_NORTHING_KW
void add(const char *prefix, const ossimKeywordlist &kwl, bool overwrite=true)
static const char * TIE_POINT_XY_KW
static const char * TIE_POINT_EASTING_KW
std::string::size_type size() const
void toPoint(const std::string &s)
Initializes this point from string.
bool loadFromOssimGeom(const ossimKeywordlist &kwl, const char *prefix=NULL)
std::ostream & operator<<(std::ostream &out, const ossimTiffWorld &obj)
ossimPixelType thePixelType
ossimString toString(ossim_uint32 precision=15) const
void forward(const ossimDpt &imagePoint, ossimDpt &transformedPoint)
static const char * PIXEL_TYPE_KW
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
ossimFilename file() const
ossimFilename path() const
std::ostream & print(std::ostream &out) const
static const char * METERS_PER_PIXEL_X_KW
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
std::basic_ostream< char > ostream
Base class for char output streams.
static const char * PIXEL_SCALE_UNITS_KW
static const char * TIE_POINT_UNITS_KW