Isis 3 Programmer 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. More...
 
 ~CameraBuffers ()
 Destroys the CameraBuffers. More...
 
void enablePhaBuffer ()
 Enables the phase angle buffer for use. More...
 
void enableInaBuffer ()
 Enables the incidence angle buffer for use. More...
 
void enableEmaBuffer ()
 Enables the emission angle buffer for use. More...
 
void enableLatBuffer ()
 Enables the latitude buffer for use. More...
 
void enableLonBuffer ()
 Enables the longitude buffer for use. More...
 
void enableResBuffer ()
 Enables the resolution buffer for use. More...
 
void enableRadiusBuffer ()
 Enables the radius buffer for use. More...
 
void enablePhalBuffer ()
 Enables the local phase angle buffer for use. More...
 
void enableInalBuffer ()
 Enables the local incidence angle buffer for use. More...
 
void enableEmalBuffer ()
 Enables the local emission angle buffer for use. More...
 
void enablePhacBuffer ()
 Enables the center phase angle buffer for use. More...
 
void enableInacBuffer ()
 Enables the center incidence angle buffer for use. More...
 
void enableEmacBuffer ()
 Enables the center emission angle buffer for use. More...
 
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)
 

Private Member Functions

void loadBuffers (int currentLine, int ns, int currentBand)
 

Private Attributes

Cameram_camera
 Camera to obtain camera-related information from. More...
 
int m_lastLine
 The number of the last line loaded into the enabled camera buffers. More...
 
QVector< double > * m_phaBuffer
 Phase angle buffer. More...
 
QVector< double > * m_inaBuffer
 Incidence angle buffer. More...
 
QVector< double > * m_emaBuffer
 Emission angle buffer. More...
 
QVector< double > * m_phalBuffer
 Local phase angle buffer. More...
 
QVector< double > * m_inalBuffer
 Local incidence angle buffer. More...
 
QVector< double > * m_emalBuffer
 Local emission angle buffer. More...
 
QVector< double > * m_phacBuffer
 Center phase angle buffer. More...
 
QVector< double > * m_inacBuffer
 Center incidence angle buffer. More...
 
QVector< double > * m_emacBuffer
 Center emission angle buffer. More...
 
QVector< double > * m_resBuffer
 Resolution buffer. More...
 
QVector< double > * m_latBuffer
 Latitude buffer. More...
 
QVector< double > * m_lonBuffer
 Longitude buffer. More...
 
QVector< double > * m_radiusBuffer
 Radius buffer. More...
 

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

Definition at line 202 of file CubeCalculator.h.

Constructor & Destructor Documentation

◆ CameraBuffers()

Isis::CameraBuffers::CameraBuffers ( Camera camera)

Constructs a CameraBuffers object.

Parameters
cameraPointer to the Camera the CameraBuffers will use.

Definition at line 948 of file CubeCalculator.cpp.

◆ ~CameraBuffers()

Isis::CameraBuffers::~CameraBuffers ( )

Destroys the CameraBuffers.

Definition at line 971 of file CubeCalculator.cpp.

Member Function Documentation

◆ enableEmaBuffer()

void Isis::CameraBuffers::enableEmaBuffer ( )

Enables the emission angle buffer for use.

Definition at line 1015 of file CubeCalculator.cpp.

◆ enableEmacBuffer()

void Isis::CameraBuffers::enableEmacBuffer ( )

Enables the center emission angle buffer for use.

Definition at line 1075 of file CubeCalculator.cpp.

◆ enableEmalBuffer()

void Isis::CameraBuffers::enableEmalBuffer ( )

Enables the local emission angle buffer for use.

Definition at line 1057 of file CubeCalculator.cpp.

◆ enableInaBuffer()

void Isis::CameraBuffers::enableInaBuffer ( )

Enables the incidence angle buffer for use.

Definition at line 1009 of file CubeCalculator.cpp.

◆ enableInacBuffer()

void Isis::CameraBuffers::enableInacBuffer ( )

Enables the center incidence angle buffer for use.

Definition at line 1069 of file CubeCalculator.cpp.

◆ enableInalBuffer()

void Isis::CameraBuffers::enableInalBuffer ( )

Enables the local incidence angle buffer for use.

