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

A specialization of FeatherPlotWidget for displaying line plots. More...

#include <FeatherPlotWidgetSlice.h>

Inheritance diagram for casa::FeatherPlotWidgetSlice:
casa::FeatherPlotWidget

Public Types

typedef FeatherCurveType::CurveType CurveType
 
typedef FeatherDataType::DataType DataType
 
- Public Types inherited from casa::FeatherPlotWidget
typedef FeatherDataType::DataType DataType
 
typedef FeatherCurveType::CurveType CurveType
 

Public Member Functions

 FeatherPlotWidgetSlice (const QString &title, FeatherPlot::PlotType plotType, QWidget *parent=0)
 
virtual ~FeatherPlotWidgetSlice ()
 
virtual void addZoomNeutralCurves ()
 
- Public Member Functions inherited from casa::FeatherPlotWidget
 FeatherPlotWidget (const QString &title, FeatherPlot::PlotType plotType, QWidget *parent=0)
 
void setData (const casacore::Vector< float > &xValues, const casacore::Vector< float > &yValues, DataType dType)
 Setting the data into the plots. More...
 
void clearPlot ()
 
void clearData ()
 
void clearLegend ()
 
void setPlotColors (const QMap< CurveType, CurveDisplay > &colorMap)
 Preferences. More...
 
virtual void setScatterCurves (const QString &, CurveType, const QList< CurveType > &)
 
void setLineThickness (int thickness)
 
void setLegendVisibility (bool v)
 
void setDotSize (int size)
 
void setLogScale (bool uvScale, bool logScale)
 
void refresh ()
 
void changeZoom90 (bool zoom)
 Zooming. More...
 
void zoomRectangle (double minX, double maxX, double minY, double maxY)
 
void zoomNeutral ()
 
void resetZoomRectangleColor ()
 
QWidget * getExternalAxisControl (QwtPlot::Axis position)
 
void insertLegend (QWidget *parent)
 
 ~FeatherPlotWidget ()
 
bool moveDiameterMarker (const QPoint &pos)
 Dish diameter marker. More...
 
double getDishDiameter () const
 
bool isDiameterSelectorMode () const
 
void setDishDiameter (double value=-1, bool scale=true)
 
void resetDishDiameterLineColor ()
 
void setRectangleZoomMode ()
 Left mouse mode. More...
 
void setDiameterSelectorMode ()
 

Protected Member Functions

virtual void resetColors ()
 
virtual void addSumData ()
 
virtual void zoomRectangleOther (double minX, double maxX, double minY, double maxY)
 
virtual void zoom90Other (double dishPosition)
 
- Protected Member Functions inherited from casa::FeatherPlotWidget
FeatherDataType::DataType getDataTypeForCurve (CurveType cType) const
 
void resizeEvent (QResizeEvent *event)
 
void resetData (DataType dataType, const casacore::Vector< float > &xValues, const casacore::Vector< float > &yValues)
 
pair< double, double > getMaxMin (QVector< double > values, FeatherCurveType::CurveType curveType) const
 
void addPlotCurve (const QVector< double > &xValues, const QVector< double > &yValues, DataType dType, bool sumCurve)
 
void addPlotCurve (const QVector< double > &xValues, const QVector< double > &yValues, QwtPlot::Axis axis, CurveType curveType, bool sumCurve)
 
pair< QVector< double >
, QVector< double > > 
limitX (DataType dType, double xCutOff)
 
pair< QVector< double >
, QVector< double > > 
limitX (DataType dType, double minValue, double maxValue)
 
void initializeDomainLimitedData (double minValue, double maxValue, QVector< double > &xValues, QVector< double > &yValues, const QVector< double > &originalXValues, const QVector< double > &originalYValues) const
 
void initializeSumData (QVector< double > &sumX, QVector< double > &sumY, bool logScale)
 
void initializeMarkers ()
 

Private Member Functions

void zoom90 (double dishPosition, CurveType cType, DataType dType)
 
void zoomRect (double minX, double maxX, CurveType cType, DataType dType)
 
void addSumData (bool logScale)
 
void addDisplayedPlotCurve (FeatherCurveType::CurveType curveType, FeatherDataType::DataType dataType)
 

Additional Inherited Members

- Signals inherited from casa::FeatherPlotWidget
void dishDiameterChanged (double newValue)
 
void rectangleZoomed (double minX, double maxX, double minY, double maxY)
 
- Protected Attributes inherited from casa::FeatherPlotWidget
FeatherPlotplot
 
QwtPlot::Axis sliceAxis
 
QwtPlot::Axis weightAxis
 
QwtPlot::Axis scatterAxis
 
QMap< DataType, std::pair
< QVector< double >, QVector
< double > > > 
plotData
 
QMap< CurveType, CurveDisplaycurvePreferences
 

Detailed Description

A specialization of FeatherPlotWidget for displaying line plots.

Definition at line 37 of file FeatherPlotWidgetSlice.h.

Member Typedef Documentation

Definition at line 39 of file FeatherPlotWidgetSlice.h.

Definition at line 40 of file FeatherPlotWidgetSlice.h.

Constructor & Destructor Documentation

casa::FeatherPlotWidgetSlice::FeatherPlotWidgetSlice ( const QString &  title,
FeatherPlot::PlotType  plotType,
QWidget *  parent = 0 
)
virtual casa::FeatherPlotWidgetSlice::~FeatherPlotWidgetSlice ( )
virtual

Member Function Documentation

void casa::FeatherPlotWidgetSlice::addDisplayedPlotCurve ( FeatherCurveType::CurveType  curveType,
FeatherDataType::DataType  dataType 
)
private
virtual void casa::FeatherPlotWidgetSlice::addSumData ( )
protectedvirtual

Reimplemented from casa::FeatherPlotWidget.

void casa::FeatherPlotWidgetSlice::addSumData ( bool  logScale)
privatevirtual

Reimplemented from casa::FeatherPlotWidget.

virtual void casa::FeatherPlotWidgetSlice::addZoomNeutralCurves ( )
virtual
virtual void casa::FeatherPlotWidgetSlice::resetColors ( )
protectedvirtual

Reimplemented from casa::FeatherPlotWidget.

void casa::FeatherPlotWidgetSlice::zoom90 ( double  dishPosition,
CurveType  cType,
DataType  dType 
)
private
virtual void casa::FeatherPlotWidgetSlice::zoom90Other ( double  dishPosition)
protectedvirtual
void casa::FeatherPlotWidgetSlice::zoomRect ( double  minX,
double  maxX,
CurveType  cType,
DataType  dType 
)
private
virtual void casa::FeatherPlotWidgetSlice::zoomRectangleOther ( double  minX,
double  maxX,
double  minY,
double  maxY 
)
protectedvirtual

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