Isis 3 Developer 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;
111  double p_exposureDuration;
112  double p_frameletRate;
113  int p_frameletHeight;
114  int p_bandStartDetector;
115  int p_frameletOffset;
116  int p_framelet;
117  int p_nframelets;
118 
119  double p_frameletSample;
120  double p_frameletLine;
121 
122  bool p_flippedFramelets;
123  bool p_timeAscendingFramelets;
124 
125  };
126 };
127 #endif
void SetBandFirstDetectorLine(int firstLine)
Change the starting line in the detector based on band.
Definition: PushFrameCameraDetectorMap.cpp:324
int Framelet()
This method returns the current framelet.
Definition: PushFrameCameraDetectorMap.cpp:308
void SetFrameletOrderReversed(bool frameletOrderReversed, int nframelets)
Changes the direction of the framelets.
Definition: PushFrameCameraDetectorMap.cpp:356
void SetFrameletOffset(int frameletOffset)
Reset the frame offset.
Definition: PushFrameCameraDetectorMap.cpp:286
int FrameletOffset() const
Return the frame offset.
Definition: PushFrameCameraDetectorMap.cpp:297
void SetFramelet(int framelet, const double deltaT=0)
This method changes the current framelet.
Definition: PushFrameCameraDetectorMap.cpp:198
double FrameletRate() const
Return the time in seconds between framelets.
Definition: PushFrameCameraDetectorMap.cpp:272
void SetFrameletsGeometricallyFlipped(bool frameletsFlipped)
Mirrors the each framelet in the file.
Definition: PushFrameCameraDetectorMap.cpp:375
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
Definition: PushFrameCameraDetectorMap.cpp:75
int frameletHeight() const
This returns how many lines are considered a single framelet.
Definition: PushFrameCameraDetectorMap.cpp:430
Definition: Camera.h:249
int GetBandFirstDetectorLine()
Return the starting line in the detector for the current band.
Definition: PushFrameCameraDetectorMap.cpp:335
Convert between parent image coordinates and detector coordinates.
Definition: CameraDetectorMap.h:64
void SetFrameletRate(const double frameletRate)
Reset the frame rate.
Definition: PushFrameCameraDetectorMap.cpp:260
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:455
Convert between parent image coordinates and detector coordinates.
Definition: PushFrameCameraDetectorMap.h:62
double frameletSample() const
This returns the calculated framelet sample.
Definition: PushFrameCameraDetectorMap.cpp:408
double frameletLine() const
This returns the calculated framelet line.
Definition: PushFrameCameraDetectorMap.cpp:419
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
Definition: PushFrameCameraDetectorMap.cpp:133
void SetStartTime(const double etStart)
Reset the starting ephemeris time.
Definition: PushFrameCameraDetectorMap.cpp:231
virtual ~PushFrameCameraDetectorMap()
Destructor.
Definition: PushFrameCameraDetectorMap.cpp:59
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void SetExposureDuration(double exposureDuration)
Change the exposure duration in seconds.
Definition: PushFrameCameraDetectorMap.cpp:245
double StartEphemerisTime() const
This returns the starting ET of this band.
Definition: PushFrameCameraDetectorMap.cpp:386
bool timeAscendingFramelets()
Returns if the framelets are reversed from top-to-bottom.
Definition: PushFrameCameraDetectorMap.cpp:441
PushFrameCameraDetectorMap(Camera *parent, const double etStart, const double frameletRate, int frameletHeight)
Construct a detector map for push frame cameras.
Definition: PushFrameCameraDetectorMap.cpp:44
int TotalFramelets() const
Return the total number of framelets including padding.
Definition: PushFrameCameraDetectorMap.cpp:397