Isis 3 Programmer Reference
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.
LineRateChange & lineRate(const double line) const
Get the line rate information for a given line.
Container class for storing timing information for a section of an image.
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.
double p_rate
The time between lines in the section.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
double p_stime
The time at the beginning of exposure of the first line.
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.
Convert between parent image coordinates and detector coordinates.
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.