45 const double frameletRate,
int frameletHeight):
79 double unsummedFrameletLine;
89 double unsummedFrameletSample = sample;
103 p_parentLine = (
p_framelet - 1) * actualFrameletHeight + p_parentLine;
152 const double deltaT) {
160 int framelet = (int)((line - 0.5) / actualFrameletHeight) + 1;
183 p_parentSample = sample;
457 const int band)
const {
bool p_flippedFramelets
Indicates whether the geometry in a framelet is flipped.
void SetBandFirstDetectorLine(int firstLine)
Change the starting line in the detector based on band.
double frameletLine() const
This returns the calculated framelet line.
int Framelet()
This method returns the current framelet.
int FrameletOffset() const
Return the frame offset.
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
void SetFrameletOrderReversed(bool frameletOrderReversed, int nframelets)
Changes the direction of the framelets.
virtual double LineScaleFactor() const
Return scaling factor for computing line resolution.
void SetFrameletOffset(int frameletOffset)
Reset the frame offset.
void SetFramelet(int framelet, const double deltaT=0)
This method changes the current framelet.
double p_etStart
Starting time at the top of the first parent line.
void SetFrameletsGeometricallyFlipped(bool frameletsFlipped)
Mirrors the each framelet in the file.
int frameletHeight() const
This returns how many lines are considered a single framelet.
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
double StartEphemerisTime() const
This returns the starting ET of this band.
int GetBandFirstDetectorLine()
Return the starting line in the detector for the current band.
Convert between parent image coordinates and detector coordinates.
void SetFrameletRate(const double frameletRate)
Reset the frame rate.
int p_bandStartDetector
The first detector line of current band.
int p_frameletHeight
Height of a framelet in detector lines.
int p_nframelets
If flipped framelets, the number of framelets in this band.
double p_frameletLine
The line in the current framelet.
double p_frameletRate
iTime between framelets in parent cube.
int TotalFramelets() const
Return the total number of framelets including padding.
double p_detectorLine
Detector coordinate line value.
double p_exposureDuration
Exposure duration in secs.
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
int p_framelet
The current framelet.
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
double frameletSample() const
This returns the calculated framelet sample.
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.
void SetStartTime(const double etStart)
Reset the starting ephemeris time.
virtual ~PushFrameCameraDetectorMap()
Destructor.
bool p_timeAscendingFramelets
Are framelets reversed from top-to-bottom in file.
double FrameletRate() const
Return the time in seconds between framelets.
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
void SetExposureDuration(double exposureDuration)
Change the exposure duration in seconds.
Camera * p_camera
Pointer to the camera.
double p_detectorSample
Detector coordinate sample value.
bool timeAscendingFramelets()
Returns if the framelets are reversed from top-to-bottom.
int ParentLines() const
Returns the number of lines in the parent alphacube.
int p_frameletOffset
The numner of framelets padding the top of the band.
PushFrameCameraDetectorMap(Camera *parent, const double etStart, const double frameletRate, int frameletHeight)
Construct a detector map for push frame cameras.
double p_frameletSample
The sample in the current framelet.