casa::SliceWorker Class Reference
Responsible for computing the (x,y)-values that represent a slice cut.
More...
#include <SliceWorker.h>
List of all members.
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 |
Detailed Description
Responsible for computing the (x,y)-values that represent a slice cut.
Definition at line 44 of file SliceWorker.h.
Constructor & Destructor Documentation
| casa::SliceWorker::SliceWorker |
( |
int |
id |
) |
|
| virtual casa::SliceWorker::~SliceWorker |
( |
|
) |
[virtual] |
| casa::SliceWorker::SliceWorker |
( |
const SliceWorker & |
other |
) |
[private] |
Member Function Documentation
| 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] |
| 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 |
Member Data Documentation
The documentation for this class was generated from the following file: