45 const double frameletRate,
int frameletHeight):
79 double unsummedFrameletLine;
89 double unsummedFrameletSample = sample;
152 const double deltaT) {
160 int framelet = (int)((line - 0.5) / actualFrameletHeight) + 1;
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.
int Framelet()
This method returns the current framelet.
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.
void SetFrameletOffset(int frameletOffset)
Reset the frame offset.
int FrameletOffset() const
Return 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.
double FrameletRate() const
Return the time in seconds between framelets.
void SetFrameletsGeometricallyFlipped(bool frameletsFlipped)
Mirrors the each framelet in the file.
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
int frameletHeight() const
This returns how many lines are considered a single framelet.
int ParentLines() const
Returns the number of lines in the parent alphacube.
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.
double p_parentSample
The parent sample calculated from the detector.
int p_bandStartDetector
The first detector line of current band.
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.
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.
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...
double frameletSample() const
This returns the calculated framelet sample.
int p_framelet
The current framelet.
double frameletLine() const
This returns the calculated framelet line.
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
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.
Namespace for ISIS/Bullet specific routines.
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.
virtual double LineScaleFactor() const
Return scaling factor for computing line resolution.
double StartEphemerisTime() const
This returns the starting ET of this band.
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 p_frameletOffset
The numner of framelets padding the top of the band.
double p_parentLine
The parent line calculated from the detector.
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.
int TotalFramelets() const
Return the total number of framelets including padding.