Isis Developer Reference
|
This class defines a field of view. More...
#include <PixelFOV.h>
Public Member Functions | |
PixelFOV () | |
Constructs an empty PixelFOV object. More... | |
PixelFOV (const PixelFOV &other) | |
~PixelFOV () | |
Destroys a PixelFOV object/. More... | |
QList< QList< QPointF > > | latLonVertices (Camera &camera, const double sample, const double line, const int numIfovs=1) const |
Produces an fov for the given line sample. More... | |
This class defines a field of view.
This class defines a field of view for a given camera. Field of views are returned as point clouds defining the boundary of the field of view. The number of vertices is instrment dependent. The default Camera::PixelIfovOffsets assumes a square pixel and simply returns the offsets of the four corner vertices in microns from the current pixel center. If the instruments pixels are not square, the Camera::PixelIfov will need to be implemented in the the instrument's camera model. For an example, see VimsCamera::PixelIfov().
Isis::PixelFOV::PixelFOV | ( | ) |
Constructs an empty PixelFOV object.
Isis::PixelFOV::PixelFOV | ( | const PixelFOV & | other | ) |
Isis::PixelFOV::~PixelFOV | ( | ) |
Destroys a PixelFOV object/.
QList< QList< QPointF > > Isis::PixelFOV::latLonVertices | ( | Camera & | camera, |
const double | sample, | ||
const double | line, | ||
const int | numIfovs = 1 |
||
) | const |
Produces an fov for the given line sample.
This produces instantaneous fovs at several times during a pixel's exposure. Then, it combines those instantaneous fovs into a full fov for the entire duration of the pixel. By default produces an instantaneous fov. A full fov can be produced by using numIfovs > 1.
camera | A pointer to the cube's camera. |
sample | The sample of the pixel. |
line | The line of the pixel. |
numIfovs | The number of instantaneous fovs that will be combined. Defaults to 1, ie. an instantaneous fov. |
IException::Programmer | "The number of instantaneous field of views must be a positive integer." |
References _FILEINFO_, Isis::Camera::exposureDuration(), and Isis::Camera::SetImage().