1#ifndef PushFrameCameraDetectorMap_h
2#define PushFrameCameraDetectorMap_h
49 const double frameletRate,
54 virtual bool SetParent(
const double sample,
56 virtual bool SetParent(
const double sample,
69 void SetFramelet(
int framelet,
const double deltaT=0);
81 const int band)
const;
94 double p_exposureDuration;
95 double p_frameletRate;
97 int p_bandStartDetector;
102 double p_frameletSample;
103 double p_frameletLine;
105 bool p_flippedFramelets;
106 bool p_timeAscendingFramelets;
Convert between parent image coordinates and detector coordinates.
Definition CameraDetectorMap.h:47
Convert between parent image coordinates and detector coordinates.
Definition PushFrameCameraDetectorMap.h:45
PushFrameCameraDetectorMap(Camera *parent, const double etStart, const double frameletRate, int frameletHeight)
Construct a detector map for push frame cameras.
Definition PushFrameCameraDetectorMap.cpp:28
void SetFrameletRate(const double frameletRate)
Reset the frame rate.
Definition PushFrameCameraDetectorMap.cpp:244
int TotalFramelets() const
Return the total number of framelets including padding.
Definition PushFrameCameraDetectorMap.cpp:381
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.
Definition PushFrameCameraDetectorMap.cpp:439
void SetFrameletsGeometricallyFlipped(bool frameletsFlipped)
Mirrors the each framelet in the file.
Definition PushFrameCameraDetectorMap.cpp:359
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
Definition PushFrameCameraDetectorMap.cpp:117
void SetBandFirstDetectorLine(int firstLine)
Change the starting line in the detector based on band.
Definition PushFrameCameraDetectorMap.cpp:308
virtual ~PushFrameCameraDetectorMap()
Destructor.
Definition PushFrameCameraDetectorMap.cpp:43
double frameletLine() const
This returns the calculated framelet line.
Definition PushFrameCameraDetectorMap.cpp:403
int GetBandFirstDetectorLine()
Return the starting line in the detector for the current band.
Definition PushFrameCameraDetectorMap.cpp:319
void SetFrameletOffset(int frameletOffset)
Reset the frame offset.
Definition PushFrameCameraDetectorMap.cpp:270
bool timeAscendingFramelets()
Returns if the framelets are reversed from top-to-bottom.
Definition PushFrameCameraDetectorMap.cpp:425
void SetStartTime(const double etStart)
Reset the starting ephemeris time.
Definition PushFrameCameraDetectorMap.cpp:215
int frameletHeight() const
This returns how many lines are considered a single framelet.
Definition PushFrameCameraDetectorMap.cpp:414
int Framelet()
This method returns the current framelet.
Definition PushFrameCameraDetectorMap.cpp:292
void SetFrameletOrderReversed(bool frameletOrderReversed, int nframelets)
Changes the direction of the framelets.
Definition PushFrameCameraDetectorMap.cpp:340
int FrameletOffset() const
Return the frame offset.
Definition PushFrameCameraDetectorMap.cpp:281
void SetExposureDuration(double exposureDuration)
Change the exposure duration in seconds.
Definition PushFrameCameraDetectorMap.cpp:229
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
Definition PushFrameCameraDetectorMap.cpp:59
double frameletSample() const
This returns the calculated framelet sample.
Definition PushFrameCameraDetectorMap.cpp:392
double StartEphemerisTime() const
This returns the starting ET of this band.
Definition PushFrameCameraDetectorMap.cpp:370
void SetFramelet(int framelet, const double deltaT=0)
This method changes the current framelet.
Definition PushFrameCameraDetectorMap.cpp:182
double FrameletRate() const
Return the time in seconds between framelets.
Definition PushFrameCameraDetectorMap.cpp:256
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16