Isis 3 Programmer Reference
WorldMapper.h
Go to the documentation of this file.
1 #ifndef WorldMapper_h
2 #define WorldMapper_h
3 
25 namespace Isis {
54  class WorldMapper {
55  public:
58 
60  virtual ~WorldMapper() {};
61 
72  virtual double ProjectionX(const double worldX) const = 0;
73 
84  virtual double ProjectionY(const double worldY) const = 0;
85 
95  virtual double WorldX(const double projectionX) const = 0;
96 
106  virtual double WorldY(const double projectionY) const = 0;
107 
116  virtual double Resolution() const {
117  return 1.0;
118  };
119  };
120 };
121 
122 #endif
virtual double ProjectionY(const double worldY) const =0
This pure virtual method will return a projection Y coordinate in meters given a world Y coordinate...
WorldMapper()
Constructs an empty WorldMapper object.
Definition: WorldMapper.h:57
virtual ~WorldMapper()
Destroys the WorldMapper object.
Definition: WorldMapper.h:60
Create a mapping between a projection and other coordinate system.
Definition: WorldMapper.h:54
virtual double WorldX(const double projectionX) const =0
This pure virtual method will return a world X coordinate given a projection Y coordinate in meters...
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
virtual double Resolution() const
This virtual method will the resolution of the world system relative to one unit in the projection sy...
Definition: WorldMapper.h:116
virtual double ProjectionX(const double worldX) const =0
This pure virtual method will return a projection X coordinate in meters given a world X coordinate...
virtual double WorldY(const double projectionY) const =0
This pure virtual method will return a world Y coordinate given a projection Y coordinate in meters...