USGS

Isis 3.0 Object Programmers' Reference

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 
50  public:
61  VariableLineScanCameraDetectorMap(Camera *parent, std::vector< LineRateChange > &lineRates);
62 
65 
66  virtual bool SetParent(const double sample, const double line);
67 
68  virtual bool SetDetector(const double sample, const double line);
69 
70  private:
71  std::vector< LineRateChange > &p_lineRates;
72  };
73 
74 
82  public:
83  LineRateChange(int line, double stime, double rate) {
84  p_line = line;
85  p_stime = stime;
86  p_rate = rate;
87  };
88 
89  int GetStartLine() {
90  return p_line;
91  }
92  double GetStartEt() {
93  return p_stime;
94  }
95  double GetLineScanRate() {
96  return p_rate;
97  }
98 
99  private:
100  int p_line;
101  double p_stime;
102  double p_rate;
103  };
104 };
105 #endif