26 #ifndef SLICER_WORKER_H_
27 #define SLICER_WORKER_H_
32 #include <QTextStream>
42 class SliceStatistics;
54 void setVertices(
const QList<int>& xValues,
const QList<int>& yValues,
55 const QList<double>& xValuesWorld,
const QList<double>& yValuesWorld);
81 std::shared_ptr<casacore::ImageInterface<float> >
image;
casacore::Vector< casacore::Double > verticesYWorld
SliceWorker & operator=(const SliceWorker other)
casacore::Vector< casacore::Double > verticesXWorld
QVector< double > getValues(int index, const QVector< double > &pixels, SliceStatistics *statistic) const
casacore::Vector< casacore::Int > coords
Responsible for computing the (x,y)-values that represent a slice cut.
const_iterator end() const
void setAxes(const casacore::Vector< casacore::Int > &axes)
std::shared_ptr< casacore::ImageInterface< float > > image
QVector< double > getData(int index, SliceStatistics *statistics) const
QVector< double > interpolate(double start, double end, const QVector< double > &values) const
void toAscii(QTextStream &stream, SliceStatistics *statistics) const
double getDistance(double x, double y) const
QList< casacore::Record * > sliceResults
QVector< double > getPixels(int index) const
Computes the angle and distance for a single line segment in the slice.
void setImage(std::shared_ptr< casacore::ImageInterface< float > > img)
casacore::Vector< casacore::Double > verticesY
void computeSlice(const casacore::Vector< double > &xValues, const casacore::Vector< double > &yValues)
void setMethod(const casacore::String &method)
casacore::Vector< casacore::Int > axes
String: the storage and methods of handling collections of characters.
void setVertices(const QList< int > &xValues, const QList< int > &yValues, const QList< double > &xValuesWorld, const QList< double > &yValuesWorld)
int getSegmentCount() const
casacore::Vector< casacore::Double > verticesX
void setSampleCount(int count)
void setCoords(const casacore::Vector< casacore::Int > &coords)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.