casa
$Rev:20696$
|
#include <SliceStatisticsDistance.h>
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 (Record *record) const |
Private Member Functions | |
double | getHypotenuse (double side1, double side2) const |
double | getHypotenuse (double x1, double x2, double y1, double y2) const |
Definition at line 34 of file SliceStatisticsDistance.h.
virtual casa::SliceStatisticsDistance::~SliceStatisticsDistance | ( | ) | [virtual] |
virtual void casa::SliceStatisticsDistance::adjustStart | ( | QVector< double > & | values, |
double | newStart | ||
) | const [virtual] |
Implements casa::SliceStatistics.
virtual QVector<double> casa::SliceStatisticsDistance::fromResults | ( | 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.