Isis 3 Programmer Reference
|
This class is used to manage buffers for calculating camera related information, such as angles, radii, and resolution. More...
#include <CubeCalculator.h>
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) |
Private Member Functions | |
void | loadBuffers (int currentLine, int ns, int currentBand) |
Private Attributes | |
Camera * | m_camera |
Camera to obtain camera-related information from. | |
int | m_lastLine |
The number of the last line loaded into the enabled camera buffers. | |
QVector< double > * | m_phaBuffer |
Phase angle buffer. | |
QVector< double > * | m_inaBuffer |
Incidence angle buffer. | |
QVector< double > * | m_emaBuffer |
Emission angle buffer. | |
QVector< double > * | m_phalBuffer |
Local phase angle buffer. | |
QVector< double > * | m_inalBuffer |
Local incidence angle buffer. | |
QVector< double > * | m_emalBuffer |
Local emission angle buffer. | |
QVector< double > * | m_phacBuffer |
Center phase angle buffer. | |
QVector< double > * | m_inacBuffer |
Center incidence angle buffer. | |
QVector< double > * | m_emacBuffer |
Center emission angle buffer. | |
QVector< double > * | m_resBuffer |
Resolution buffer. | |
QVector< double > * | m_latBuffer |
Latitude buffer. | |
QVector< double > * | m_lonBuffer |
Longitude buffer. | |
QVector< double > * | m_radiusBuffer |
Radius buffer. | |
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.
Definition at line 187 of file CubeCalculator.h.
Isis::CameraBuffers::CameraBuffers | ( | Camera * | camera | ) |
Constructs a CameraBuffers object.
camera | Pointer to the Camera the CameraBuffers will use. |
Definition at line 933 of file CubeCalculator.cpp.
References m_camera, m_emaBuffer, m_emacBuffer, m_emalBuffer, m_inaBuffer, m_inacBuffer, m_inalBuffer, m_lastLine, m_latBuffer, m_lonBuffer, m_phaBuffer, m_phacBuffer, m_phalBuffer, m_radiusBuffer, and m_resBuffer.
Isis::CameraBuffers::~CameraBuffers | ( | ) |
Destroys the CameraBuffers.
Definition at line 956 of file CubeCalculator.cpp.
References m_emaBuffer, m_emacBuffer, m_emalBuffer, m_inaBuffer, m_inacBuffer, m_inalBuffer, m_latBuffer, m_lonBuffer, m_phaBuffer, m_phacBuffer, m_phalBuffer, m_radiusBuffer, and m_resBuffer.
QVector< double > * Isis::CameraBuffers::emaBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1077 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::emacBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1137 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::emalBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1119 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableEmaBuffer | ( | ) |
Enables the emission angle buffer for use.
Definition at line 1000 of file CubeCalculator.cpp.
References m_emaBuffer.
void Isis::CameraBuffers::enableEmacBuffer | ( | ) |
Enables the center emission angle buffer for use.
Definition at line 1060 of file CubeCalculator.cpp.
References m_emacBuffer.
void Isis::CameraBuffers::enableEmalBuffer | ( | ) |
Enables the local emission angle buffer for use.
Definition at line 1042 of file CubeCalculator.cpp.
References m_emalBuffer.
void Isis::CameraBuffers::enableInaBuffer | ( | ) |
Enables the incidence angle buffer for use.
Definition at line 994 of file CubeCalculator.cpp.
References m_inaBuffer.
void Isis::CameraBuffers::enableInacBuffer | ( | ) |
Enables the center incidence angle buffer for use.
Definition at line 1054 of file CubeCalculator.cpp.
References m_inacBuffer.
void Isis::CameraBuffers::enableInalBuffer | ( | ) |
Enables the local incidence angle buffer for use.
Definition at line 1036 of file CubeCalculator.cpp.
References m_inalBuffer.
void Isis::CameraBuffers::enableLatBuffer | ( | ) |
Enables the latitude buffer for use.
Definition at line 1006 of file CubeCalculator.cpp.
References m_latBuffer.
void Isis::CameraBuffers::enableLonBuffer | ( | ) |
Enables the longitude buffer for use.
Definition at line 1012 of file CubeCalculator.cpp.
References m_lonBuffer.
void Isis::CameraBuffers::enablePhaBuffer | ( | ) |
Enables the phase angle buffer for use.
Definition at line 988 of file CubeCalculator.cpp.
References m_phaBuffer.
void Isis::CameraBuffers::enablePhacBuffer | ( | ) |
Enables the center phase angle buffer for use.
Definition at line 1048 of file CubeCalculator.cpp.
References m_phacBuffer.
void Isis::CameraBuffers::enablePhalBuffer | ( | ) |
Enables the local phase angle buffer for use.
Definition at line 1030 of file CubeCalculator.cpp.
References m_phalBuffer.
void Isis::CameraBuffers::enableRadiusBuffer | ( | ) |
Enables the radius buffer for use.
Definition at line 1024 of file CubeCalculator.cpp.
References m_radiusBuffer.
void Isis::CameraBuffers::enableResBuffer | ( | ) |
Enables the resolution buffer for use.
Definition at line 1018 of file CubeCalculator.cpp.
References m_resBuffer.
QVector< double > * Isis::CameraBuffers::inaBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1071 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::inacBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1131 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::inalBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1113 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::latBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1083 of file CubeCalculator.cpp.
|
private |
Definition at line 1143 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::lonBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1089 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::phaBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1065 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::phacBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1125 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::phalBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1107 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::radiusBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1101 of file CubeCalculator.cpp.
QVector< double > * Isis::CameraBuffers::resBuffer | ( | int | currentLine, |
int | ns, | ||
int | currentBand ) |
Definition at line 1095 of file CubeCalculator.cpp.
|
private |
Camera to obtain camera-related information from.
Definition at line 225 of file CubeCalculator.h.
Referenced by CameraBuffers().
|
private |
Emission angle buffer.
Definition at line 230 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableEmaBuffer(), and ~CameraBuffers().
|
private |
Center emission angle buffer.
Definition at line 236 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableEmacBuffer(), and ~CameraBuffers().
|
private |
Local emission angle buffer.
Definition at line 233 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableEmalBuffer(), and ~CameraBuffers().
|
private |
Incidence angle buffer.
Definition at line 229 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableInaBuffer(), and ~CameraBuffers().
|
private |
Center incidence angle buffer.
Definition at line 235 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableInacBuffer(), and ~CameraBuffers().
|
private |
Local incidence angle buffer.
Definition at line 232 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableInalBuffer(), and ~CameraBuffers().
|
private |
The number of the last line loaded into the enabled camera buffers.
Definition at line 226 of file CubeCalculator.h.
Referenced by CameraBuffers().
|
private |
Latitude buffer.
Definition at line 238 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableLatBuffer(), and ~CameraBuffers().
|
private |
Longitude buffer.
Definition at line 239 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableLonBuffer(), and ~CameraBuffers().
|
private |
Phase angle buffer.
Definition at line 228 of file CubeCalculator.h.
Referenced by CameraBuffers(), enablePhaBuffer(), and ~CameraBuffers().
|
private |
Center phase angle buffer.
Definition at line 234 of file CubeCalculator.h.
Referenced by CameraBuffers(), enablePhacBuffer(), and ~CameraBuffers().
|
private |
Local phase angle buffer.
Definition at line 231 of file CubeCalculator.h.
Referenced by CameraBuffers(), enablePhalBuffer(), and ~CameraBuffers().
|
private |
Radius buffer.
Definition at line 240 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableRadiusBuffer(), and ~CameraBuffers().
|
private |
Resolution buffer.
Definition at line 237 of file CubeCalculator.h.
Referenced by CameraBuffers(), enableResBuffer(), and ~CameraBuffers().