casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::ComponentListWrapper Class Reference

Provides convenient accessors and functionality for a ComponentList. More...

#include <ComponentListWrapper.h>

List of all members.

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

Detailed Description

Provides convenient accessors and functionality for a ComponentList.

Definition at line 42 of file ComponentListWrapper.h.


Constructor & Destructor Documentation


Member Function Documentation

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::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]
string casa::ComponentListWrapper::getRA ( int  i) const
double casa::ComponentListWrapper::getRAValue ( int  i,
const String unit 
) const [private]
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

Member Data Documentation

Definition at line 80 of file ComponentListWrapper.h.

Definition at line 79 of file ComponentListWrapper.h.

Definition at line 78 of file ComponentListWrapper.h.

Definition at line 77 of file ComponentListWrapper.h.


The documentation for this class was generated from the following file: