casa
5.7.0-16
|
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 |
const ComponentShape * | getShape (int i) const |
casacore::Quantity | getMajorAxis (int i) const |
casacore::Quantity | getMinorAxis (int i) const |
casacore::Quantity | getAngle (int i) const |
casacore::Quantum < casacore::Vector< double > > | getLatLong (int i) const |
casacore::Quantity | getFlux (int i) const |
void | clear () |
QString getEstimateFixed(int index) const;. More... | |
void | remove (QVector< int > indices) |
void | fromComponentList (ComponentList list) |
bool | fromRecord (casacore::String &errorMsg, casacore::Record &record) |
bool | toEstimateFile (QTextStream &stream, const casacore::ImageInterface< casacore::Float > *const image, QString &errorMsg, bool screenEstimates=false, RegionBox *screenBox=NULL) const |
QList< RegionShape * > | toDrawingDisplay (const casacore::ImageInterface< casacore::Float > *image, const QString &colorName) const |
bool | toRegionFile (const casacore::ImageInterface< float > *image, int channelIndex, const QString &filePath) const |
virtual | ~ComponentListWrapper () |
Private Member Functions | |
void | toRecord (casacore::Record &record, const casacore::Quantity &quantity) const |
double | getRAValue (int i, const casacore::String &unit) const |
double | getDECValue (int i, const casacore::String &unit) const |
double | radiansToDegrees (double value) const |
double | degreesToArcSecs (double Value) const |
casacore::Quantity | getAxis (int listIndex, int shapeIndex, bool toArcSecs) const |
double | rotateAngle (double value) const |
void | deconvolve (const casacore::ImageInterface< float > *image, int channel, casacore::Quantity &majorAxis, casacore::Quantity &minorAxis, casacore::Quantity &positionAngle) const |
Private Attributes | |
ComponentList | skyList |
const casacore::String | RAD |
const casacore::String | DEG |
const casacore::String | ARC_SEC |
Provides convenient accessors and functionality for a ComponentList.
Definition at line 46 of file ComponentListWrapper.h.
casa::ComponentListWrapper::ComponentListWrapper | ( | ) |
|
virtual |
void casa::ComponentListWrapper::clear | ( | ) |
QString getEstimateFixed(int index) const;.
|
private |
|
private |
void casa::ComponentListWrapper::fromComponentList | ( | ComponentList | list | ) |
bool casa::ComponentListWrapper::fromRecord | ( | casacore::String & | errorMsg, |
casacore::Record & | record | ||
) |
casacore::Quantity casa::ComponentListWrapper::getAngle | ( | int | i | ) | const |
|
private |
string casa::ComponentListWrapper::getDEC | ( | int | i | ) | const |
|
private |
casacore::Quantity casa::ComponentListWrapper::getFlux | ( | int | i | ) | const |
casacore::Quantum< casacore::Vector<double> > casa::ComponentListWrapper::getLatLong | ( | int | i | ) | const |
casacore::Quantity casa::ComponentListWrapper::getMajorAxis | ( | int | i | ) | const |
casacore::Quantity casa::ComponentListWrapper::getMinorAxis | ( | int | i | ) | const |
string casa::ComponentListWrapper::getRA | ( | int | i | ) | const |
|
private |
const ComponentShape* casa::ComponentListWrapper::getShape | ( | int | i | ) | const |
int casa::ComponentListWrapper::getSize | ( | ) | const |
string casa::ComponentListWrapper::getType | ( | int | i | ) | const |
|
private |
void casa::ComponentListWrapper::remove | ( | QVector< int > | indices | ) |
|
private |
QList<RegionShape*> casa::ComponentListWrapper::toDrawingDisplay | ( | const casacore::ImageInterface< casacore::Float > * | image, |
const QString & | colorName | ||
) | const |
bool casa::ComponentListWrapper::toEstimateFile | ( | QTextStream & | stream, |
const casacore::ImageInterface< casacore::Float > *const | image, | ||
QString & | errorMsg, | ||
bool | screenEstimates = false , |
||
RegionBox * | screenBox = NULL |
||
) | const |
|
private |
bool casa::ComponentListWrapper::toRegionFile | ( | const casacore::ImageInterface< float > * | image, |
int | channelIndex, | ||
const QString & | filePath | ||
) | const |
|
private |
Definition at line 85 of file ComponentListWrapper.h.
|
private |
Definition at line 84 of file ComponentListWrapper.h.
|
private |
Definition at line 83 of file ComponentListWrapper.h.
|
private |
Definition at line 82 of file ComponentListWrapper.h.