1 #ifndef CameraFocalPlaneMap_h 2 #define CameraFocalPlaneMap_h 26 template<
class T>
class QVector;
108 virtual bool SetDetector(
const double sample,
const double line);
109 virtual bool SetFocalPlane(
const double dx,
const double dy);
121 const double lineOffset);
130 const double *
TransL()
const;
131 const double *
TransS()
const;
132 const double *
TransX()
const;
133 const double *
TransY()
const;
174 void Init(
Camera *parent,
const int naifIkCode);
double p_detectorLine
line value of the detector
double p_detectorSampleOrigin
The origin sample of the detector.
const double * TransX() const
double DetectorSample() const
void SetTransY(const QVector< double > transY)
Set the affine coefficients for converting detector (sample,line) to a distorted Y.
void SetDetectorOffset(const double sampleOffset, const double lineOffset)
Set the detector offset.
double CenteredDetectorSample() const
double FocalPlaneX() const
virtual bool SetFocalPlane(const double dx, const double dy)
Compute detector position (sample,line) from focal plane coordinates.
virtual ~CameraFocalPlaneMap()
Destructor.
void ComputeCentered()
Convenience method to center detector origin (use when inheriting)
void SetTransL(const QVector< double > transL)
Set the affine coefficients for converting destorted (x,y) to a detector Line.
double p_focalPlaneX
x value of focal plane coordinate
The x value of the focal plane maps to a sample.
double p_itranss[3]
The x transition from distorted to detector.
double CenteredDetectorLine() const
double p_transx[3]
The x transition from detector to distorted.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
virtual bool SetDetector(const double sample, const double line)
Compute distorted focal plane coordinate from detector position (sampel,line)
double p_focalPlaneY
y value of focal plane coordinate
const double * TransS() const
double SignMostSigX()
Return the sign of the p_transx coefficient with the greatest magnitude.
double DetectorSampleOffset() const
double SignMostSigY()
Return the sign of the p_transy coefficient with the greatest magnitude.
Convert between distorted focal plane and detector coordinates.
double p_detectorLineOffset
Offset of the detector origin line from the average.
void SetTransX(const QVector< double > transX)
Set the affine coefficients for converting detector (sample,line) to a distorted X.
void SetTransS(const QVector< double > transS)
Set the affine coefficients for converting destorted (x,y) to a detector Sample.
void ComputeUncentered()
Convenience method to center detector origin (use when inheriting)
void Init(Camera *parent, const int naifIkCode)
Initialize the focal plane map to its default state.
CameraFocalPlaneMap(Camera *parent, const int naifIkCode)
Construct mapping between detectors and focal plane x/y.
double p_detectorSampleOffset
offset of the detector origin sample from the average
FocalPlaneXDependencyType
Focal plane x dependency indicates whether the x value of the focal plane coordinate maps to a sample...
double DetectorSampleOrigin() const
double FocalPlaneY() const
const double * TransL() const
double DetectorLine() const
double DetectorLineOffset() const
Namespace for ISIS/Bullet specific routines.
double p_centeredDetectorSample
Detector sample position.
double p_detectorLineOrigin
The origin line of the detector.
double p_centeredDetectorLine
Detector line position.
const double * TransY() const
double p_detectorSample
sample value of the detector
The x value of the focal plane maps to a line.
Camera * p_camera
Camera of the image.
double p_itransl[3]
The y transition from distorted to detector.
double DetectorLineOrigin() const
double p_transy[3]
The y transition from detector to distorted.
int FocalPlaneXDependency()
Return the focal plane x dependency variable.