Isis Developer Reference
Isis::PixelFOV Class Reference

This class defines a field of view. More...

#include <PixelFOV.h>

Collaboration diagram for Isis::PixelFOV:
Collaboration graph

Public Member Functions

 PixelFOV ()
 Constructs an empty PixelFOV object.
 
 PixelFOV (const PixelFOV &other)
 
 ~PixelFOV ()
 Destroys a PixelFOV object/.
 
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.
 

Detailed Description

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().

Author
2013-02-15 Tracie Sucharski

Constructor & Destructor Documentation

◆ PixelFOV() [1/2]

Isis::PixelFOV::PixelFOV ( )

Constructs an empty PixelFOV object.

◆ PixelFOV() [2/2]

Isis::PixelFOV::PixelFOV ( const PixelFOV & other)

◆ ~PixelFOV()

Isis::PixelFOV::~PixelFOV ( )

Destroys a PixelFOV object/.

Member Function Documentation

◆ latLonVertices()

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.

Parameters
cameraA pointer to the cube's camera.
sampleThe sample of the pixel.
lineThe line of the pixel.
numIfovsThe number of instantaneous fovs that will be combined. Defaults to 1, ie. an instantaneous fov.
Returns
QList<QList<QPointF>> A list of points defining the boundary of the full fov. If the pixel crosses the 360/0 boundary, this will contain 2 lists of points, one on each side of the boundary.
Exceptions
IException::Programmer"The number of instantaneous field of views must be a positive integer."

References _FILEINFO_, Isis::Camera::exposureDuration(), Isis::IException::Programmer, Isis::Camera::SetImage(), and Isis::IException::Unknown.


The documentation for this class was generated from the following files: