27 #ifndef SLICESTATISTICSPOSITION_H_
28 #define SLICESTATISTICSPOSITION_H_
37 virtual double getLength(std::pair<double,double> worldStart,
38 std::pair<double,double> worldEnd,
39 std::pair<int,int> pixelStart,
40 std::pair<int,int> pixelEnd )
const;
42 virtual double getLength(
double value1World,
double value2World,
43 double value1Pixel,
double value2Pixel )
const ;
44 virtual double getStart(
double value1WorldX,
double value1WorldY,
45 double value2WorldX,
double value2WorldY )
const;
46 virtual double getEnd(
double value1WorldX,
double value1WorldY,
47 double value2WorldX,
double value2WorldY )
const;
virtual double getStart(double value1WorldX, double value1WorldY, double value2WorldX, double value2WorldY) const
virtual void storeIncrement(double *incr, QVector< double > &values, int index) const
void setXPosition(bool xPosition)
virtual QVector< double > interpolate(double start, double end, const QVector< double > &values) const
const_iterator end() const
virtual QVector< double > fromResults(casacore::Record *record) const
A hierarchical collection of named fields of various types.
virtual QString getLengthLabel() const
virtual double getEnd(double value1WorldX, double value1WorldY, double value2WorldX, double value2WorldY) const
Computes the angle and distance for a single line segment in the slice.
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 ~SliceStatisticsPosition()
virtual void adjustStart(QVector< double > &values, double newStart) const
SliceStatisticsPosition(SliceStatisticsFactory::AxisXUnits units)