Isis 3 Programmer Reference
Robinson.h
Go to the documentation of this file.
1 #ifndef Robinson_h
2 #define Robinson_h
3 
25 #include "TProjection.h"
26 
27 #include <QList>
28 #include <QString>
29 
30 namespace Isis {
31  class Pvl;
32  class PvlGroup;
68  class Robinson : public TProjection {
69  public:
70  Robinson(Pvl &label, bool allowDefaults = false);
71  ~Robinson();
72  bool operator== (const Projection &proj);
73 
74  QString Name() const;
75  QString Version() const;
76 
77  bool SetGround(const double lat, const double lon);
78  bool SetCoordinate(const double x, const double y);
79  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
80 
81  PvlGroup Mapping();
84 
85  private:
86  QList<double> m_pr;
87  QList<double> m_xlr;
88 
90  };
91 };
92 
93 #endif
94 
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: Robinson.cpp:228
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: Robinson.cpp:379
double m_centerLongitude
The center longitude for the map projection.
Definition: Robinson.h:89
Robinson Map Projection.
Definition: Robinson.h:68
Base class for Map TProjections.
Definition: TProjection.h:182
bool XYRange(double &minX, double &maxX, double &minY, double &maxY)
This method is used to determine the x/y range which completely covers the area of interest specified...
Definition: Robinson.cpp:333
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: Robinson.cpp:390
QString Version() const
Returns the version of the map projection.
Definition: Robinson.cpp:164
Base class for Map Projections.
Definition: Projection.h:171
Robinson(Pvl &label, bool allowDefaults=false)
Constructs a Robinson object.
Definition: Robinson.cpp:56
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
bool SetGround(const double lat, const double lon)
This method is used to set the latitude/longitude (assumed to be of the correct LatitudeType, LongitudeDirection, and LongitudeDomain.
Definition: Robinson.cpp:180
Container for cube-like labels.
Definition: Pvl.h:135
~Robinson()
Destroys the Robinson object.
Definition: Robinson.cpp:129
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: Robinson.cpp:366
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
QString Name() const
Returns the name of the map projection, "Robinson".
Definition: Robinson.cpp:154
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: Robinson.cpp:140