Isis 3 Programmer Reference
RadarPulseMap.h
Go to the documentation of this file.
1 
23 #ifndef RadarPulseMap_h
24 #define RadarPulseMap_h
25 
26 #include "RadarPulseMap.h"
27 #include "CameraDetectorMap.h"
28 
29 namespace Isis {
52  public:
61  RadarPulseMap(Camera *parent, const double etStart,
62  const double lineRate) :
63  CameraDetectorMap(parent) {
64  p_etStart = etStart;
65  p_lineRate = lineRate;
66  p_yAxisTimeDependent = true;
67  }
68 
70  virtual ~RadarPulseMap() {};
71 
82  void SetStartTime(const double etStart) {
83  p_etStart = etStart;
84  };
85 
94  void SetLineRate(const double lineRate) {
95  p_lineRate = lineRate;
96  };
97 
99  double LineRate() const {
100  return p_lineRate;
101  };
102 
103  virtual bool SetParent(const double sample, const double line);
104 
105  virtual bool SetDetector(const double sample, const double line);
106 
111  void SetXAxisTimeDependent(bool on) {
112  p_xAxisTimeDependent = on;
113  p_yAxisTimeDependent = !on;
114  };
115 
116  private:
117  bool p_xAxisTimeDependent;
118  bool p_yAxisTimeDependent;
119  double p_etStart;
120  double p_lineRate;
121  };
122 };
123 #endif
Convert between alpha image coordinates and radar sample, time coordinates.
Definition: RadarPulseMap.h:51
RadarPulseMap(Camera *parent, const double etStart, const double lineRate)
Construct a detector map for line scan cameras.
Definition: RadarPulseMap.h:61
void SetStartTime(const double etStart)
Reset the starting ephemeris time.
Definition: RadarPulseMap.h:82
double LineRate() const
Return the time in seconds between scan lines.
Definition: RadarPulseMap.h:99
Convert between parent image coordinates and detector coordinates.
void SetLineRate(const double lineRate)
Reset the line rate.
Definition: RadarPulseMap.h:94
void SetXAxisTimeDependent(bool on)
Set the time dependent axis, if never called y is the time dependent axis.
virtual ~RadarPulseMap()
Destructor.
Definition: RadarPulseMap.h:70
double p_etStart
Starting time at the top of the 1st alpha line.
double p_lineRate
iTime between lines in parent cube
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
virtual bool SetDetector(const double sample, const double line)
Compute alpha position from a detector coordinate.
virtual bool SetParent(const double sample, const double line)
Compute radar (sample/time)from a alpha image coordinate.