Isis 3 Programmer Reference
CameraSkyMap.h
1 #ifndef CameraSkyMap_h
2 #define CameraSkyMap_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "Camera.h"
11 
12 namespace Isis {
31  class CameraSkyMap {
32  public:
33  CameraSkyMap(Camera *parent);
34 
36  virtual ~CameraSkyMap() {};
37 
38  virtual bool SetFocalPlane(const double ux, const double uy,
39  const double uz);
40 
41  virtual bool SetSky(const double ra, const double dec);
42 
46  inline double FocalPlaneX() const {
47  return p_focalPlaneX;
48  };
49 
53  inline double FocalPlaneY() const {
54  return p_focalPlaneY;
55  };
56 
57  protected:
59  double p_focalPlaneX;
60  double p_focalPlaneY;
61  };
62 };
63 #endif
Isis::CameraSkyMap::SetSky
virtual bool SetSky(const double ra, const double dec)
Compute undistorted focal plane coordinate from ra/dec.
Definition: CameraSkyMap.cpp:65
Isis::CameraSkyMap::p_focalPlaneX
double p_focalPlaneX
Undistorted x value for the focal plane.
Definition: CameraSkyMap.h:59
Isis::CameraSkyMap::p_camera
Camera * p_camera
The main camera to calculate distortions on.
Definition: CameraSkyMap.h:55
Isis::CameraSkyMap::~CameraSkyMap
virtual ~CameraSkyMap()
Destructor.
Definition: CameraSkyMap.h:36
Isis::CameraSkyMap::SetFocalPlane
virtual bool SetFocalPlane(const double ux, const double uy, const double uz)
Compute ra/dec from focal plane coordinate.
Definition: CameraSkyMap.cpp:34
Isis::Camera
Definition: Camera.h:236
Isis::CameraSkyMap::p_focalPlaneY
double p_focalPlaneY
Undistorted y value for the focal plane.
Definition: CameraSkyMap.h:60
Isis::CameraSkyMap::FocalPlaneY
double FocalPlaneY() const
Definition: CameraSkyMap.h:53
Isis::CameraSkyMap::FocalPlaneX
double FocalPlaneX() const
Definition: CameraSkyMap.h:46
Isis::CameraSkyMap
Convert between undistorted focal plane and ra/dec coordinates.
Definition: CameraSkyMap.h:31
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::CameraSkyMap::CameraSkyMap
CameraSkyMap(Camera *parent)
Constructor a map between focal plane x/y and right acension/declination.
Definition: CameraSkyMap.cpp:17