Isis Developer Reference
PushFrameCameraDetectorMap.h
Go to the documentation of this file.
1 #ifndef PushFrameCameraDetectorMap_h
2 #define PushFrameCameraDetectorMap_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "CameraDetectorMap.h"
11 
12 namespace Isis {
46  public:
48  const double etStart,
49  const double frameletRate,
50  int frameletHeight);
51 
53 
54  virtual bool SetParent(const double sample,
55  const double line);
56  virtual bool SetParent(const double sample,
57  const double line,
58  const double deltaT);
59 
60  virtual bool SetDetector(const double sample,
61  const double line);
62 
63  double FrameletRate() const;
64  void SetFrameletRate(const double frameletRate);
65 
66  int FrameletOffset() const;
67  void SetFrameletOffset(int frameletOffset);
68 
69  void SetFramelet(int framelet, const double deltaT=0);
70  int Framelet();
71 
72  void SetBandFirstDetectorLine(int firstLine);
74 
75  void SetStartTime(const double etStart);
76  double StartEphemerisTime() const;
77 
79  virtual double exposureDuration(const double sample,
80  const double line,
81  const int band) const;
82 
83  void SetFrameletOrderReversed(bool frameletOrderReversed, int nframelets);
84  void SetFrameletsGeometricallyFlipped(bool frameletsFlipped);
85 
86  int TotalFramelets() const;
87  double frameletSample() const;
88  double frameletLine() const;
89  int frameletHeight() const;
91 
92  private:
93  double p_etStart;
94  double p_exposureDuration;
95  double p_frameletRate;
96  int p_frameletHeight;
97  int p_bandStartDetector;
98  int p_frameletOffset;
99  int p_framelet;
100  int p_nframelets;
101 
102  double p_frameletSample;
103  double p_frameletLine;
104 
105  bool p_flippedFramelets;
106  bool p_timeAscendingFramelets;
107 
108  };
109 };
110 #endif
Isis::PushFrameCameraDetectorMap::SetFrameletOffset
void SetFrameletOffset(int frameletOffset)
Reset the frame offset.
Definition: PushFrameCameraDetectorMap.cpp:270
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::PushFrameCameraDetectorMap::FrameletRate
double FrameletRate() const
Return the time in seconds between framelets.
Definition: PushFrameCameraDetectorMap.cpp:256
Isis::Camera::ParentLines
int ParentLines() const
Returns the number of lines in the parent alphacube.
Definition: Camera.cpp:2806
Isis::PushFrameCameraDetectorMap::TotalFramelets
int TotalFramelets() const
Return the total number of framelets including padding.
Definition: PushFrameCameraDetectorMap.cpp:381
Isis::PushFrameCameraDetectorMap::SetFrameletOrderReversed
void SetFrameletOrderReversed(bool frameletOrderReversed, int nframelets)
Changes the direction of the framelets.
Definition: PushFrameCameraDetectorMap.cpp:340
Isis::PushFrameCameraDetectorMap::SetFramelet
void SetFramelet(int framelet, const double deltaT=0)
This method changes the current framelet.
Definition: PushFrameCameraDetectorMap.cpp:182
Isis::PushFrameCameraDetectorMap::Framelet
int Framelet()
This method returns the current framelet.
Definition: PushFrameCameraDetectorMap.cpp:292
Isis::PushFrameCameraDetectorMap::SetFrameletsGeometricallyFlipped
void SetFrameletsGeometricallyFlipped(bool frameletsFlipped)
Mirrors the each framelet in the file.
Definition: PushFrameCameraDetectorMap.cpp:359
Isis::CameraDetectorMap::SetParent
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
Definition: CameraDetectorMap.cpp:63
Isis::PushFrameCameraDetectorMap::FrameletOffset
int FrameletOffset() const
Return the frame offset.
Definition: PushFrameCameraDetectorMap.cpp:281
Isis::PushFrameCameraDetectorMap::exposureDuration
virtual double exposureDuration(const double sample, const double line, const int band) const
This virtual method is for returning the exposure duration of a given pixel.
Definition: PushFrameCameraDetectorMap.cpp:439
CameraDetectorMap.h
Isis::CameraDetectorMap::p_parentSample
double p_parentSample
The parent sample calculated from the detector.
Definition: CameraDetectorMap.h:140
Isis::Camera
Definition: Camera.h:236
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::PushFrameCameraDetectorMap::frameletHeight
int frameletHeight() const
This returns how many lines are considered a single framelet.
Definition: PushFrameCameraDetectorMap.cpp:414
Isis::PushFrameCameraDetectorMap::SetDetector
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
Definition: PushFrameCameraDetectorMap.cpp:59
Isis::PushFrameCameraDetectorMap::frameletLine
double frameletLine() const
This returns the calculated framelet line.
Definition: PushFrameCameraDetectorMap.cpp:403
Isis::PushFrameCameraDetectorMap::GetBandFirstDetectorLine
int GetBandFirstDetectorLine()
Return the starting line in the detector for the current band.
Definition: PushFrameCameraDetectorMap.cpp:319
Isis::PushFrameCameraDetectorMap::~PushFrameCameraDetectorMap
virtual ~PushFrameCameraDetectorMap()
Destructor.
Definition: PushFrameCameraDetectorMap.cpp:43
CameraFocalPlaneMap.h
Isis::PushFrameCameraDetectorMap::SetFrameletRate
void SetFrameletRate(const double frameletRate)
Reset the frame rate.
Definition: PushFrameCameraDetectorMap.cpp:244
Isis::CameraDetectorMap::SetDetector
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
Definition: CameraDetectorMap.cpp:43
Isis::CameraDetectorMap::LineScaleFactor
virtual double LineScaleFactor() const
Return scaling factor for computing line resolution.
Definition: CameraDetectorMap.cpp:183
Isis::CameraDetectorMap::p_camera
Camera * p_camera
Pointer to the camera.
Definition: CameraDetectorMap.h:138
PushFrameCameraDetectorMap.h
Isis::PushFrameCameraDetectorMap::SetParent
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
Definition: PushFrameCameraDetectorMap.cpp:117
Isis::PushFrameCameraDetectorMap::SetBandFirstDetectorLine
void SetBandFirstDetectorLine(int firstLine)
Change the starting line in the detector based on band.
Definition: PushFrameCameraDetectorMap.cpp:308
Isis::PushFrameCameraDetectorMap::frameletSample
double frameletSample() const
This returns the calculated framelet sample.
Definition: PushFrameCameraDetectorMap.cpp:392
Isis::CameraDetectorMap::p_detectorSample
double p_detectorSample
Detector coordinate sample value.
Definition: CameraDetectorMap.h:143
Isis::PushFrameCameraDetectorMap::SetStartTime
void SetStartTime(const double etStart)
Reset the starting ephemeris time.
Definition: PushFrameCameraDetectorMap.cpp:215
iTime.h
Isis::PushFrameCameraDetectorMap::PushFrameCameraDetectorMap
PushFrameCameraDetectorMap(Camera *parent, const double etStart, const double frameletRate, int frameletHeight)
Construct a detector map for push frame cameras.
Definition: PushFrameCameraDetectorMap.cpp:28
Isis::PushFrameCameraDetectorMap
Convert between parent image coordinates and detector coordinates.
Definition: PushFrameCameraDetectorMap.h:45
Isis::PushFrameCameraDetectorMap::StartEphemerisTime
double StartEphemerisTime() const
This returns the starting ET of this band.
Definition: PushFrameCameraDetectorMap.cpp:370
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::PushFrameCameraDetectorMap::SetExposureDuration
void SetExposureDuration(double exposureDuration)
Change the exposure duration in seconds.
Definition: PushFrameCameraDetectorMap.cpp:229
Isis::PushFrameCameraDetectorMap::timeAscendingFramelets
bool timeAscendingFramelets()
Returns if the framelets are reversed from top-to-bottom.
Definition: PushFrameCameraDetectorMap.cpp:425