Isis 3 Developer Reference
CameraDistortionMap.h
Go to the documentation of this file.
1 
23 #ifndef CameraDistortionMap_h
24 #define CameraDistortionMap_h
25 
26 #include <vector>
27 #include "Camera.h"
28 
29 namespace Isis {
58  public:
59  CameraDistortionMap(Camera *parent, double zDirection = 1.0);
60 
61  virtual void SetDistortion(int naifIkCode);
62 
63  virtual ~CameraDistortionMap();
64 
65  virtual bool SetFocalPlane(double dx, double dy);
66 
67  virtual bool SetUndistortedFocalPlane(double ux, double uy);
68 
69  std::vector<double> OpticalDistortionCoefficients() const;
70 
71  double ZDirection() const;
72  double FocalPlaneX() const;
73  double FocalPlaneY() const;
74  double UndistortedFocalPlaneX() const;
75  double UndistortedFocalPlaneY() const;
76  double UndistortedFocalPlaneZ() const;
77 
78  protected:
80 
81  double p_focalPlaneX;
82  double p_focalPlaneY;
85  double p_zDirection;
86 
87  std::vector<double> p_odk;
88  };
89 };
90 #endif
double p_focalPlaneX
Distorted focal plane x.
Definition: CameraDistortionMap.h:81
double UndistortedFocalPlaneZ() const
Gets the z-value in the undistorted focal plane coordinate system.
Definition: CameraDistortionMap.cpp:276
double ZDirection() const
Gets the z-direction for this camera.
Definition: CameraDistortionMap.cpp:220
CameraDistortionMap(Camera *parent, double zDirection=1.0)
Camera distortion map constructor.
Definition: CameraDistortionMap.cpp:40
virtual void SetDistortion(int naifIkCode)
Load distortion coefficients.
Definition: CameraDistortionMap.cpp:74
std::vector< double > OpticalDistortionCoefficients() const
Retrieve the distortion coefficients used for this model.
Definition: CameraDistortionMap.cpp:210
double p_undistortedFocalPlaneX
Undistorted focal plane x.
Definition: CameraDistortionMap.h:83
Camera * p_camera
The camera to distort/undistort.
Definition: CameraDistortionMap.h:79
Definition: Camera.h:249
double FocalPlaneY() const
Gets the y-value in the focal plane coordinate system.
Definition: CameraDistortionMap.cpp:242
virtual bool SetUndistortedFocalPlane(double ux, double uy)
Compute distorted focal plane x/y.
Definition: CameraDistortionMap.cpp:146
virtual bool SetFocalPlane(double dx, double dy)
Compute undistorted focal plane x/y.
Definition: CameraDistortionMap.cpp:99
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:57
virtual ~CameraDistortionMap()
Destructor for the ISIS3 default camera distortion map.
Definition: CameraDistortionMap.cpp:50
double p_focalPlaneY
Distorted focal plane y.
Definition: CameraDistortionMap.h:82
double p_undistortedFocalPlaneY
Undistorted focal plane y.
Definition: CameraDistortionMap.h:84
double p_zDirection
Undistorted focal plane z.
Definition: CameraDistortionMap.h:85
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
std::vector< double > p_odk
Vector of distortion coefficients.
Definition: CameraDistortionMap.h:87
double UndistortedFocalPlaneY() const
Gets the y-value in the undistorted focal plane coordinate system.
Definition: CameraDistortionMap.cpp:264
double UndistortedFocalPlaneX() const
Gets the x-value in the undistorted focal plane coordinate system.
Definition: CameraDistortionMap.cpp:253
double FocalPlaneX() const
Gets the x-value in the focal plane coordinate system.
Definition: CameraDistortionMap.cpp:231