26 #ifndef COMPONENTLISTWRAPPER_H_
27 #define COMPONENTLISTWRAPPER_H_
31 #include <QTextStream>
34 template <
class T>
class ImageInterface;
50 string getRA(
int i )
const;
51 string getDEC(
int i )
const;
66 bool screenEstimates =
false,
RegionBox* screenBox = NULL)
const;
casacore::Quantity getMinorAxis(int i) const
casacore::Quantity getAngle(int i) const
casacore::Quantity getMajorAxis(int i) const
bool toRegionFile(const casacore::ImageInterface< float > *image, int channelIndex, const QString &filePath) const
void fromComponentList(ComponentList list)
QList< RegionShape * > toDrawingDisplay(const casacore::ImageInterface< casacore::Float > *image, const QString &colorName) const
string getType(int i) const
double radiansToDegrees(double value) const
const casacore::String DEG
string getDEC(int i) const
double getRAValue(int i, const casacore::String &unit) const
casacore::Quantum< casacore::Vector< double > > getLatLong(int i) const
Provides convenient accessors and functionality for a ComponentList.
bool fromRecord(casacore::String &errorMsg, casacore::Record &record)
const casacore::String RAD
Base class for component shapes.
const casacore::String ARC_SEC
void deconvolve(const casacore::ImageInterface< float > *image, int channel, casacore::Quantity &majorAxis, casacore::Quantity &minorAxis, casacore::Quantity &positionAngle) const
double getDECValue(int i, const casacore::String &unit) const
bool toEstimateFile(QTextStream &stream, const casacore::ImageInterface< casacore::Float > *const image, QString &errorMsg, bool screenEstimates=false, RegionBox *screenBox=NULL) const
A hierarchical collection of named fields of various types.
void toRecord(casacore::Record &record, const casacore::Quantity &quantity) const
double rotateAngle(double value) const
virtual ~ComponentListWrapper()
A class for manipulating groups of components.
String: the storage and methods of handling collections of characters.
casacore::Quantity getAxis(int listIndex, int shapeIndex, bool toArcSecs) const
string getRA(int i) const
double degreesToArcSecs(double Value) const
void clear()
QString getEstimateFixed(int index) const;.
const ComponentShape * getShape(int i) const
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
casacore::Quantity getFlux(int i) const
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.