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

#include <PlotHolder.qo.h>

Inheritance diagram for casa::PlotHolder:

Public Types

typedef FeatherPlotWidget::DataType DataType
 casacore::Data related More...
 

Public Slots

void setRectangleZoomMode ()
 Left mouse modes. More...
 
void setDiameterSelectorMode ()
 

Signals

void dishDiameterChangedX (double newValue)
 
void dishDiameterChangedY (double newValue)
 

Public Member Functions

 PlotHolder (QWidget *parent=0)
 
void setData (const casacore::Vector< float > &x, const casacore::Vector< float > &xAmp, const casacore::Vector< float > &y, const casacore::Vector< float > &yAmp, DataType dType)
 
void updateScatterData ()
 
void addSumData ()
 
void clearPlots ()
 
void clearData ()
 
void setLineThickness (int thickness)
 Preference changes. More...
 
void setDotSize (int dotSize)
 
void setLegendVisibility (bool visible)
 
void setDisplayScatterPlot (bool visible)
 
void setDisplayOutputSlice (bool visible)
 
void setDisplayYGraphs (bool visible)
 
void setDisplayXGraphs (bool visible)
 
void setXAxisUV (bool xAxisUV)
 
void setColors (const QMap< PreferencesColor::CurveType, CurveDisplay > &colorMap)
 
void setScatterCurves (const QString &title, FeatherCurveType::CurveType xScatter, const QList< FeatherCurveType::CurveType > &yScatters)
 
void setLogScale (bool uvScale, bool logScale)
 
void refreshPlots ()
 
void layoutPlotWidgets ()
 
void dishDiameterXChanged (double value)
 Dish changes. More...
 
void dishDiameterYChanged (double value)
 
 ~PlotHolder ()
 

Private Types

enum  Plots {
  SLICE_X,
  SLICE_Y,
  SLICE_DISTANCE,
  SCATTER_X,
  SCATTER_Y,
  SCATTER_DISTANCE
}
 

Private Slots

void changePlotType ()
 
void changeZoom90 ()
 
void zoomNeutral ()
 
void showContextMenu (const QPoint &pt)
 
void rectangleZoomed (double minX, double maxX, double minY, double maxY)
 

Private Member Functions

void initializePlots ()
 
void initializeActions ()
 
void emptyLayout (QLayout *layout)
 
void addPlotAxis (int rowIndex, int columnIndex, QGridLayout *layout, QwtPlot::Axis axis, int basePlotIndex)
 
void addPlots (QGridLayout *&layout, int rowIndex, int basePlotIndex)
 
std::pair< int, int > addRadialPlots (QGridLayout *&gridLayout)
 
std::pair< int, int > addUVPlots (QGridLayout *&gridLayout)
 
void adjustLayout (bool scatterPlot)
 

Private Attributes

QList< FeatherPlotWidget * > plots
 
QAction plotTypeAction
 
QAction zoom90Action
 
QAction zoomNeutralAction
 
QMenu contextMenu
 
Ui::PlotHolderClass ui
 
QWidget * legendHolder
 
bool legendVisible
 
bool displayOutputSlice
 
bool displayScatter
 
bool tempScatterPlot
 
bool displayYGraphs
 
bool displayXGraphs
 
bool xAxisUV
 The x-axis on the slice cuts and original graphs can either be u/v (two graphs) or radial (one graph). More...
 

Detailed Description

Definition at line 42 of file PlotHolder.qo.h.

Member Typedef Documentation

casacore::Data related

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

Member Enumeration Documentation

Enumerator
SLICE_X 
SLICE_Y 
SLICE_DISTANCE 
SCATTER_X 
SCATTER_Y 
SCATTER_DISTANCE 

Definition at line 95 of file PlotHolder.qo.h.

Constructor & Destructor Documentation

casa::PlotHolder::PlotHolder ( QWidget *  parent = 0)
casa::PlotHolder::~PlotHolder ( )

Member Function Documentation

