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. 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 | |
Camera * | m_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... | |
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 202 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 948 of file CubeCalculator.cpp.
Isis::CameraBuffers::~CameraBuffers | ( | ) |
Destroys the CameraBuffers.
Definition at line 971 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableEmaBuffer | ( | ) |
Enables the emission angle buffer for use.
Definition at line 1015 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableEmacBuffer | ( | ) |
Enables the center emission angle buffer for use.
Definition at line 1075 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableEmalBuffer | ( | ) |
Enables the local emission angle buffer for use.
Definition at line 1057 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableInaBuffer | ( | ) |
Enables the incidence angle buffer for use.
Definition at line 1009 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableInacBuffer | ( | ) |
Enables the center incidence angle buffer for use.
Definition at line 1069 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableInalBuffer | ( | ) |
Enables the local incidence angle buffer for use.
Definition at line 1051 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableLatBuffer | ( | ) |
Enables the latitude buffer for use.
Definition at line 1021 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableLonBuffer | ( | ) |
Enables the longitude buffer for use.
Definition at line 1027 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enablePhaBuffer | ( | ) |
Enables the phase angle buffer for use.
Definition at line 1003 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enablePhacBuffer | ( | ) |
Enables the center phase angle buffer for use.
Definition at line 1063 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enablePhalBuffer | ( | ) |
Enables the local phase angle buffer for use.
Definition at line 1045 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableRadiusBuffer | ( | ) |
Enables the radius buffer for use.
Definition at line 1039 of file CubeCalculator.cpp.
void Isis::CameraBuffers::enableResBuffer | ( | ) |
Enables the resolution buffer for use.
Definition at line 1033 of file CubeCalculator.cpp.
|
private |
Camera to obtain camera-related information from.
Definition at line 240 of file CubeCalculator.h.
|
private |
Emission angle buffer.
Definition at line 245 of file CubeCalculator.h.
|
private |
Center emission angle buffer.
Definition at line 251 of file CubeCalculator.h.
|
private |
Local emission angle buffer.
Definition at line 248 of file CubeCalculator.h.
|
private |
Incidence angle buffer.
Definition at line 244 of file CubeCalculator.h.
|
private |
Center incidence angle buffer.
Definition at line 250 of file CubeCalculator.h.
|
private |
Local incidence angle buffer.
Definition at line 247 of file CubeCalculator.h.
|
private |
The number of the last line loaded into the enabled camera buffers.
Definition at line 241 of file CubeCalculator.h.
|
private |
Latitude buffer.
Definition at line 253 of file CubeCalculator.h.
|
private |
Longitude buffer.
Definition at line 254 of file CubeCalculator.h.
|
private |
Phase angle buffer.
Definition at line 243 of file CubeCalculator.h.
|
private |
Center phase angle buffer.
Definition at line 249 of file CubeCalculator.h.
|
private |
Local phase angle buffer.
Definition at line 246 of file CubeCalculator.h.
|
private |
Radius buffer.
Definition at line 255 of file CubeCalculator.h.
|
private |
Resolution buffer.
Definition at line 252 of file CubeCalculator.h.