Isis 3 Programmer Reference
Robinson.h
1 #ifndef Robinson_h
2 #define Robinson_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "TProjection.h"
10 
11 #include <QList>
12 #include <QString>
13 
14 namespace Isis {
15  class Pvl;
16  class PvlGroup;
52  class Robinson : public TProjection {
53  public:
54  Robinson(Pvl &label, bool allowDefaults = false);
55  ~Robinson();
56  bool operator== (const Projection &proj);
57 
58  QString Name() const;
59  QString Version() const;
60 
61  bool SetGround(const double lat, const double lon);
62  bool SetCoordinate(const double x, const double y);
63  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
64 
65  PvlGroup Mapping();
68 
69  private:
70  QList<double> m_pr;
71  QList<double> m_xlr;
72 
74  };
75 };
76 
77 #endif
78 
Isis::Robinson::operator==
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: Robinson.cpp:124
Isis::Robinson::Version
QString Version() const
Returns the version of the map projection.
Definition: Robinson.cpp:148
QList< double >
Isis::Robinson::Robinson
Robinson(Pvl &label, bool allowDefaults=false)
Constructs a Robinson object.
Definition: Robinson.cpp:40
Isis::Robinson::MappingLongitudes
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: Robinson.cpp:374
Isis::Robinson::m_centerLongitude
double m_centerLongitude
The center longitude for the map projection.
Definition: Robinson.h:73
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::Robinson::MappingLatitudes
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: Robinson.cpp:363
Isis::Robinson::XYRange
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:317
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::TProjection
Base class for Map TProjections.
Definition: TProjection.h:166
Isis::Robinson::SetGround
bool SetGround(const double lat, const double lon)
This method is used to set the latitude/longitude (assumed to be of the correct LatitudeType,...
Definition: Robinson.cpp:164
Isis::Robinson::Mapping
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: Robinson.cpp:350
Isis::Robinson::Name
QString Name() const
Returns the name of the map projection, "Robinson".
Definition: Robinson.cpp:138
Isis::Robinson::~Robinson
~Robinson()
Destroys the Robinson object.
Definition: Robinson.cpp:113
Isis::Robinson::SetCoordinate
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: Robinson.cpp:212
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis::Robinson
Robinson Map Projection.
Definition: Robinson.h:52
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16