|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef RollingShutterCameraDetectorMap_h
2 #define RollingShutterCameraDetectorMap_h
33 std::vector<double> times,
34 std::vector<double> sampleCoeffs,
35 std::vector<double> lineCoeffs);
39 virtual bool SetParent(
const double sample,
42 virtual bool SetParent(
const double sample,
49 std::pair<double, double>
applyJitter(
const double sample,
51 std::pair<double, double>
removeJitter(
const double sample,
57 std::vector<double> m_times;
62 std::vector<double> m_sampleCoeffs;
67 std::vector<double> m_lineCoeffs;
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
Definition: Spice.cpp:884
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
Definition: RollingShutterCameraDetectorMap.cpp:55
double p_parentLine
The parent line calculated from the detector.
Definition: CameraDetectorMap.h:141
Convert between parent image coordinates and detector coordinates.
Definition: CameraDetectorMap.h:47
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
double p_parentSample
The parent sample calculated from the detector.
Definition: CameraDetectorMap.h:140
double p_detectorLineSumming
The scaling factor for computing line resolution.
Definition: CameraDetectorMap.h:146
virtual ~RollingShutterCameraDetectorMap()
Destructor.
Definition: RollingShutterCameraDetectorMap.cpp:39
double p_detectorLine
Detector coordinate line value.
Definition: CameraDetectorMap.h:142
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Definition: Sensor.cpp:97
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
Definition: iTime.h:126
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Convert between parent image coordinates and detector coordinates.
Definition: RollingShutterCameraDetectorMap.h:29
double p_detectorSampleSumming
The scaling factor for computing sample resolution.
Definition: CameraDetectorMap.h:145
Isis exception class.
Definition: IException.h:91
#define round(x)
This is free and unencumbered software released into the public domain.
Definition: ViewportBuffer.cpp:29
double p_sl
Start line.
Definition: CameraDetectorMap.h:151
Camera * p_camera
Pointer to the camera.
Definition: CameraDetectorMap.h:138
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
Definition: RollingShutterCameraDetectorMap.cpp:101
double p_detectorSample
Detector coordinate sample value.
Definition: CameraDetectorMap.h:143
std::pair< double, double > applyJitter(const double sample, const double line)
Iteratively finds a solution to "apply" jitter to an image coordinate.
Definition: RollingShutterCameraDetectorMap.cpp:121
bool isTimeSet()
Returns true if time has been initialized.
Definition: Spice.cpp:1577
double p_ss
Start sample.
Definition: CameraDetectorMap.h:150
std::pair< double, double > removeJitter(const double sample, const double line)
Remove the distortion from the image (parent) coordinates.
Definition: RollingShutterCameraDetectorMap.cpp:165
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
RollingShutterCameraDetectorMap(Camera *parent, std::vector< double > times, std::vector< double > sampleCoeffs, std::vector< double > lineCoeffs)
Constructs a RollingShutterCameraDetectorMap.
Definition: RollingShutterCameraDetectorMap.cpp:25