casa
$Rev:20696$
|
#include <SliceSegment.qo.h>
Signals | |
void | statisticsSelected (int index) |
Public Member Functions | |
SliceSegment (int regionId, int index, QWidget *parent=0) | |
void | addCurve (QwtPlot *plot, const QVector< double > &xValues, const QVector< double > &yValues) |
void | setEndPointsWorld (double worldX1, double worldY1, double worldX2, double worldY2) |
void | setEndPointsPixel (int pixelX1, int pixelY1, int pixelX2, int pixelY2) |
void | setColor (QColor color) |
void | setCurveWidth (int width) |
void | updateEnds (const String &start, const String &end) |
QColor | getCurveColor () const |
void | clearCurve () |
void | updateStatistics (SliceStatistics *statistics) |
QwtPlot * | getPlot () |
~SliceSegment () | |
Private Member Functions | |
QString | parseEndInfo (const String &info) const |
void | resetCurveWidth () |
void | setCurveColor () |
SliceSegment (const SliceSegment &other) | |
SliceSegment | operator= (const SliceSegment &other) |
Private Attributes | |
std::pair< double, double > | worldStart |
std::pair< double, double > | worldEnd |
std::pair< int, int > | pixelStart |
std::pair< int, int > | pixelEnd |
int | curveWidth |
int | regionId |
int | index |
QColor | defaultColor |
QwtPlotCurve * | plotCurve |
SegmentTracer * | segmentTracer |
Ui::SliceSegmentClass | ui |
Definition at line 49 of file SliceSegment.qo.h.
casa::SliceSegment::SliceSegment | ( | int | regionId, |
int | index, | ||
QWidget * | parent = 0 |
||
) |
casa::SliceSegment::SliceSegment | ( | const SliceSegment & | other | ) | [private] |
void casa::SliceSegment::addCurve | ( | QwtPlot * | plot, |
const QVector< double > & | xValues, | ||
const QVector< double > & | yValues | ||
) |
void casa::SliceSegment::clearCurve | ( | ) |
QColor casa::SliceSegment::getCurveColor | ( | ) | const |
QwtPlot* casa::SliceSegment::getPlot | ( | ) |
SliceSegment casa::SliceSegment::operator= | ( | const SliceSegment & | other | ) | [private] |
QString casa::SliceSegment::parseEndInfo | ( | const String & | info | ) | const [private] |
void casa::SliceSegment::resetCurveWidth | ( | ) | [private] |
void casa::SliceSegment::setColor | ( | QColor | color | ) |
void casa::SliceSegment::setCurveColor | ( | ) | [private] |
void casa::SliceSegment::setCurveWidth | ( | int | width | ) |
void casa::SliceSegment::setEndPointsPixel | ( | int | pixelX1, |
int | pixelY1, | ||
int | pixelX2, | ||
int | pixelY2 | ||
) |
void casa::SliceSegment::setEndPointsWorld | ( | double | worldX1, |
double | worldY1, | ||
double | worldX2, | ||
double | worldY2 | ||
) |
void casa::SliceSegment::statisticsSelected | ( | int | index | ) | [signal] |
void casa::SliceSegment::updateEnds | ( | const String & | start, |
const String & | end | ||
) |
void casa::SliceSegment::updateStatistics | ( | SliceStatistics * | statistics | ) |
int casa::SliceSegment::curveWidth [private] |
Definition at line 79 of file SliceSegment.qo.h.
QColor casa::SliceSegment::defaultColor [private] |
Definition at line 83 of file SliceSegment.qo.h.
int casa::SliceSegment::index [private] |
Definition at line 81 of file SliceSegment.qo.h.
std::pair<int,int> casa::SliceSegment::pixelEnd [private] |
Definition at line 78 of file SliceSegment.qo.h.
std::pair<int,int> casa::SliceSegment::pixelStart [private] |
Definition at line 77 of file SliceSegment.qo.h.
QwtPlotCurve* casa::SliceSegment::plotCurve [private] |
Definition at line 84 of file SliceSegment.qo.h.
int casa::SliceSegment::regionId [private] |
Definition at line 80 of file SliceSegment.qo.h.
SegmentTracer* casa::SliceSegment::segmentTracer [private] |
Definition at line 85 of file SliceSegment.qo.h.
Ui::SliceSegmentClass casa::SliceSegment::ui [private] |
Definition at line 86 of file SliceSegment.qo.h.
std::pair<double,double> casa::SliceSegment::worldEnd [private] |
Definition at line 76 of file SliceSegment.qo.h.
std::pair<double,double> casa::SliceSegment::worldStart [private] |
Definition at line 75 of file SliceSegment.qo.h.