26 #ifndef SLICE_SEGMENT_QO_H
27 #define SLICE_SEGMENT_QO_H
31 #include <display/Slicer/SliceSegment.ui.h>
45 class SliceStatistics;
54 void setEndPointsWorld(
double worldX1,
double worldY1,
double worldX2,
double worldY2 );
85 Ui::SliceSegmentClass
ui;
90 #endif // SLICESEGMENT_QO_H
std::pair< int, int > pixelEnd
std::pair< double, double > worldStart
QString parseEndInfo(const casacore::String &info) const
SliceSegment operator=(const SliceSegment &other)
std::pair< double, double > worldEnd
void setColor(QColor color)
void setEndPointsWorld(double worldX1, double worldY1, double worldX2, double worldY2)
void setEndPointsPixel(int pixelX1, int pixelY1, int pixelX2, int pixelY2)
const_iterator end() const
void statisticsSelected(int index)
std::pair< int, int > pixelStart
void setCurveWidth(int width)
Computes the angle and distance for a single line segment in the slice.
String: the storage and methods of handling collections of characters.
QColor getCurveColor() const
void updateStatistics(SliceStatistics *statistics)
void addCurve(QwtPlot *plot, const QVector< double > &xValues, const QVector< double > &yValues)
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the color(i.e.,"000000"for black) and
SegmentTracer * segmentTracer
void updateEnds(const casacore::String &start, const casacore::String &end)
SliceSegment(int regionId, int index, QWidget *parent=0)