Isis 3 Programmer Reference
RadarPulseMap.h
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.
Convert between alpha image coordinates and radar sample, time coordinates.
double p_lineRate
iTime between lines in parent cube
double p_etStart
Starting time at the top of the 1st alpha line.
virtual bool SetParent(const double sample, const double line)
Compute radar (sample/time)from a alpha image coordinate.
void SetLineRate(const double lineRate)
Reset the line rate.
virtual bool SetDetector(const double sample, const double line)
Compute alpha position from a detector coordinate.
double LineRate() const
Return the time in seconds between scan lines.
void SetStartTime(const double etStart)
Reset the starting ephemeris time.
RadarPulseMap(Camera *parent, const double etStart, const double lineRate)
Construct a detector map for line scan cameras.
virtual ~RadarPulseMap()
Destructor.
void SetXAxisTimeDependent(bool on)
Set the time dependent axis, if never called y is the time dependent axis.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16