casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
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)
SliceWorkeroperator= (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

ImageAnalysisimageAnalysis
QList< Record * > sliceResults
Vector< DoubleverticesX
Vector< DoubleverticesY
Vector< DoubleverticesXWorld
Vector< DoubleverticesYWorld
Vector< Intaxes
Vector< Intcoords
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

virtual casa::SliceWorker::~SliceWorker ( ) [virtual]
casa::SliceWorker::SliceWorker ( const SliceWorker other) [private]

Member Function Documentation

void casa::SliceWorker::clearResults ( ) [private]
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
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::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

Definition at line 83 of file SliceWorker.h.

Definition at line 84 of file SliceWorker.h.

int casa::SliceWorker::id [private]

Definition at line 87 of file SliceWorker.h.

Definition at line 76 of file SliceWorker.h.

Definition at line 88 of file SliceWorker.h.

Definition at line 86 of file SliceWorker.h.

Definition at line 77 of file SliceWorker.h.

Definition at line 78 of file SliceWorker.h.

Definition at line 80 of file SliceWorker.h.

Definition at line 79 of file SliceWorker.h.

Definition at line 81 of file SliceWorker.h.


The documentation for this class was generated from the following file: