Isis Developer Reference
Isis::CameraBuffers Class Reference

This class is used to manage buffers for calculating camera related information, such as angles, radii, and resolution. More...

#include <CubeCalculator.h>

Collaboration diagram for Isis::CameraBuffers:
Collaboration graph

Public Member Functions

 CameraBuffers (Camera *camera)
 Constructs a CameraBuffers object.
 
 ~CameraBuffers ()
 Destroys the CameraBuffers.
 
void enablePhaBuffer ()
 Enables the phase angle buffer for use.
 
void enableInaBuffer ()
 Enables the incidence angle buffer for use.
 
void enableEmaBuffer ()
 Enables the emission angle buffer for use.
 
void enableLatBuffer ()
 Enables the latitude buffer for use.
 
void enableLonBuffer ()
 Enables the longitude buffer for use.
 
void enableResBuffer ()
 Enables the resolution buffer for use.
 
void enableRadiusBuffer ()
 Enables the radius buffer for use.
 
void enablePhalBuffer ()
 Enables the local phase angle buffer for use.
 
void enableInalBuffer ()
 Enables the local incidence angle buffer for use.
 
void enableEmalBuffer ()
 Enables the local emission angle buffer for use.
 
void enablePhacBuffer ()
 Enables the center phase angle buffer for use.
 
void enableInacBuffer ()
 Enables the center incidence angle buffer for use.
 
void enableEmacBuffer ()
 Enables the center emission angle buffer for use.
 
QVector< double > * phaBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * inaBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * emaBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * latBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * lonBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * resBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * radiusBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * phalBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * inalBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * emalBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * phacBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * inacBuffer (int currentLine, int ns, int currentBand)
 
QVector< double > * emacBuffer (int currentLine, int ns, int currentBand)
 

Detailed Description

This class is used to manage buffers for calculating camera related information, such as angles, radii, and resolution.

It uses internal buffers for each of the camera related operators that CubeCalculator recognizes as valid tokens. Each of the enableBuffer methods can be used to dynamically allocate buffers for the camera operators that are being pushed onto the CubeCalculator. Buffers can be loaded with appropriate camera data using the accessor methods.

Note that memory is not allocated for buffers that are not enabled.

Author
2012-02-02 Jeff Anderson

Constructor & Destructor Documentation

◆ CameraBuffers()

Isis::CameraBuffers::CameraBuffers ( Camera * camera)

Constructs a CameraBuffers object.

Parameters
cameraPointer to the Camera the CameraBuffers will use.

◆ ~CameraBuffers()

Isis::CameraBuffers::~CameraBuffers ( )

Destroys the CameraBuffers.

Member Function Documentation

◆ emaBuffer()

QVector< double > * Isis::CameraBuffers::emaBuffer ( int currentLine,
int ns,
int currentBand )

◆ emacBuffer()

QVector< double > * Isis::CameraBuffers::emacBuffer ( int currentLine,
int ns,
int currentBand )

◆ emalBuffer()

QVector< double > * Isis::CameraBuffers::emalBuffer ( int currentLine,
int ns,
int currentBand )

◆ enableEmaBuffer()

void Isis::CameraBuffers::enableEmaBuffer ( )

Enables the emission angle buffer for use.

◆ enableEmacBuffer()

void Isis::CameraBuffers::enableEmacBuffer ( )

Enables the center emission angle buffer for use.

◆ enableEmalBuffer()

void Isis::CameraBuffers::enableEmalBuffer ( )

Enables the local emission angle buffer for use.

◆ enableInaBuffer()

void Isis::CameraBuffers::enableInaBuffer ( )

Enables the incidence angle buffer for use.

◆ enableInacBuffer()

void Isis::CameraBuffers::enableInacBuffer ( )

Enables the center incidence angle buffer for use.

◆ enableInalBuffer()

void Isis::CameraBuffers::enableInalBuffer ( )

Enables the local incidence angle buffer for use.

◆ enableLatBuffer()

void Isis::CameraBuffers::enableLatBuffer ( )

Enables the latitude buffer for use.

◆ enableLonBuffer()

void Isis::CameraBuffers::enableLonBuffer ( )

Enables the longitude buffer for use.

◆ enablePhaBuffer()

void Isis::CameraBuffers::enablePhaBuffer ( )

Enables the phase angle buffer for use.

◆ enablePhacBuffer()

void Isis::CameraBuffers::enablePhacBuffer ( )

Enables the center phase angle buffer for use.

◆ enablePhalBuffer()

void Isis::CameraBuffers::enablePhalBuffer ( )

Enables the local phase angle buffer for use.

◆ enableRadiusBuffer()

void Isis::CameraBuffers::enableRadiusBuffer ( )

Enables the radius buffer for use.

◆ enableResBuffer()

void Isis::CameraBuffers::enableResBuffer ( )

Enables the resolution buffer for use.

◆ inaBuffer()

QVector< double > * Isis::CameraBuffers::inaBuffer ( int currentLine,
int ns,
int currentBand )

◆ inacBuffer()

QVector< double > * Isis::CameraBuffers::inacBuffer ( int currentLine,
int ns,
int currentBand )

◆ inalBuffer()

QVector< double > * Isis::CameraBuffers::inalBuffer ( int currentLine,
int ns,
int currentBand )

◆ latBuffer()

QVector< double > * Isis::CameraBuffers::latBuffer ( int currentLine,
int ns,
int currentBand )

◆ lonBuffer()

QVector< double > * Isis::CameraBuffers::lonBuffer ( int currentLine,
int ns,
int currentBand )

◆ phaBuffer()

QVector< double > * Isis::CameraBuffers::phaBuffer ( int currentLine,
int ns,
int currentBand )

◆ phacBuffer()

QVector< double > * Isis::CameraBuffers::phacBuffer ( int currentLine,
int ns,
int currentBand )

◆ phalBuffer()

QVector< double > * Isis::CameraBuffers::phalBuffer ( int currentLine,
int ns,
int currentBand )

◆ radiusBuffer()

QVector< double > * Isis::CameraBuffers::radiusBuffer ( int currentLine,
int ns,
int currentBand )

◆ resBuffer()

QVector< double > * Isis::CameraBuffers::resBuffer ( int currentLine,
int ns,
int currentBand )

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