casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | List of all members
casa::SliceStatisticsDistance Class Reference

#include <SliceStatisticsDistance.h>

Inheritance diagram for casa::SliceStatisticsDistance:
casa::SliceStatistics

Public Member Functions

 SliceStatisticsDistance (SliceStatisticsFactory::AxisXUnits units)
 
virtual double getLength (std::pair< double, double > worldStart, std::pair< double, double > worldEnd, std::pair< int, int > pixelStart, std::pair< int, int > pixelEnd) const
 
virtual double getLength (double side1World, double side2World, double side1Pixel, double side2Pixel) const
 
virtual double getStart (double value1World, double value2World, double value1Pixel, double value2Pixel) const
 
virtual double getEnd (double value1World, double value2World, double value1Pixel, double value2Pixel) const
 
virtual QString getLengthLabel () const
 
virtual QVector< double > interpolate (double start, double end, const QVector< double > &values) const
 
virtual void adjustStart (QVector< double > &values, double newStart) const
 
virtual void storeIncrement (double *incr, QVector< double > &values, int index) const
 
virtual ~SliceStatisticsDistance ()
 
virtual QVector< double > fromResults (casacore::Record *record) const
 
- Public Member Functions inherited from casa::SliceStatistics
 SliceStatistics (SliceStatisticsFactory::AxisXUnits units)
 
void setXUnits (SliceStatisticsFactory::AxisXUnits units)
 
double getAngle (std::pair< int, int > pixelStart, std::pair< int, int > pixelEnd) const
 
QVector< double > convertArcUnits (QVector< double > arcseconds) const
 
double convertArcUnits (double value) const
 
virtual ~SliceStatistics ()
 

Private Member Functions

double getHypotenuse (double side1, double side2) const
 
double getHypotenuse (double x1, double x2, double y1, double y2) const
 

Additional Inherited Members

- Static Public Member Functions inherited from casa::SliceStatistics
static QVector< double > getFromArray (const casacore::Array< float > &source)
 
- Protected Member Functions inherited from casa::SliceStatistics
QString getUnitText () const
 
double radiansToArcseconds (double rad) const
 
- Protected Attributes inherited from casa::SliceStatistics
SliceStatisticsFactory::AxisXUnits xUnits
 

Detailed Description

Definition at line 34 of file SliceStatisticsDistance.h.

Constructor & Destructor Documentation

casa::SliceStatisticsDistance::SliceStatisticsDistance ( SliceStatisticsFactory::AxisXUnits  units)
virtual casa::SliceStatisticsDistance::~SliceStatisticsDistance ( )
virtual

Member Function Documentation

virtual void casa::SliceStatisticsDistance::adjustStart ( QVector< double > &  values,
double  newStart 
) const
virtual

Implements casa::SliceStatistics.

virtual QVector<double> casa::SliceStatisticsDistance::fromResults ( casacore::Record record) const
virtual

Implements casa::SliceStatistics.

virtual double casa::SliceStatisticsDistance::getEnd ( double  value1World,
double  value2World,
double  value1Pixel,
double  value2Pixel 
) const
virtual

Implements casa::SliceStatistics.

double casa::SliceStatisticsDistance::getHypotenuse ( double  side1,
double  side2 
) const
private
double casa::SliceStatisticsDistance::getHypotenuse ( double  x1,
double  x2,
double  y1,
double  y2 
) const
private
virtual double casa::SliceStatisticsDistance::getLength ( std::pair< double, double >  worldStart,
std::pair< double, double >  worldEnd,
std::pair< int, int >  pixelStart,
std::pair< int, int >  pixelEnd 
) const
virtual

Implements casa::SliceStatistics.

virtual double casa::SliceStatisticsDistance::getLength ( double  side1World,
double  side2World,
double  side1Pixel,
double  side2Pixel 
) const
virtual

Implements casa::SliceStatistics.

virtual QString casa::SliceStatisticsDistance::getLengthLabel ( ) const
virtual

Implements casa::SliceStatistics.

virtual double casa::SliceStatisticsDistance::getStart ( double  value1World,
double  value2World,
double  value1Pixel,
double  value2Pixel 
) const
virtual

Implements casa::SliceStatistics.

virtual QVector<double> casa::SliceStatisticsDistance::interpolate ( double  start,
double  end,
const QVector< double > &  values 
) const
virtual

Reimplemented from casa::SliceStatistics.

virtual void casa::SliceStatisticsDistance::storeIncrement ( double *  incr,
QVector< double > &  values,
int  index 
) const
virtual

Implements casa::SliceStatistics.


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