void casa::PlotHolder::addPlotAxis ( int  rowIndex,
int  columnIndex,
QGridLayout *  layout,
QwtPlot::Axis  axis,
int  basePlotIndex 
)
private
void casa::PlotHolder::addPlots ( QGridLayout *&  layout,
int  rowIndex,
int  basePlotIndex 
)
private
std::pair<int,int> casa::PlotHolder::addRadialPlots ( QGridLayout *&  gridLayout)
private
void casa::PlotHolder::addSumData ( )
std::pair<int,int> casa::PlotHolder::addUVPlots ( QGridLayout *&  gridLayout)
private
void casa::PlotHolder::adjustLayout ( bool  scatterPlot)
private
void casa::PlotHolder::changePlotType ( )
privateslot
void casa::PlotHolder::changeZoom90 ( )
privateslot
void casa::PlotHolder::clearData ( )
void casa::PlotHolder::clearPlots ( )
void casa::PlotHolder::dishDiameterChangedX ( double  newValue)
signal
void casa::PlotHolder::dishDiameterChangedY ( double  newValue)
signal
void casa::PlotHolder::dishDiameterXChanged ( double  value)

Dish changes.

void casa::PlotHolder::dishDiameterYChanged ( double  value)
void casa::PlotHolder::emptyLayout ( QLayout *  layout)
private
void casa::PlotHolder::initializeActions ( )
private
void casa::PlotHolder::initializePlots ( )
private
void casa::PlotHolder::layoutPlotWidgets ( )
void casa::PlotHolder::rectangleZoomed ( double  minX,
double  maxX,
double  minY,
double  maxY 
)
privateslot
void casa::PlotHolder::refreshPlots ( )
void casa::PlotHolder::setColors ( const QMap< PreferencesColor::CurveType, CurveDisplay > &  colorMap)
void casa::PlotHolder::setData ( const casacore::Vector< float > &  x,
const casacore::Vector< float > &  xAmp,
const casacore::Vector< float > &  y,
const casacore::Vector< float > &  yAmp,
DataType  dType 
)
void casa::PlotHolder::setDiameterSelectorMode ( )
slot
void casa::PlotHolder::setDisplayOutputSlice ( bool  visible)
void casa::PlotHolder::setDisplayScatterPlot ( bool  visible)
void casa::PlotHolder::setDisplayXGraphs ( bool  visible)
void casa::PlotHolder::setDisplayYGraphs ( bool  visible)
void casa::PlotHolder::setDotSize ( int  dotSize)
void casa::PlotHolder::setLegendVisibility ( bool  visible)
void casa::PlotHolder::setLineThickness ( int  thickness)

Preference changes.

void casa::PlotHolder::setLogScale ( bool  uvScale,
bool  logScale 
)
void casa::PlotHolder::setRectangleZoomMode ( )
slot

Left mouse modes.

void casa::PlotHolder::setScatterCurves ( const QString &  title,
FeatherCurveType::CurveType  xScatter,
const QList< FeatherCurveType::CurveType > &  yScatters 
)
void casa::PlotHolder::setXAxisUV ( bool  xAxisUV)
void casa::PlotHolder::showContextMenu ( const QPoint &  pt)
privateslot
void casa::PlotHolder::updateScatterData ( )
void casa::PlotHolder::zoomNeutral ( )
privateslot

Member Data Documentation

QMenu casa::PlotHolder::contextMenu
private

Definition at line 109 of file PlotHolder.qo.h.

bool casa::PlotHolder::displayOutputSlice
private

Definition at line 113 of file PlotHolder.qo.h.

bool casa::PlotHolder::displayScatter
private

Definition at line 114 of file PlotHolder.qo.h.

bool casa::PlotHolder::displayXGraphs
private

Definition at line 117 of file PlotHolder.qo.h.

bool casa::PlotHolder::displayYGraphs
private

Definition at line 116 of file PlotHolder.qo.h.

QWidget* casa::PlotHolder::legendHolder
private

Definition at line 111 of file PlotHolder.qo.h.

bool casa::PlotHolder::legendVisible
private

Definition at line 112 of file PlotHolder.qo.h.

QList<FeatherPlotWidget*> casa::PlotHolder::plots
private

Definition at line 105 of file PlotHolder.qo.h.

QAction casa::PlotHolder::plotTypeAction
private

Definition at line 106 of file PlotHolder.qo.h.

bool casa::PlotHolder::tempScatterPlot
private

Definition at line 115 of file PlotHolder.qo.h.

Ui::PlotHolderClass casa::PlotHolder::ui
private

Definition at line 110 of file PlotHolder.qo.h.

bool casa::PlotHolder::xAxisUV
private

The x-axis on the slice cuts and original graphs can either be u/v (two graphs) or radial (one graph).

Definition at line 120 of file PlotHolder.qo.h.

QAction casa::PlotHolder::zoom90Action
private

Definition at line 107 of file PlotHolder.qo.h.

QAction casa::PlotHolder::zoomNeutralAction
private

Definition at line 108 of file PlotHolder.qo.h.


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