24 #ifndef CameraDetectorMap_h 25 #define CameraDetectorMap_h 70 virtual bool SetParent(
const double sample,
72 virtual bool SetParent(
const double sample,
152 const int band)
const;
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
CameraDetectorMap(Camera *parent=0)
Default constructor assumes no summing and starting detector offsets.
double p_startingDetectorLine
Detector start coordinate line value.
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
virtual ~CameraDetectorMap()
Destructor.
virtual double exposureDuration(const double sample, const double line, const int band) const
This virtual method is for returning the exposure duration of a given pixel.
double DetectorSample() const
Return detector sample.
void Compute()
Compute new offsets whenenver summing or starting sample/lines change.
double p_startingDetectorSample
Detector start coordinate sample value.
void SetDetectorLineSumming(const double summing)
Set line summing mode.
virtual double SampleScaleFactor() const
Return scaling factor for computing sample resolution.
void SetStartingDetectorLine(const double line)
Set the starting detector line.
Convert between parent image coordinates and detector coordinates.
double p_parentSample
The parent sample calculated from the detector.
double p_detectorLineSumming
The scaling factor for computing line resolution.
double p_detectorLine
Detector coordinate line value.
double AdjustedStartingSample() const
Return the starting detector sample adjusted for summation.
double ParentSample() const
Return parent sample.
double p_detectorSampleSumming
The scaling factor for computing sample resolution.
virtual double LineRate() const
Return the line collection rate (0 for framing cameras)
double ParentLine() const
Return parent line.
void SetStartingDetectorSample(const double sample)
Set the starting detector sample.
double AdjustedStartingLine() const
Return the starting detector line adjusted for summation.
Namespace for ISIS/Bullet specific routines.
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
virtual double LineScaleFactor() const
Return scaling factor for computing line resolution.
double DetectorLine() const
Return detector line.
Camera * p_camera
Pointer to the camera.
double p_detectorSample
Detector coordinate sample value.
double p_parentLine
The parent line calculated from the detector.