casa
$Rev:20696$
|
Responsible for computing the (x,y)-values that represent a slice cut. More...
#include <SliceWorker.h>
Public Member Functions | |
SliceWorker (int id) | |
void | setImageAnalysis (ImageAnalysis *analysis) |
void | setVertices (const QList< int > &xValues, const QList< int > &yValues, const QList< double > &xValuesWorld, const QList< double > &yValuesWorld) |
void | setAxes (const Vector< Int > &axes) |
void | setCoords (const Vector< Int > &coords) |
void | setSampleCount (int count) |
void | setMethod (const String &method) |
void | toAscii (QTextStream &stream, SliceStatistics *statistics) const |
void | compute () |
int | getSegmentCount () const |
QVector< double > | getPixels (int index) const |
QVector< double > | getData (int index, SliceStatistics *statistics) const |
virtual | ~SliceWorker () |
Private Member Functions | |
SliceWorker (const SliceWorker &other) | |
SliceWorker & | operator= (const SliceWorker other) |
double | getDistance (double x, double y) const |
QVector< double > | interpolate (double start, double end, const QVector< double > &values) const |
void | clearResults () |
QVector< double > | getValues (int index, const QVector< double > &pixels, SliceStatistics *statistic) const |
void | computeSlice (const Vector< double > &xValues, const Vector< double > &yValues) |
Private Attributes | |
ImageAnalysis * | imageAnalysis |
QList< Record * > | sliceResults |
Vector< Double > | verticesX |
Vector< Double > | verticesY |
Vector< Double > | verticesXWorld |
Vector< Double > | verticesYWorld |
Vector< Int > | axes |
Vector< Int > | coords |
int | sampleCount |
int | id |
String | method |
Responsible for computing the (x,y)-values that represent a slice cut.
Definition at line 44 of file SliceWorker.h.
casa::SliceWorker::SliceWorker | ( | int | id | ) |
virtual casa::SliceWorker::~SliceWorker | ( | ) | [virtual] |
casa::SliceWorker::SliceWorker | ( | const SliceWorker & | other | ) | [private] |
void casa::SliceWorker::clearResults | ( | ) | [private] |
void casa::SliceWorker::compute | ( | ) |
void casa::SliceWorker::computeSlice | ( | const Vector< double > & | xValues, |
const Vector< double > & | yValues | ||
) | [private] |
QVector<double> casa::SliceWorker::getData | ( | int | index, |
SliceStatistics * | statistics | ||
) | const |
double casa::SliceWorker::getDistance | ( | double | x, |
double | y | ||
) | const [private] |
QVector<double> casa::SliceWorker::getPixels | ( | int | index | ) | const |
int casa::SliceWorker::getSegmentCount | ( | ) | const |
QVector<double> casa::SliceWorker::getValues | ( | int | index, |
const QVector< double > & | pixels, | ||
SliceStatistics * | statistic | ||
) | const [private] |
QVector<double> casa::SliceWorker::interpolate | ( | double | start, |
double | end, | ||
const QVector< double > & | values | ||
) | const [private] |
SliceWorker& casa::SliceWorker::operator= | ( | const SliceWorker | other | ) | [private] |
void casa::SliceWorker::setAxes | ( | const Vector< Int > & | axes | ) |
void casa::SliceWorker::setCoords | ( | const Vector< Int > & | coords | ) |
void casa::SliceWorker::setImageAnalysis | ( | ImageAnalysis * | analysis | ) |
void casa::SliceWorker::setMethod | ( | const String & | method | ) |
void casa::SliceWorker::setSampleCount | ( | int | count | ) |
void casa::SliceWorker::setVertices | ( | const QList< int > & | xValues, |
const QList< int > & | yValues, | ||
const QList< double > & | xValuesWorld, | ||
const QList< double > & | yValuesWorld | ||
) |
void casa::SliceWorker::toAscii | ( | QTextStream & | stream, |
SliceStatistics * | statistics | ||
) | const |
Vector<Int> casa::SliceWorker::axes [private] |
Definition at line 83 of file SliceWorker.h.
Vector<Int> casa::SliceWorker::coords [private] |
Definition at line 84 of file SliceWorker.h.
int casa::SliceWorker::id [private] |
Definition at line 87 of file SliceWorker.h.
ImageAnalysis* casa::SliceWorker::imageAnalysis [private] |
Definition at line 76 of file SliceWorker.h.
String casa::SliceWorker::method [private] |
Definition at line 88 of file SliceWorker.h.
int casa::SliceWorker::sampleCount [private] |
Definition at line 86 of file SliceWorker.h.
QList<Record*> casa::SliceWorker::sliceResults [private] |
Definition at line 77 of file SliceWorker.h.
Vector<Double> casa::SliceWorker::verticesX [private] |
Definition at line 78 of file SliceWorker.h.
Vector<Double> casa::SliceWorker::verticesXWorld [private] |
Definition at line 80 of file SliceWorker.h.
Vector<Double> casa::SliceWorker::verticesY [private] |
Definition at line 79 of file SliceWorker.h.
Vector<Double> casa::SliceWorker::verticesYWorld [private] |
Definition at line 81 of file SliceWorker.h.