casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Signals | Public Member Functions | Private Member Functions | Private Attributes
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
SegmentTracersegmentTracer
Ui::SliceSegmentClass ui

Detailed Description

Definition at line 49 of file SliceSegment.qo.h.


Constructor & Destructor Documentation

casa::SliceSegment::SliceSegment ( int  regionId,
int  index,
QWidget *  parent = 0 
)
casa::SliceSegment::SliceSegment ( const SliceSegment other) [private]

Member Function Documentation

void casa::SliceSegment::addCurve ( QwtPlot *  plot,
const QVector< double > &  xValues,
const QVector< double > &  yValues 
)
SliceSegment casa::SliceSegment::operator= ( const SliceSegment other) [private]
QString casa::SliceSegment::parseEndInfo ( const String info) const [private]
void casa::SliceSegment::setColor ( QColor  color)
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

Definition at line 79 of file SliceSegment.qo.h.

Definition at line 83 of file SliceSegment.qo.h.

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.

Definition at line 80 of file SliceSegment.qo.h.

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.


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