casa
$Rev:20696$
|
Provides convenient accessors and functionality for a ComponentList. More...
#include <ComponentListWrapper.h>
Public Member Functions | |
ComponentListWrapper () | |
int | getSize () const |
string | getRA (int i) const |
string | getDEC (int i) const |
string | getType (int i) const |
Quantity | getMajorAxis (int i) const |
Quantity | getMinorAxis (int i) const |
Quantity | getAngle (int i) const |
Quantum< Vector< double > > | getLatLong (int i) const |
Quantity | getFlux (int i) const |
void | clear () |
QString getEstimateFixed( int index ) const;. | |
void | remove (QVector< int > indices) |
void | fromComponentList (ComponentList list) |
bool | fromRecord (String &errorMsg, Record &record) |
bool | toEstimateFile (QTextStream &stream, ImageInterface< Float > *image, QString &errorMsg, bool screenEstimates=false, RegionBox *screenBox=NULL) const |
QList< RegionShape * > | toDrawingDisplay (ImageInterface< Float > *image, const QString &colorName) const |
bool | toRegionFile (ImageInterface< float > *image, int channelIndex, const QString &filePath) const |
virtual | ~ComponentListWrapper () |
Private Member Functions | |
void | toRecord (Record &record, const Quantity &quantity) const |
double | getRAValue (int i, const String &unit) const |
double | getDECValue (int i, const String &unit) const |
double | radiansToDegrees (double value) const |
double | degreesToArcSecs (double Value) const |
Quantity | getAxis (int listIndex, int shapeIndex, bool toArcSecs) const |
double | rotateAngle (double value) const |
void | deconvolve (const ImageInterface< float > *image, int channel, Quantity &majorAxis, Quantity &minorAxis, Quantity &positionAngle) const |
Private Attributes | |
ComponentList | skyList |
const String | RAD |
const String | DEG |
const String | ARC_SEC |
Provides convenient accessors and functionality for a ComponentList.
Definition at line 42 of file ComponentListWrapper.h.
virtual casa::ComponentListWrapper::~ComponentListWrapper | ( | ) | [virtual] |
void casa::ComponentListWrapper::clear | ( | ) |
QString getEstimateFixed( int index ) const;.
void casa::ComponentListWrapper::deconvolve | ( | const ImageInterface< float > * | image, |
int | channel, | ||
Quantity & | majorAxis, | ||
Quantity & | minorAxis, | ||
Quantity & | positionAngle | ||
) | const [private] |
double casa::ComponentListWrapper::degreesToArcSecs | ( | double | Value | ) | const [private] |
bool casa::ComponentListWrapper::fromRecord | ( | String & | errorMsg, |
Record & | record | ||
) |
Quantity casa::ComponentListWrapper::getAngle | ( | int | i | ) | const |
Quantity casa::ComponentListWrapper::getAxis | ( | int | listIndex, |
int | shapeIndex, | ||
bool | toArcSecs | ||
) | const [private] |
string casa::ComponentListWrapper::getDEC | ( | int | i | ) | const |
double casa::ComponentListWrapper::getDECValue | ( | int | i, |
const String & | unit | ||
) | const [private] |
Quantity casa::ComponentListWrapper::getFlux | ( | int | i | ) | const |
Quantum< Vector<double> > casa::ComponentListWrapper::getLatLong | ( | int | i | ) | const |
Quantity casa::ComponentListWrapper::getMajorAxis | ( | int | i | ) | const |
Quantity casa::ComponentListWrapper::getMinorAxis | ( | int | i | ) | const |
string casa::ComponentListWrapper::getRA | ( | int | i | ) | const |
double casa::ComponentListWrapper::getRAValue | ( | int | i, |
const String & | unit | ||
) | const [private] |
int casa::ComponentListWrapper::getSize | ( | ) | const |
string casa::ComponentListWrapper::getType | ( | int | i | ) | const |
double casa::ComponentListWrapper::radiansToDegrees | ( | double | value | ) | const [private] |
void casa::ComponentListWrapper::remove | ( | QVector< int > | indices | ) |
double casa::ComponentListWrapper::rotateAngle | ( | double | value | ) | const [private] |
QList<RegionShape*> casa::ComponentListWrapper::toDrawingDisplay | ( | ImageInterface< Float > * | image, |
const QString & | colorName | ||
) | const |
bool casa::ComponentListWrapper::toEstimateFile | ( | QTextStream & | stream, |
ImageInterface< Float > * | image, | ||
QString & | errorMsg, | ||
bool | screenEstimates = false , |
||
RegionBox * | screenBox = NULL |
||
) | const |
void casa::ComponentListWrapper::toRecord | ( | Record & | record, |
const Quantity & | quantity | ||
) | const [private] |
bool casa::ComponentListWrapper::toRegionFile | ( | ImageInterface< float > * | image, |
int | channelIndex, | ||
const QString & | filePath | ||
) | const |
const String casa::ComponentListWrapper::ARC_SEC [private] |
Definition at line 80 of file ComponentListWrapper.h.
const String casa::ComponentListWrapper::DEG [private] |
Definition at line 79 of file ComponentListWrapper.h.
const String casa::ComponentListWrapper::RAD [private] |
Definition at line 78 of file ComponentListWrapper.h.
Definition at line 77 of file ComponentListWrapper.h.