OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimTiffWorld.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: Ken Melero
9 //
10 // Description: Container class for a tiff world file data.
11 //
12 //********************************************************************
13 // $Id$
14 
15 #ifndef ossimTiffWorld_HEADER
16 #define ossimTiffWorld_HEADER 1
17 
20 #include <ossim/base/ossimDpt.h>
21 #include <iosfwd>
22 
23 //***************************************************************************
24 // CLASS: ossimTiffWorld
25 //***************************************************************************
27 {
28 public:
30  ossimTiffWorld(const char* source,
33 
34  ~ossimTiffWorld();
35 
36  bool open(const ossimFilename& file,
37  ossimPixelType ptype,
38  ossimUnitType unit);
39 
40  bool saveToOssimGeom(ossimKeywordlist& kwl, const char* prefix=NULL)const;
41  bool loadFromOssimGeom(const ossimKeywordlist& kwl, const char* prefix=NULL);
42 
43  std::ostream& print(std::ostream& out) const;
44 
46  const ossimTiffWorld& obj);
47 
55  void forward(const ossimDpt& imagePoint,
56  ossimDpt& transformedPoint);
57 
59  const ossimDpt& getScale() const { return theComputedScale; }
60 
62  double getRotation() const { return theComputedRotation; }
63 
65  const ossimDpt& getTranslation() const { return theTranslation; }
66 
67 protected:
68  double theXform1;
69  double theXform2;
70  double theXform3;
71  double theXform4;
73 
78 };
79 
80 #endif
#define OSSIMDLLEXPORT
ossimUnitType
Represents serializable keyword/value map.
ossimDpt theComputedScale
double theComputedRotation
Radians.
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
ostream & operator<<(ostream &out, const ossimAxes &axes)
Definition: ossimAxes.h:88
ossimPixelType thePixelType
ossimDpt theTranslation
ossimPixelType
const ossimDpt & getScale() const
Converts world file parameters into x, y scale (for use in affine transform)
const ossimDpt & getTranslation() const
Provides access to the translation (for use in affine transform)
ossimUnitType theUnit
double getRotation() const
Converts world file parameters into RH rotation in radians (for use in affine transform) ...
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23