casa
5.7.0-16
|
Responsible for computing the (x,y)-values that represent a slice cut. More...
#include <SliceWorker.h>
Public Member Functions | |
SliceWorker (int id) | |
void | setImage (std::shared_ptr< casacore::ImageInterface< float > > img) |
void | setVertices (const QList< int > &xValues, const QList< int > &yValues, const QList< double > &xValuesWorld, const QList< double > &yValuesWorld) |
void | setAxes (const casacore::Vector< casacore::Int > &axes) |
void | setCoords (const casacore::Vector< casacore::Int > &coords) |
void | setSampleCount (int count) |
void | setMethod (const casacore::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 casacore::Vector< double > &xValues, const casacore::Vector< double > &yValues) |
Private Attributes | |
std::shared_ptr < casacore::ImageInterface < float > > | image |
QList< casacore::Record * > | sliceResults |
casacore::Vector < casacore::Double > | verticesX |
casacore::Vector < casacore::Double > | verticesY |
casacore::Vector < casacore::Double > | verticesXWorld |
casacore::Vector < casacore::Double > | verticesYWorld |
casacore::Vector< casacore::Int > | axes |
casacore::Vector< casacore::Int > | coords |
int | sampleCount |
int | id |
casacore::String | method |
Responsible for computing the (x,y)-values that represent a slice cut.
Definition at line 49 of file SliceWorker.h.
casa::SliceWorker::SliceWorker | ( | int | id | ) |
|
virtual |
|
private |
|
private |
void casa::SliceWorker::compute | ( | ) |
|
private |
QVector<double> casa::SliceWorker::getData | ( | int | index, |
SliceStatistics * | statistics | ||
) | const |
|
private |
QVector<double> casa::SliceWorker::getPixels | ( | int | index | ) | const |
int casa::SliceWorker::getSegmentCount | ( | ) | const |
|
private |
|
private |
|
private |
void casa::SliceWorker::setAxes | ( | const casacore::Vector< casacore::Int > & | axes | ) |
void casa::SliceWorker::setCoords | ( | const casacore::Vector< casacore::Int > & | coords | ) |
void casa::SliceWorker::setImage | ( | std::shared_ptr< casacore::ImageInterface< float > > | img | ) |
void casa::SliceWorker::setMethod | ( | const casacore::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 |
|
private |
Definition at line 88 of file SliceWorker.h.
|
private |
Definition at line 89 of file SliceWorker.h.
|
private |
Definition at line 92 of file SliceWorker.h.
|
private |
Definition at line 81 of file SliceWorker.h.
|
private |
Definition at line 93 of file SliceWorker.h.
|
private |
Definition at line 91 of file SliceWorker.h.
|
private |
Definition at line 82 of file SliceWorker.h.
|
private |
Definition at line 83 of file SliceWorker.h.
|
private |
Definition at line 85 of file SliceWorker.h.
|
private |
Definition at line 84 of file SliceWorker.h.
|
private |
Definition at line 86 of file SliceWorker.h.