Isis 3 Programmer Reference
RadarPulseMap.h
1 #ifndef RadarPulseMap_h
2 #define RadarPulseMap_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "RadarPulseMap.h"
11 #include "CameraDetectorMap.h"
12 
13 namespace Isis {
36  public:
45  RadarPulseMap(Camera *parent, const double etStart,
46  const double lineRate) :
47  CameraDetectorMap(parent) {
48  p_etStart = etStart;
49  p_lineRate = lineRate;
50  p_yAxisTimeDependent = true;
51  }
52 
54  virtual ~RadarPulseMap() {};
55 
66  void SetStartTime(const double etStart) {
67  p_etStart = etStart;
68  };
69 
78  void SetLineRate(const double lineRate) {
79  p_lineRate = lineRate;
80  };
81 
83  double LineRate() const {
84  return p_lineRate;
85  };
86 
87  virtual bool SetParent(const double sample, const double line);
88 
89  virtual bool SetDetector(const double sample, const double line);
90 
95  void SetXAxisTimeDependent(bool on) {
96  p_xAxisTimeDependent = on;
97  p_yAxisTimeDependent = !on;
98  };
99 
100  private:
101  bool p_xAxisTimeDependent;
102  bool p_yAxisTimeDependent;
103  double p_etStart;
104  double p_lineRate;
105  };
106 };
107 #endif
Isis::RadarPulseMap::p_lineRate
double p_lineRate
iTime between lines in parent cube
Definition: RadarPulseMap.h:104
Isis::CameraDetectorMap
Convert between parent image coordinates and detector coordinates.
Definition: CameraDetectorMap.h:47
Isis::RadarPulseMap::SetDetector
virtual bool SetDetector(const double sample, const double line)
Compute alpha position from a detector coordinate.
Definition: RadarPulseMap.cpp:24
Isis::RadarPulseMap::~RadarPulseMap
virtual ~RadarPulseMap()
Destructor.
Definition: RadarPulseMap.h:54
Isis::RadarPulseMap::RadarPulseMap
RadarPulseMap(Camera *parent, const double etStart, const double lineRate)
Construct a detector map for line scan cameras.
Definition: RadarPulseMap.h:45
Isis::RadarPulseMap::SetXAxisTimeDependent
void SetXAxisTimeDependent(bool on)
Set the time dependent axis, if never called y is the time dependent axis.
Definition: RadarPulseMap.h:95
Isis::RadarPulseMap::SetStartTime
void SetStartTime(const double etStart)
Reset the starting ephemeris time.
Definition: RadarPulseMap.h:66
Isis::RadarPulseMap::SetLineRate
void SetLineRate(const double lineRate)
Reset the line rate.
Definition: RadarPulseMap.h:78
Isis::Camera
Definition: Camera.h:236
Isis::RadarPulseMap::SetParent
virtual bool SetParent(const double sample, const double line)
Compute radar (sample/time)from a alpha image coordinate.
Definition: RadarPulseMap.cpp:43
Isis::RadarPulseMap::p_etStart
double p_etStart
Starting time at the top of the 1st alpha line.
Definition: RadarPulseMap.h:103
Isis::RadarPulseMap
Convert between alpha image coordinates and radar sample, time coordinates.
Definition: RadarPulseMap.h:35
Isis::RadarPulseMap::LineRate
double LineRate() const
Return the time in seconds between scan lines.
Definition: RadarPulseMap.h:83
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16