Isis Developer Reference
RadarPulseMap.h
Go to the documentation of this file.
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::Spice::time
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
Definition: Spice.cpp:884
Isis::CameraDetectorMap::p_parentLine
double p_parentLine
The parent line calculated from the detector.
Definition: CameraDetectorMap.h:141
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::CameraDetectorMap::SetParent
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
Definition: CameraDetectorMap.cpp:63
CameraDetectorMap.h
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::CameraDetectorMap::p_detectorLine
double p_detectorLine
Detector coordinate line value.
Definition: CameraDetectorMap.h:142
Isis::Sensor::setTime
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Definition: Sensor.cpp:97
Isis::iTime::Et
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
Definition: iTime.h:126
CameraFocalPlaneMap.h
Isis::CameraDetectorMap::SetDetector
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
Definition: CameraDetectorMap.cpp:43
Isis::RadarPulseMap
Convert between alpha image coordinates and radar sample, time coordinates.
Definition: RadarPulseMap.h:35
Isis::CameraDetectorMap::p_camera
Camera * p_camera
Pointer to the camera.
Definition: CameraDetectorMap.h:138
RadarPulseMap.h
iTime.h
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