Isis 3 Programmer 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.
double UndistortedFocalPlaneZ() const
Gets the z-value in the undistorted focal plane coordinate system.
double ZDirection() const
Gets the z-direction for this camera.
CameraDistortionMap(Camera *parent, double zDirection=1.0)
Camera distortion map constructor.
virtual void SetDistortion(int naifIkCode)
Load distortion coefficients.
std::vector< double > OpticalDistortionCoefficients() const
Retrieve the distortion coefficients used for this model.
double p_undistortedFocalPlaneX
Undistorted focal plane x.
Camera * p_camera
The camera to distort/undistort.
double FocalPlaneY() const
Gets the y-value in the focal plane coordinate system.
virtual bool SetUndistortedFocalPlane(double ux, double uy)
Compute distorted focal plane x/y.
virtual bool SetFocalPlane(double dx, double dy)
Compute undistorted focal plane x/y.
Distort/undistort focal plane coordinates.
virtual ~CameraDistortionMap()
Destructor for the ISIS3 default camera distortion map.
double p_focalPlaneY
Distorted focal plane y.
double p_undistortedFocalPlaneY
Undistorted focal plane y.
double p_zDirection
Undistorted focal plane z.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
std::vector< double > p_odk
Vector of distortion coefficients.
double UndistortedFocalPlaneY() const
Gets the y-value in the undistorted focal plane coordinate system.
double UndistortedFocalPlaneX() const
Gets the x-value in the undistorted focal plane coordinate system.
double FocalPlaneX() const
Gets the x-value in the focal plane coordinate system.