casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::SliceSegment Class Reference

#include <SliceSegment.qo.h>

Inheritance diagram for casa::SliceSegment:

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 casacore::String &start, const casacore::String &end)
 
QColor getCurveColor () const
 
void clearCurve ()
 
void updateStatistics (SliceStatistics *statistics)
 
QwtPlot * getPlot ()
 
 ~SliceSegment ()
 

Private Member Functions

QString parseEndInfo (const casacore::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 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 ( )
SliceSegment casa::SliceSegment::operator= ( const SliceSegment other)
private
QString casa::SliceSegment::parseEndInfo ( const casacore::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 casacore::String start,
const casacore::String end 
)
void casa::SliceSegment::updateStatistics ( SliceStatistics statistics)

Member Data Documentation

int casa::SliceSegment::curveWidth
private

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

QColor casa::SliceSegment::defaultColor
private

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

int casa::SliceSegment::index
private

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

std::pair<int,int> casa::SliceSegment::pixelEnd
private

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

std::pair<int,int> casa::SliceSegment::pixelStart
private

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

QwtPlotCurve* casa::SliceSegment::plotCurve
private

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

int casa::SliceSegment::regionId
private

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

SegmentTracer* casa::SliceSegment::segmentTracer
private

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

Ui::SliceSegmentClass casa::SliceSegment::ui
private

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

std::pair<double,double> casa::SliceSegment::worldEnd
private

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

std::pair<double,double> casa::SliceSegment::worldStart
private

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


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