Isis 3 Programmer Reference
PushFrameCameraDetectorMap.h
Go to the documentation of this file.
1 
24 #ifndef PushFrameCameraDetectorMap_h
25 #define PushFrameCameraDetectorMap_h
26 
27 #include "CameraDetectorMap.h"
28 
29 namespace Isis {
63  public:
65  const double etStart,
66  const double frameletRate,
67  int frameletHeight);
68 
70 
71  virtual bool SetParent(const double sample,
72  const double line);
73  virtual bool SetParent(const double sample,
74  const double line,
75  const double deltaT);
76 
77  virtual bool SetDetector(const double sample,
78  const double line);
79 
80  double FrameletRate() const;
81  void SetFrameletRate(const double frameletRate);
82 
83  int FrameletOffset() const;
84  void SetFrameletOffset(int frameletOffset);
85 
86  void SetFramelet(int framelet, const double deltaT=0);
87  int Framelet();
88 
89  void SetBandFirstDetectorLine(int firstLine);
91 
92  void SetStartTime(const double etStart);
93  double StartEphemerisTime() const;
94 
96  virtual double exposureDuration(const double sample,
97  const double line,
98  const int band) const;
99 
100  void SetFrameletOrderReversed(bool frameletOrderReversed, int nframelets);
101  void SetFrameletsGeometricallyFlipped(bool frameletsFlipped);
102 
103  int TotalFramelets() const;
104  double frameletSample() const;
105  double frameletLine() const;
106  int frameletHeight() const;
107  bool timeAscendingFramelets();
108 
109  private:
110  double p_etStart;
112  double p_frameletRate;
118 
120  double p_frameletLine;
121 
124 
125  };
126 };
127 #endif
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.
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.
bool p_timeAscendingFramelets
Are framelets reversed from top-to-bottom in file.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
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.