Isis Developer Reference
RadarPulseMap.h
Go to the documentation of this file.
1#ifndef RadarPulseMap_h
2#define RadarPulseMap_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include "RadarPulseMap.h"
11#include "CameraDetectorMap.h"
12
13namespace 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
Convert between parent image coordinates and detector coordinates.
Definition CameraDetectorMap.h:47
Definition Camera.h:236
Convert between alpha image coordinates and radar sample, time coordinates.
Definition RadarPulseMap.h:35
virtual bool SetParent(const double sample, const double line)
Compute radar (sample/time)from a alpha image coordinate.
Definition RadarPulseMap.cpp:43
void SetLineRate(const double lineRate)
Reset the line rate.
Definition RadarPulseMap.h:78
virtual bool SetDetector(const double sample, const double line)
Compute alpha position from a detector coordinate.
Definition RadarPulseMap.cpp:24
double LineRate() const
Return the time in seconds between scan lines.
Definition RadarPulseMap.h:83
void SetStartTime(const double etStart)
Reset the starting ephemeris time.
Definition RadarPulseMap.h:66
RadarPulseMap(Camera *parent, const double etStart, const double lineRate)
Construct a detector map for line scan cameras.
Definition RadarPulseMap.h:45
virtual ~RadarPulseMap()
Destructor.
Definition RadarPulseMap.h:54
void SetXAxisTimeDependent(bool on)
Set the time dependent axis, if never called y is the time dependent axis.
Definition RadarPulseMap.h:95
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16