Isis 3.0 Programmer Reference
Back | Home
VariableLineScanCameraDetectorMap.h
Go to the documentation of this file.
1 
24 #ifndef VariableLineScanCameraDetectorMap_h
25 #define VariableLineScanCameraDetectorMap_h
26 
28 
29 namespace Isis {
30  class LineRateChange;
31 
67  public:
68  VariableLineScanCameraDetectorMap(Camera *parent, std::vector< LineRateChange > &lineRates);
69 
71 
72  virtual bool SetParent(const double sample,
73  const double line);
74  virtual bool SetParent(const double sample,
75  const double line,
76  const double deltaT);
77 
78  virtual bool SetDetector(const double sample,
79  const double line);
80 
81  virtual double exposureDuration(const double sample,
82  const double line,
83  const int band) const;
84  LineRateChange &lineRate(const double line) const;
85 
86  private:
87  std::vector< LineRateChange > &p_lineRates;
89  };
90 
91 
101  public:
102  LineRateChange(int line, double stime, double rate) {
103  p_line = line;
104  p_stime = stime;
105  p_rate = rate;
106  };
107 
108  int GetStartLine() {
109  return p_line;
110  }
111  double GetStartEt() {
112  return p_stime;
113  }
114  double GetLineScanRate() {
115  return p_rate;
116  }
117 
118  private:
119  int p_line;
120  double p_stime;
121  double p_rate;
122  };
123 };
124 #endif
VariableLineScanCameraDetectorMap(Camera *parent, std::vector< LineRateChange > &lineRates)
Constructs a VariableLineScanCameraDetectorMap.
Container class for storing timing information for a section of an image.
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.
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
int p_line
The first line in the section.
Convert between parent image coordinates and detector coordinates.
LineRateChange & lineRate(const double line) const
Get the line rate information for a given line.
double p_rate
The time between lines in the section.
double p_stime
The time at the beginning of exposure of the first line.
Convert between parent image coordinates and detector coordinates.
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:31:21