Isis 3 Programmer Reference
PointPerspective.h
Go to the documentation of this file.
1 #ifndef PointPerspective_h
2 #define PointPerspective_h
3 
25 #include "TProjection.h"
26 
27 namespace Isis {
28  class Pvl;
29  class PvlGroup;
66  class PointPerspective : public TProjection {
67  public:
68  PointPerspective(Pvl &label, bool allowDefaults = false);
70  bool operator== (const Projection &proj);
71 
72  QString Name() const;
73  QString Version() const;
74  double TrueScaleLatitude() const;
75 
76  bool SetGround(const double lat, const double lon);
77  bool SetCoordinate(const double x, const double y);
78  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
79 
80  PvlGroup Mapping();
83 
84  private:
87  double m_distance;
88  double m_sinph0;
89  double m_cosph0;
90  double m_P;
91 
92  };
93 };
94 #endif
double m_distance
Distance fromp perspective point to planet center.
PointPerspective Map Projection.
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.
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Base class for Map TProjections.
Definition: TProjection.h:182
~PointPerspective()
Destroys the PointPerspective object.
PointPerspective(Pvl &label, bool allowDefaults=false)
Constructs an PointPerspective object.
double TrueScaleLatitude() const
Returns the latitude of true scale, in degrees.
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
double m_centerLatitude
The center latitude for the map projection.
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
QString Name() const
Returns the name of the map projection, "PointPerspective".
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 Projections.
Definition: Projection.h:171
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
double m_P
Perspective Point.
double m_centerLongitude
The center longitude for the map projection.
Container for cube-like labels.
Definition: Pvl.h:135
double m_cosph0
Cosine of the center latitude.
QString Version() const
Returns the version of the map projection.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
double m_sinph0
Sine of the center latitude.
PvlGroup Mapping()
This function returns the keywords that this projection uses.