Isis 3 Programmer Reference
ObliqueCylindrical.h
1 #ifndef ObliqueCylindrical_h
2 #define ObliqueCylindrical_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "TProjection.h"
10 
11 namespace Isis {
12  class Pvl;
13  class PvlGroup;
67  public:
68  ObliqueCylindrical(Isis::Pvl &label, bool allowDefaults = false);
70  bool operator==(const Isis::Projection &proj);
71 
72  QString Name() const;
73  QString Version() const;
74 
75  bool SetGround(const double lat, const double lon);
76  bool SetCoordinate(const double x, const double y);
77  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
78 
79  PvlGroup Mapping();
82 
83  double poleLatitude() const;
84  double poleLongitude() const;
85  double poleRotation() const;
86 
87  private:
88  void init();
89 
90  // These are the oblique projection pole values in degrees.
91  double m_poleLatitude;
92  double m_poleLongitude;
93  double m_poleRotation;
94 
95  // These vectors are not used by the projection
96  std::vector<double> m_xAxisVector;
98  std::vector<double> m_yAxisVector;
100  std::vector<double> m_zAxisVector;
102  };
103 };
104 
105 #endif
106 
Isis::ObliqueCylindrical::MappingLatitudes
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: ObliqueCylindrical.cpp:371
Isis::ObliqueCylindrical::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: ObliqueCylindrical.cpp:345
Isis::ObliqueCylindrical::operator==
bool operator==(const Isis::Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: ObliqueCylindrical.cpp:164
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::ObliqueCylindrical::poleLatitude
double poleLatitude() const
Returns the value of the pole latitude.
Definition: ObliqueCylindrical.cpp:394
Isis::ObliqueCylindrical::m_poleLongitude
double m_poleLongitude
The Oblique Pole Longitude.
Definition: ObliqueCylindrical.h:92
Isis::ObliqueCylindrical::poleRotation
double poleRotation() const
Returns the value of the pole rotation.
Definition: ObliqueCylindrical.cpp:414
Isis::ObliqueCylindrical::SetCoordinate
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: ObliqueCylindrical.cpp:267
Isis::ObliqueCylindrical::Mapping
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: ObliqueCylindrical.cpp:356
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::ObliqueCylindrical::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: ObliqueCylindrical.cpp:207
Isis::TProjection
Base class for Map TProjections.
Definition: TProjection.h:166
Isis::ObliqueCylindrical::ObliqueCylindrical
ObliqueCylindrical(Isis::Pvl &label, bool allowDefaults=false)
Constructs an ObliqueCylindrical object.
Definition: ObliqueCylindrical.cpp:37
Isis::ObliqueCylindrical::m_yAxisVector
std::vector< double > m_yAxisVector
The y-axis vector, read from the mapping group in the label.
Definition: ObliqueCylindrical.h:98
Isis::ObliqueCylindrical::m_zAxisVector
std::vector< double > m_zAxisVector
The z-axis vector, read from the mapping group in the label.
Definition: ObliqueCylindrical.h:100
Isis::ObliqueCylindrical::MappingLongitudes
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: ObliqueCylindrical.cpp:382
Isis::ObliqueCylindrical::poleLongitude
double poleLongitude() const
Returns the value of the pole longitude.
Definition: ObliqueCylindrical.cpp:404
Isis::ObliqueCylindrical::Name
QString Name() const
Returns the name of the map projection, "ObliqueCylindrical".
Definition: ObliqueCylindrical.cpp:181
Isis::ObliqueCylindrical::Version
QString Version() const
Returns the version of the map projection.
Definition: ObliqueCylindrical.cpp:191
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis::ObliqueCylindrical::m_xAxisVector
std::vector< double > m_xAxisVector
The x-axis vector, read from the mapping group in the label.
Definition: ObliqueCylindrical.h:96
Isis::ObliqueCylindrical::m_poleRotation
double m_poleRotation
The Oblique Pole Rotation.
Definition: ObliqueCylindrical.h:93
Isis::ObliqueCylindrical::m_poleLatitude
double m_poleLatitude
The Oblique Pole Latitude.
Definition: ObliqueCylindrical.h:91
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ObliqueCylindrical
Oblique Cylindrical Map Projection.
Definition: ObliqueCylindrical.h:66
Isis::ObliqueCylindrical::~ObliqueCylindrical
~ObliqueCylindrical()
Destroys the ObliqueCylindrical object.
Definition: ObliqueCylindrical.cpp:153