Isis 3 Programmer Reference
PointPerspective.h
1 #ifndef PointPerspective_h
2 #define PointPerspective_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "TProjection.h"
10 
11 namespace Isis {
12  class Pvl;
13  class PvlGroup;
50  class PointPerspective : public TProjection {
51  public:
52  PointPerspective(Pvl &label, bool allowDefaults = false);
54  bool operator== (const Projection &proj);
55 
56  QString Name() const;
57  QString Version() const;
58  double TrueScaleLatitude() const;
59 
60  bool SetGround(const double lat, const double lon);
61  bool SetCoordinate(const double x, const double y);
62  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
63 
64  PvlGroup Mapping();
67 
68  private:
71  double m_distance;
72  double m_sinph0;
73  double m_cosph0;
74  double m_P;
75 
76  };
77 };
78 #endif
Isis::PointPerspective::MappingLatitudes
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: PointPerspective.cpp:359
Isis::PointPerspective::Name
QString Name() const
Returns the name of the map projection, "PointPerspective".
Definition: PointPerspective.cpp:116
Isis::PointPerspective
PointPerspective Map Projection.
Definition: PointPerspective.h:50
Isis::PointPerspective::MappingLongitudes
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: PointPerspective.cpp:372
Isis::PointPerspective::m_P
double m_P
Perspective Point.
Definition: PointPerspective.h:74
Isis::PointPerspective::~PointPerspective
~PointPerspective()
Destroys the PointPerspective object.
Definition: PointPerspective.cpp:89
Isis::PointPerspective::m_centerLongitude
double m_centerLongitude
The center longitude for the map projection.
Definition: PointPerspective.h:69
Isis::PointPerspective::PointPerspective
PointPerspective(Pvl &label, bool allowDefaults=false)
Constructs an PointPerspective object.
Definition: PointPerspective.cpp:39
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::PointPerspective::m_centerLatitude
double m_centerLatitude
The center latitude for the map projection.
Definition: PointPerspective.h:70
Isis::PointPerspective::Mapping
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: PointPerspective.cpp:344
Isis::PointPerspective::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: PointPerspective.cpp:159
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::PointPerspective::operator==
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: PointPerspective.cpp:100
Isis::TProjection
Base class for Map TProjections.
Definition: TProjection.h:166
Isis::PointPerspective::m_distance
double m_distance
Distance fromp perspective point to planet center.
Definition: PointPerspective.h:71
Isis::PointPerspective::m_cosph0
double m_cosph0
Cosine of the center latitude.
Definition: PointPerspective.h:73
Isis::PointPerspective::TrueScaleLatitude
double TrueScaleLatitude() const
Returns the latitude of true scale, in degrees.
Definition: PointPerspective.cpp:135
Isis::PointPerspective::Version
QString Version() const
Returns the version of the map projection.
Definition: PointPerspective.cpp:125
Isis::PointPerspective::SetCoordinate
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: PointPerspective.cpp:217
Isis::PointPerspective::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: PointPerspective.cpp:324
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis::PointPerspective::m_sinph0
double m_sinph0
Sine of the center latitude.
Definition: PointPerspective.h:72
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16