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
const ComponentShape * getShape (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, const ImageInterface< Float > *const image, QString &errorMsg, bool screenEstimates=false, RegionBox *screenBox=NULL) const
QList< RegionShape * > toDrawingDisplay (const ImageInterface< Float > *image, const QString &colorName) const
bool toRegionFile (const 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

casa::ComponentListWrapper::ComponentListWrapper (  ) 
virtual casa::ComponentListWrapper::~ComponentListWrapper (  )  [virtual]

Member Function Documentation

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]
void casa::ComponentListWrapper::fromComponentList ( ComponentList  list  ) 
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]
const ComponentShape* casa::ComponentListWrapper::getShape ( int  i  )  const
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 ( const ImageInterface< Float > *  image,
const QString &  colorName 
) const
bool casa::ComponentListWrapper::toEstimateFile ( QTextStream &  stream,
const ImageInterface< Float > *const   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 ( const ImageInterface< float > *  image,
int  channelIndex,
const QString &  filePath 
) const

Member Data Documentation

const String casa::ComponentListWrapper::ARC_SEC [private]

Definition at line 81 of file ComponentListWrapper.h.

const String casa::ComponentListWrapper::DEG [private]

Definition at line 80 of file ComponentListWrapper.h.

const String casa::ComponentListWrapper::RAD [private]

Definition at line 79 of file ComponentListWrapper.h.

Definition at line 78 of file ComponentListWrapper.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1