Isis 3 Programmer Reference
FramingCamera.cpp
1
6
/* SPDX-License-Identifier: CC0-1.0 */
7
#include "FramingCamera.h"
8
9
#include "iTime.h"
10
#include "Pvl.h"
11
12
using namespace
std
;
13
namespace
Isis
{
19
FramingCamera::FramingCamera(
Cube
&cube) :
Camera
(cube) {
20
}
21
42
pair<iTime, iTime>
FramingCamera::ShutterOpenCloseTimes
(
double
time,
43
double
exposureDuration) {
44
pair<iTime, iTime> shuttertimes;
45
// assume the time passed in is the shutter open time
46
shuttertimes.first =
time
;
47
// add exposure duration to get the shutter close time
48
shuttertimes.second =
time
+
exposureDuration
;
49
return
shuttertimes;
50
}
51
};
52
Isis::Camera::exposureDuration
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
Definition:
Camera.cpp:3063
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::FramingCamera::ShutterOpenCloseTimes
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)=0
Returns the shutter open and close times.
Definition:
FramingCamera.cpp:42
Isis::Camera
Definition:
Camera.h:236
Isis::Cube
IO Handler for Isis Cubes.
Definition:
Cube.h:167
std
Namespace for the standard library.
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
src
base
objs
FramingCamera
FramingCamera.cpp