casa::SliceSegment Class Reference
#include <SliceSegment.qo.h>
List of all members.
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 |
Detailed Description
Definition at line 48 of file SliceSegment.qo.h.
Constructor & Destructor Documentation
casa::SliceSegment::SliceSegment |
( |
int |
regionId, |
|
|
int |
index, |
|
|
QWidget * |
parent = 0 | |
|
) |
| | |
casa::SliceSegment::~SliceSegment |
( |
|
) |
|
casa::SliceSegment::SliceSegment |
( |
const SliceSegment & |
other |
) |
[private] |
Member Function Documentation
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 |
( |
|
) |
|
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 | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following file: