#include <SpectralPositioningWidget.qo.h>
|
enum | PositionTypeIndex {
POINT,
BOX,
END_POSITION_TYPE
} |
|
enum | UnitIndex {
RADIAN,
PIXEL,
END_UNIT
} |
|
enum | StackPages {
POINT_PIXEL,
POINT_RA_DEC,
BOX_PIXEL,
BOX_RA_DEC
} |
|
enum | BoxSpecificationIndex {
TL_LENGTH_HEIGHT,
CENTER_LENGTH_HEIGHT,
TL_BR,
BL_TR,
TL_LENGTH_HEIGHT_WORLD,
CENTER_LENGTH_HEIGHT_WORLD,
TL_BR_WORLD,
BL_TR_WORLD,
END_SPEC
} |
|
|
void | updateUI () |
|
void | updateUIWorldBox () |
|
void | updateUIWorldPoint () |
|
void | updateUIPixelBox () |
|
void | updateUIPixelPoint () |
|
void | initSpectrumPosition () |
| Initializes the spectrum positioning tab. More...
|
|
void | pageUpdate (int selectionIndex, int unitIndex) |
|
bool | populateWorlds (const QList< int > &pixelX, const QList< int > &pixelY, QList< double > &worldX, QList< double > &worldY) |
|
bool | fillPointWorld (QList< double > &worldX, QList< double > &worldY) |
|
void | fillPointPixel (QList< int > &pixelX, QList< int > &pixelY) const |
|
bool | fillBoxPixel (QList< int > &pixelX, QList< int > &pixelY) |
|
bool | fillBoxWorld (QList< double > &worldX, QList< double > &worldY) |
|
bool | fillBasedOnBoxSpecification (const double *const firstXPix, const double *const firstYPix, const double *const secondXPix, const double *const secondYPix, double *const blcxPix, double *const blcyPix, double *const trcxPix, double *const trcYPix, bool pixels=true) |
|
double | toRadians (bool &valid, QLineEdit *lineEdit) |
|
void | switchBoxLabels (int index, int pageIndex, QLabel *const x1Label, QLabel *const y1Label, QLabel *const x2Label, QLabel *const y2Label) |
|
void | setPixelLineEdits (double topLeft, double bottomLeft, double topRight, double bottomRight) |
|
void | setWorldEdits (double topLeft, double bottomLeft, double topRight, double bottomRight) |
|
void | adjustPoint (const casacore::Vector< double > &newX, const casacore::Vector< double > &newY, casacore::Vector< double > &xValues, casacore::Vector< double > &yValues) |
|
Enumerator |
---|
TL_LENGTH_HEIGHT |
|
CENTER_LENGTH_HEIGHT |
|
TL_BR |
|
BL_TR |
|
TL_LENGTH_HEIGHT_WORLD |
|
CENTER_LENGTH_HEIGHT_WORLD |
|
TL_BR_WORLD |
|
BL_TR_WORLD |
|
END_SPEC |
|
Definition at line 71 of file SpectralPositioningWidget.qo.h.
casa::SpectralPositioningWidget::SpectralPositioningWidget |
( |
QWidget * |
parent = 0 | ) |
|
casa::SpectralPositioningWidget::~SpectralPositioningWidget |
( |
| ) |
|
void casa::SpectralPositioningWidget::boxSpecChanged |
( |
int |
index | ) |
|
|
privateslot |
bool casa::SpectralPositioningWidget::fillBasedOnBoxSpecification |
( |
const double *const |
firstXPix, |
|
|
const double *const |
firstYPix, |
|
|
const double *const |
secondXPix, |
|
|
const double *const |
secondYPix, |
|
|
double *const |
blcxPix, |
|
|
double *const |
blcyPix, |
|
|
double *const |
trcxPix, |
|
|
double *const |
trcYPix, |
|
|
bool |
pixels = true |
|
) |
| |
|
private |
bool casa::SpectralPositioningWidget::fillBoxPixel |
( |
QList< int > & |
pixelX, |
|
|
QList< int > & |
pixelY |
|
) |
| |
|
private |
bool casa::SpectralPositioningWidget::fillBoxWorld |
( |
QList< double > & |
worldX, |
|
|
QList< double > & |
worldY |
|
) |
| |
|
private |
void casa::SpectralPositioningWidget::fillPointPixel |
( |
QList< int > & |
pixelX, |
|
|
QList< int > & |
pixelY |
|
) |
| const |
|
private |
bool casa::SpectralPositioningWidget::fillPointWorld |
( |
QList< double > & |
worldX, |
|
|
QList< double > & |
worldY |
|
) |
| |
|
private |
void casa::SpectralPositioningWidget::initSpectrumPosition |
( |
| ) |
|
|
private |
Initializes the spectrum positioning tab.
void casa::SpectralPositioningWidget::locationSelectionTypeChanged |
( |
int |
index | ) |
|
|
privateslot |
void casa::SpectralPositioningWidget::locationUnitsChanged |
( |
int |
index | ) |
|
|
privateslot |
void casa::SpectralPositioningWidget::pageUpdate |
( |
int |
selectionIndex, |
|
|
int |
unitIndex |
|
) |
| |
|
private |
bool casa::SpectralPositioningWidget::populateWorlds |
( |
const QList< int > & |
pixelX, |
|
|
const QList< int > & |
pixelY, |
|
|
QList< double > & |
worldX, |
|
|
QList< double > & |
worldY |
|
) |
| |
|
private |
void casa::SpectralPositioningWidget::setLogger |
( |
casacore::LogIO * |
logger | ) |
|
void casa::SpectralPositioningWidget::setPixelLineEdits |
( |
double |
topLeft, |
|
|
double |
bottomLeft, |
|
|
double |
topRight, |
|
|
double |
bottomRight |
|
) |
| |
|
private |
void casa::SpectralPositioningWidget::setPosition |
( |
| ) |
|
|
privateslot |
void casa::SpectralPositioningWidget::setWorldEdits |
( |
double |
topLeft, |
|
|
double |
bottomLeft, |
|
|
double |
topRight, |
|
|
double |
bottomRight |
|
) |
| |
|
private |
void casa::SpectralPositioningWidget::switchBoxLabels |
( |
int |
index, |
|
|
int |
pageIndex, |
|
|
QLabel *const |
x1Label, |
|
|
QLabel *const |
y1Label, |
|
|
QLabel *const |
x2Label, |
|
|
QLabel *const |
y2Label |
|
) |
| |
|
private |
double casa::SpectralPositioningWidget::toRadians |
( |
bool & |
valid, |
|
|
QLineEdit * |
lineEdit |
|
) |
| |
|
private |
void casa::SpectralPositioningWidget::updateUI |
( |
| ) |
|
|
private |
void casa::SpectralPositioningWidget::updateUIPixelBox |
( |
| ) |
|
|
private |
void casa::SpectralPositioningWidget::updateUIPixelPoint |
( |
| ) |
|
|
private |
void casa::SpectralPositioningWidget::updateUIWorldBox |
( |
| ) |
|
|
private |
void casa::SpectralPositioningWidget::updateUIWorldPoint |
( |
| ) |
|
|
private |
QIntValidator* casa::SpectralPositioningWidget::pixelValidator |
|
private |
Ui::SpectralPositioningWidgetClass casa::SpectralPositioningWidget::ui |
|
private |
The documentation for this class was generated from the following file: