24 #ifndef PushFrameCameraDetectorMap_h 25 #define PushFrameCameraDetectorMap_h 66 const double frameletRate,
71 virtual bool SetParent(
const double sample,
73 virtual bool SetParent(
const double sample,
86 void SetFramelet(
int framelet,
const double deltaT=0);
98 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.
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 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.
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.
Convert between parent image coordinates and detector coordinates.
double p_frameletRate
iTime between framelets in parent cube.
double p_exposureDuration
Exposure duration in secs.
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.
void SetExposureDuration(double exposureDuration)
Change the exposure duration in seconds.
double StartEphemerisTime() const
This returns the starting ET of this band.
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.
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.