Isis 3 Programmer Reference
ObliqueCylindrical.h
Go to the documentation of this file.
1 #ifndef ObliqueCylindrical_h
2 #define ObliqueCylindrical_h
3 
25 #include "TProjection.h"
26 
27 namespace Isis {
28  class Pvl;
29  class PvlGroup;
83  public:
84  ObliqueCylindrical(Isis::Pvl &label, bool allowDefaults = false);
86  bool operator==(const Isis::Projection &proj);
87 
88  QString Name() const;
89  QString Version() const;
90 
91  bool SetGround(const double lat, const double lon);
92  bool SetCoordinate(const double x, const double y);
93  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
94 
95  PvlGroup Mapping();
98 
99  double poleLatitude() const;
100  double poleLongitude() const;
101  double poleRotation() const;
102 
103  private:
104  void init();
105 
106  // These are the oblique projection pole values in degrees.
107  double m_poleLatitude;
109  double m_poleRotation;
110 
111  // These vectors are not used by the projection
112  std::vector<double> m_xAxisVector;
114  std::vector<double> m_yAxisVector;
116  std::vector<double> m_zAxisVector;
118  };
119 };
120 
121 #endif
122 
~ObliqueCylindrical()
Destroys the ObliqueCylindrical object.
bool operator==(const Isis::Projection &proj)
Compares two Projection objects to see if they are equal.
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
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...
Base class for Map TProjections.
Definition: TProjection.h:182
double poleLatitude() const
Returns the value of the pole latitude.
double m_poleLongitude
The Oblique Pole Longitude.
Base class for Map Projections.
Definition: Projection.h:171
double poleRotation() const
Returns the value of the pole rotation.
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
PvlGroup Mapping()
This function returns the keywords that this projection uses.
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.
std::vector< double > m_zAxisVector
The z-axis vector, read from the mapping group in the label.
double poleLongitude() const
Returns the value of the pole longitude.
std::vector< double > m_yAxisVector
The y-axis vector, read from the mapping group in the label.
ObliqueCylindrical(Isis::Pvl &label, bool allowDefaults=false)
Constructs an ObliqueCylindrical object.
Container for cube-like labels.
Definition: Pvl.h:135
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
QString Version() const
Returns the version of the map projection.
QString Name() const
Returns the name of the map projection, "ObliqueCylindrical".
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
std::vector< double > m_xAxisVector
The x-axis vector, read from the mapping group in the label.
double m_poleLatitude
The Oblique Pole Latitude.
Oblique Cylindrical Map Projection.
double m_poleRotation
The Oblique Pole Rotation.