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
12using namespace std;
13namespace Isis {
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
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
Definition Camera.cpp:3093
IO Handler for Isis Cubes.
Definition Cube.h:168
FramingCamera(Cube &cube)
Constructs the FramingCamera object.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)=0
Returns the shutter open and close times.
virtual iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
Definition Spice.cpp:891
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
Namespace for the standard library.