Isis Developer Reference
Stereo.h
Go to the documentation of this file.
1 #ifndef Stereo_h
2 #define Stereo_h
3 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 
11 #include "Camera.h"
12 
13 namespace Isis {
14 
29  class Stereo {
30  public:
31 
35  Stereo () { }
36 
38  virtual ~Stereo() {}
39 
40  static bool elevation(Camera &cam1, Camera &cam2, double &radius,
41  double &latitude, double &longitude,
42  double &sepang, double &error);
43 
44  static void spherical(const double latitude, const double longitude,
45  const double radius, double &x, double &y,
46  double &z);
47 
48  static void rectangular(const double x, const double y, const double z,
49  double &latitude, double &longitude,
50  double &radius);
51 
52  private:
53  static std::vector<double> array2StdVec(const double d[3]);
54  static double *stdVec2Array(const std::vector<double> &v, double *d = 0);
55  static void targetToSpacecraft(Camera &camera, double TP[3]);
56  static void targetToSurface(Camera &camera, double TC[3]);
57 
58  };
59 };
60 
61 #endif
Isis::Stereo
Provide stereo information/data for a point or relationship.
Definition: Stereo.h:29
Isis::Sensor::HasSurfaceIntersection
bool HasSurfaceIntersection() const
Returns if the last call to either SetLookDirection or SetUniversalGround had a valid intersection wi...
Definition: Sensor.cpp:186
SpecialPixel.h
Isis::Stereo::spherical
static void spherical(const double latitude, const double longitude, const double radius, double &x, double &y, double &z)
Definition: Stereo.cpp:127
Isis::Camera
Definition: Camera.h:236
Isis::Stereo::elevation
static bool elevation(Camera &cam1, Camera &cam2, double &radius, double &latitude, double &longitude, double &sepang, double &error)
Definition: Stereo.cpp:24
Isis::Stereo::Stereo
Stereo()
Construct a Stereo object.
Definition: Stereo.h:35
Isis::Stereo::rectangular
static void rectangular(const double x, const double y, const double z, double &latitude, double &longitude, double &radius)
Definition: Stereo.cpp:138
TProjection.h
Camera.h
Isis::Null
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
Isis::Stereo::~Stereo
virtual ~Stereo()
Destructor for Stereo.
Definition: Stereo.h:38
Isis::TProjection::To360Domain
static double To360Domain(const double lon)
This method converts a longitude into the 0 to 360 domain.
Definition: TProjection.cpp:675
Stereo.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16