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
13namespace 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
Definition Camera.h:236
Provide stereo information/data for a point or relationship.
Definition Stereo.h:29
Stereo()
Construct a Stereo object.
Definition Stereo.h:35
static void rectangular(const double x, const double y, const double z, double &latitude, double &longitude, double &radius)
Definition Stereo.cpp:138
static bool elevation(Camera &cam1, Camera &cam2, double &radius, double &latitude, double &longitude, double &sepang, double &error)
Definition Stereo.cpp:24
static void spherical(const double latitude, const double longitude, const double radius, double &x, double &y, double &z)
Definition Stereo.cpp:127
virtual ~Stereo()
Destructor for Stereo.
Definition Stereo.h:38
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16