Definition at line 1051 of file CubeCalculator.cpp.

◆ enableLatBuffer()

void Isis::CameraBuffers::enableLatBuffer ( )

Enables the latitude buffer for use.

Definition at line 1021 of file CubeCalculator.cpp.

◆ enableLonBuffer()

void Isis::CameraBuffers::enableLonBuffer ( )

Enables the longitude buffer for use.

Definition at line 1027 of file CubeCalculator.cpp.

◆ enablePhaBuffer()

void Isis::CameraBuffers::enablePhaBuffer ( )

Enables the phase angle buffer for use.

Definition at line 1003 of file CubeCalculator.cpp.

◆ enablePhacBuffer()

void Isis::CameraBuffers::enablePhacBuffer ( )

Enables the center phase angle buffer for use.

Definition at line 1063 of file CubeCalculator.cpp.

◆ enablePhalBuffer()

void Isis::CameraBuffers::enablePhalBuffer ( )

Enables the local phase angle buffer for use.

Definition at line 1045 of file CubeCalculator.cpp.

◆ enableRadiusBuffer()

void Isis::CameraBuffers::enableRadiusBuffer ( )

Enables the radius buffer for use.

Definition at line 1039 of file CubeCalculator.cpp.

◆ enableResBuffer()

void Isis::CameraBuffers::enableResBuffer ( )

Enables the resolution buffer for use.

Definition at line 1033 of file CubeCalculator.cpp.

Member Data Documentation

◆ m_camera

Camera* Isis::CameraBuffers::m_camera
private

Camera to obtain camera-related information from.

Definition at line 240 of file CubeCalculator.h.

◆ m_emaBuffer

QVector<double>* Isis::CameraBuffers::m_emaBuffer
private

Emission angle buffer.

Definition at line 245 of file CubeCalculator.h.

◆ m_emacBuffer

QVector<double>* Isis::CameraBuffers::m_emacBuffer
private

Center emission angle buffer.

Definition at line 251 of file CubeCalculator.h.

◆ m_emalBuffer

QVector<double>* Isis::CameraBuffers::m_emalBuffer
private

Local emission angle buffer.

Definition at line 248 of file CubeCalculator.h.

◆ m_inaBuffer

QVector<double>* Isis::CameraBuffers::m_inaBuffer
private

Incidence angle buffer.

Definition at line 244 of file CubeCalculator.h.

◆ m_inacBuffer

QVector<double>* Isis::CameraBuffers::m_inacBuffer
private

Center incidence angle buffer.

Definition at line 250 of file CubeCalculator.h.

◆ m_inalBuffer

QVector<double>* Isis::CameraBuffers::m_inalBuffer
private

Local incidence angle buffer.

Definition at line 247 of file CubeCalculator.h.

◆ m_lastLine

int Isis::CameraBuffers::m_lastLine
private

The number of the last line loaded into the enabled camera buffers.

Definition at line 241 of file CubeCalculator.h.

◆ m_latBuffer

QVector<double>* Isis::CameraBuffers::m_latBuffer
private

Latitude buffer.

Definition at line 253 of file CubeCalculator.h.

◆ m_lonBuffer

QVector<double>* Isis::CameraBuffers::m_lonBuffer
private

Longitude buffer.

Definition at line 254 of file CubeCalculator.h.

◆ m_phaBuffer

QVector<double>* Isis::CameraBuffers::m_phaBuffer
private

Phase angle buffer.

Definition at line 243 of file CubeCalculator.h.

◆ m_phacBuffer

QVector<double>* Isis::CameraBuffers::m_phacBuffer
private

Center phase angle buffer.

Definition at line 249 of file CubeCalculator.h.

◆ m_phalBuffer

QVector<double>* Isis::CameraBuffers::m_phalBuffer
private

Local phase angle buffer.

Definition at line 246 of file CubeCalculator.h.

◆ m_radiusBuffer

QVector<double>* Isis::CameraBuffers::m_radiusBuffer
private

Radius buffer.

Definition at line 255 of file CubeCalculator.h.

◆ m_resBuffer

QVector<double>* Isis::CameraBuffers::m_resBuffer
private

Resolution buffer.

Definition at line 252 of file CubeCalculator.h.


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