dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Scope Gadget Plugin

The scope Gadget, graphically plots the states of UAVObjects. More...

Namespaces

 Core
 The Core namespace contains all classes that make up the Core plugin which constitute the basic functionality of the GCS.
 
 Ui
 

Classes

class  PlotData
 
class  ColorMap
 The ColorMap class Defines a program-wide colormap. More...
 
class  ScopeGadget
 
class  ScopeGadgetConfiguration
 
class  ScopeGadgetFactory
 
class  ScopeGadgetOptionsPage
 
class  TimeScaleDraw
 This class is used to render the time values on the horizontal axis for the ChronoPlot. More...
 
class  ScopeGadgetWidget
 
class  ScopePlugin
 
class  HistogramData
 The HistogramData class The histogram plot has a variable sized buffer of data, where the data is for a specified histogram data set. More...
 
class  HistogramScopeConfig
 The HistogramScopeConfig class The histogram scope configuration. More...
 
class  Plot2dData
 The Plot2dData class Base class that keeps the data for each curve in the plot. More...
 
class  ScatterplotData
 The Scatterplot2dData class Base class that keeps the data for each curve in the plot. More...
 
class  SeriesPlotData
 The SeriesPlotData class The sequential plot have a fixed size buffer of data. All the curves in one plot have the same size buffer. More...
 
class  TimeSeriesPlotData
 The TimeSeriesPlotData class The chrono plot has a variable sized buffer of data, where the data is for a specified time period. More...
 
class  Scatterplot2dScopeConfig
 The Scatterplot2dScopeConfig class The scatterplot scope configuration. More...
 
struct  Plot2dCurveConfiguration
 
class  Scopes2dConfig
 The Scopes2dConfig class The parent class for 3D scope configurations. More...
 
class  Plot3dData
 The Plot3dData class Base class that keeps the data for each curve in the plot. More...
 
struct  Plot3dCurveConfiguration
 
class  Scopes3dConfig
 The Scopes3dConfig class The parent class for 3D scope configurations. More...
 
class  SpectrogramData
 The SpectrogramData class The spectrogram plot has a fixed size data buffer. All the curves in one plot have the same size buffer. More...
 
class  SpectrogramScopeConfig
 The SpectrogramScopeConfig class The spectrogram scope configuration. More...
 
class  ScopeConfig
 The ScopeConfig class The parent class for scope configuration classes data sources. More...
 

Enumerations

enum  ColorMap::ColorMapType { ColorMap::STANDARD, ColorMap::JET }
 The ColorMapType enum Defines the different type of color maps. More...
 
enum  ScopeGadgetOptionsPage::userRoleShift {
  ScopeGadgetOptionsPage::UR_UAVOBJECT, ScopeGadgetOptionsPage::UR_UAVFIELD, ScopeGadgetOptionsPage::UR_SCALE, ScopeGadgetOptionsPage::UR_COLOR,
  ScopeGadgetOptionsPage::UR_MEAN, ScopeGadgetOptionsPage::UR_MATHFUNCTION
}
 
enum  Scatterplot2dScopeConfig::Scatterplot2dType { Scatterplot2dScopeConfig::SERIES2D, Scatterplot2dScopeConfig::TIMESERIES2D }
 The Scatterplot2dType enum Defines the different type of plots. More...
 
enum  Scopes2dConfig::Plot2dType { Scopes2dConfig::NO2DPLOT, Scopes2dConfig::SCATTERPLOT2D, Scopes2dConfig::HISTOGRAM, Scopes2dConfig::POLARPLOT }
 The Plot2dType enum Defines the different type of plots. More...
 
enum  Scopes3dConfig::Plot3dType { Scopes3dConfig::NO3DPLOT, Scopes3dConfig::SCATTERPLOT3D, Scopes3dConfig::SPECTROGRAM }
 The Plot3dType enum Defines the different type of plots. More...
 
enum  SpectrogramScopeConfig::SpectrogramType { SpectrogramScopeConfig::VIBRATIONANALYSIS, SpectrogramScopeConfig::CUSTOM_SPECTROGRAM }
 The SpectrogramType enum Defines the different type of spectrogram plots. More...
 
enum  PlotDimensions { PLOT2D, PLOT3D }
 The Plot3dType enum Defines the different type of plots. More...
 

Functions

double PlotData::valueAsDouble (UAVObject *obj, UAVObjectField *field, bool haveSubField, QString uavSubFieldName)
 valueAsDouble Fetch the value from the UAVO and return it as a double More...
 
void PlotData::setXMinimum (double val)
 
virtual void PlotData::setXMaximum (double val)
 
void PlotData::setYMinimum (double val)
 
void PlotData::setYMaximum (double val)
 
void PlotData::setXWindowSize (double val)
 
void PlotData::setScalePower (int val)
 
void PlotData::setMeanSamples (int val)
 
void PlotData::setMathFunction (QString val)
 
double PlotData::getXMinimum ()
 
double PlotData::getXMaximum ()
 
double PlotData::getYMinimum ()
 
double PlotData::getYMaximum ()
 
double PlotData::getXWindowSize ()
 
QString PlotData::getUavoName ()
 
QString PlotData::getUavoFieldName ()
 
QString PlotData::getUavoSubFieldName ()
 
bool PlotData::getHaveSubFieldFlag ()
 
int PlotData::getScalePower ()
 
int PlotData::getMeanSamples ()
 
QString PlotData::getMathFunction ()
 
QVector< double > * PlotData::getXData ()
 
QVector< double > * PlotData::getYData ()
 
virtual bool PlotData::append (UAVObject *obj)=0
 
virtual void PlotData::removeStaleData ()=0
 
virtual void PlotData::setUpdatedFlagToTrue ()=0
 
virtual bool PlotData::readAndResetUpdatedFlag ()=0
 
virtual void PlotData::plotNewData (PlotData *, ScopeConfig *, ScopeGadgetWidget *)=0
 
virtual void PlotData::deletePlots (PlotData *)=0
 
virtual void PlotData::clearPlots ()=0
 
 ColorMap::ColorMap (ColorMapType colorMapType=STANDARD)
 
void ColorMap::createJet ()
 
void ColorMap::createStandard ()
 
 ScopeGadget::ScopeGadget (QString classId, ScopeGadgetWidget *widget, QWidget *parent=nullptr)
 
 ScopeGadget::~ScopeGadget ()
 ScopeGadget::~ScopeGadget Scope gadget destructor: deletes the associated scope gadget widget too. More...
 
void ScopeGadget::loadConfiguration (IUAVGadgetConfiguration *config)
 ScopeGadget::loadConfiguration Loads the plugin configuration. More...
 
QList< int > ScopeGadget::context () const
 
QWidget * ScopeGadget::widget ()
 
QString ScopeGadget::contextHelpId () const
 
 ScopeGadgetConfiguration::ScopeGadgetConfiguration (QString classId, QSettings *qSettings=nullptr, QObject *parent=nullptr)
 ScopeGadgetConfiguration::ScopeGadgetConfiguration Constructor for scope gadget settings. More...
 
 ScopeGadgetConfiguration::~ScopeGadgetConfiguration ()
 ScopeGadgetConfiguration::~ScopeGadgetConfiguration Destructor clears 2D and 3D plot data. More...
 
ScopeConfigScopeGadgetConfiguration::getScope ()
 
void ScopeGadgetConfiguration::saveConfig (QSettings *settings) const
 ScopeGadgetConfiguration::saveConfig Saves a configuration. //REDEFINES saveConfig CHILD BEHAVIOR? More...
 
IUAVGadgetConfiguration * ScopeGadgetConfiguration::clone ()
 ScopeGadgetConfiguration::clone Clones a configuration. More...
 
void ScopeGadgetConfiguration::applyGuiConfiguration (Ui::ScopeGadgetOptionsPage *options_page)
 ScopeGadgetConfiguration::applyGuiConfiguration Uses GUI information to create new scopes. More...
 
 ScopeGadgetFactory::ScopeGadgetFactory (QObject *parent=nullptr)
 
 ScopeGadgetFactory::~ScopeGadgetFactory ()
 
Core::IUAVGadgetScopeGadgetFactory::createGadget (QWidget *parent)
 
IUAVGadgetConfiguration * ScopeGadgetFactory::createConfiguration (QSettings *qSettings)
 
IOptionsPage * ScopeGadgetFactory::createOptionsPage (IUAVGadgetConfiguration *config)
 
 ScopeGadgetOptionsPage::ScopeGadgetOptionsPage (ScopeGadgetConfiguration *config, QObject *parent=nullptr)
 
QWidget * ScopeGadgetOptionsPage::createPage (QWidget *parent)
 ScopeGadgetOptionsPage::createPage creates options page widget (uses the UI file) More...
 
void ScopeGadgetOptionsPage::apply ()
 ScopeGadgetOptionsPage::apply Called when the user presses OK. Applies the current values to the scope. More...
 
void ScopeGadgetOptionsPage::finish ()
 
 TimeScaleDraw::TimeScaleDraw ()
 
virtual QwtText TimeScaleDraw::label (double v) const
 
 ScopeGadgetWidget::ScopeGadgetWidget (QWidget *parent=nullptr)
 
 ScopeGadgetWidget::~ScopeGadgetWidget ()
 ScopeGadgetWidget::~ScopeGadgetWidget Destructor. More...
 
QString ScopeGadgetWidget::getUavObjectFieldUnits (QString uavObjectName, QString uavObjectFieldName)
 ScopeGadgetWidget::getUavObjectFieldUnits Gets the UAVOs units, as defined in the XML. More...
 
void ScopeGadgetWidget::connectUAVO (UAVDataObject *obj)
 ScopeGadgetWidget::connectUAVO Connects UAVO update signal, but only if it hasn't yet been connected. More...
 
void ScopeGadgetWidget::setScope (ScopeConfig *val)
 
QMap< QString, PlotData * > ScopeGadgetWidget::getDataSources ()
 
void ScopeGadgetWidget::insertDataSources (QString stringVal, PlotData *dataVal)
 
void ScopeGadgetWidget::addLegend ()
 ScopeGadgetWidget::addLegend Add legend to plot. More...
 
void ScopeGadgetWidget::deleteLegend ()
 ScopeGadgetWidget::deleteLegend Delete legend from plot. More...
 
void ScopeGadgetWidget::clearPlotWidget ()
 ScopeGadgetWidget::clearPlotWidget. More...
 
void ScopeGadgetWidget::startTimer (int)
 ScopeGadgetWidget::startTimer Starts timer. More...
 
void ScopeGadgetWidget::setScopeName (QString val)
 
void ScopeGadgetWidget::mousePressEvent (QMouseEvent *e)
 ScopeGadgetWidget::mousePressEvent Pass mouse press event to QwtPlot. More...
 
void ScopeGadgetWidget::mouseReleaseEvent (QMouseEvent *e)
 ScopeGadgetWidget::mouseReleaseEvent Pass mouse release event to QwtPlot. More...
 
void ScopeGadgetWidget::mouseDoubleClickEvent (QMouseEvent *e)
 ScopeGadgetWidget::mouseDoubleClickEvent Turn legend on and off, then pass double-click even to QwtPlot. More...
 
void ScopeGadgetWidget::mouseMoveEvent (QMouseEvent *e)
 ScopeGadgetWidget::mouseMoveEvent Pass mouse move event to QwtPlot. More...
 
void ScopeGadgetWidget::wheelEvent (QWheelEvent *e)
 ScopeGadgetWidget::wheelEvent Zoom in or out, then pass mouse wheel event to QwtPlot. More...
 
void ScopeGadgetWidget::showEvent (QShowEvent *event)
 ScopeGadgetWidget::showEvent Reimplemented from QwtPlot. More...
 
 HistogramData::HistogramData (QString uavObject, QString uavField, double binWidth, uint numberOfBins)
 HistogramData::HistogramData. More...
 
 HistogramData::~HistogramData ()
 
bool HistogramData::append (UAVObject *obj)
 HistogramData::append Appends data to histogram. More...
 
virtual void HistogramData::removeStaleData ()
 
virtual void HistogramData::plotNewData (PlotData *, ScopeConfig *, ScopeGadgetWidget *)
 HistogramScopeConfig::plotNewData Update plot with new data. More...
 
virtual void HistogramData::deletePlots (PlotData *)
 HistogramScopeConfig::deletePlots Delete all plot data. More...
 
void HistogramData::clearPlots ()
 HistogramScopeConfig::clearPlots Clear all plot data. More...
 
QwtIntervalSeriesData * HistogramData::getIntervalSeriesData ()
 
void HistogramData::setHistogram (QwtPlotHistogram *val)
 
 HistogramScopeConfig::HistogramScopeConfig ()
 HistogramScopeConfig::HistogramScopeConfig Default constructor. More...
 
 HistogramScopeConfig::HistogramScopeConfig (QSettings *qSettings)
 HistogramScopeConfig::HistogramScopeConfig Constructor using the XML settings. More...
 
 HistogramScopeConfig::HistogramScopeConfig (Ui::ScopeGadgetOptionsPage *options_page)
 HistogramScopeConfig::HistogramScopeConfig Constructor using the GUI settings. More...
 
 HistogramScopeConfig::~HistogramScopeConfig ()
 
virtual void HistogramScopeConfig::saveConfiguration (QSettings *qSettings)
 HistogramScopeConfig::saveConfiguration Saves configuration to XML file. More...
 
void HistogramScopeConfig::create (QSettings qSettings)
 
QList< Plot2dCurveConfiguration * > HistogramScopeConfig::getHistogramDataSource ()
 
void HistogramScopeConfig::addHistogramDataSource (Plot2dCurveConfiguration *value)
 
void HistogramScopeConfig::replaceHistogramDataSource (QList< Plot2dCurveConfiguration * > histogramSourceConfigs)
 HistogramScopeConfig::replaceHistogramSource Replaces the list of histogram data sources. More...
 
virtual int HistogramScopeConfig::getScopeType ()
 
double HistogramScopeConfig::getBinWidth ()
 
unsigned int HistogramScopeConfig::getMaxNumberOfBins ()
 
virtual QList
< Plot2dCurveConfiguration * > 
HistogramScopeConfig::getDataSourceConfigs ()
 
void HistogramScopeConfig::setBinWidth (double val)
 
void HistogramScopeConfig::setMaxNumberOfBins (unsigned int val)
 
virtual ScopeConfigHistogramScopeConfig::cloneScope (ScopeConfig *histogramSourceConfigs)
 HistogramScopeConfig::cloneScope Clones scope from existing GUI configuration. More...
 
virtual void HistogramScopeConfig::setGuiConfiguration (Ui::ScopeGadgetOptionsPage *options_page)
 HistogramScopeConfig::setGuiConfiguration Set the GUI elements based on values from the XML settings file. More...
 
virtual void HistogramScopeConfig::loadConfiguration (ScopeGadgetWidget *scopeGadgetWidget)
 HistogramScopeConfig::loadConfiguration loads the plot configuration into the scope gadget widget. More...
 
virtual void HistogramScopeConfig::preparePlot (ScopeGadgetWidget *)
 HistogramScopeConfig::preparePlot Prepares the Qwt plot colors and axes. More...
 
void HistogramScopeConfig::configureAxes (ScopeGadgetWidget *)
 HistogramScopeConfig::configureAxes Configure the axes. More...
 
 Plot2dData::Plot2dData (QString uavObject, QString uavField)
 Plot2dData::Plot2dData Default 2d constructor. More...
 
 Plot2dData::~Plot2dData ()
 
virtual void Plot2dData::setUpdatedFlagToTrue ()
 
virtual bool Plot2dData::readAndResetUpdatedFlag ()
 
 ScatterplotData::ScatterplotData (QString uavObject, QString uavField)
 
 ScatterplotData::~ScatterplotData ()
 
virtual void ScatterplotData::deletePlots (PlotData *)
 ScatterplotData::deletePlots Delete all plot data. More...
 
void ScatterplotData::clearPlots ()
 ScatterplotData::clearPlots Clear all plot data. More...
 
void ScatterplotData::setCurve (QwtPlotCurve *val)
 
 SeriesPlotData::SeriesPlotData (QString uavObject, QString uavField)
 
 SeriesPlotData::~SeriesPlotData ()
 
bool SeriesPlotData::append (UAVObject *obj)
 Append new data to the plot. More...
 
virtual void SeriesPlotData::removeStaleData ()
 Removes the old data from the buffer. More...
 
virtual void SeriesPlotData::plotNewData (PlotData *, ScopeConfig *, ScopeGadgetWidget *)
 Scatterplot2dScopeConfig::plotNewData Update plot with new data. More...
 
 TimeSeriesPlotData::TimeSeriesPlotData (QString uavObject, QString uavField)
 
 TimeSeriesPlotData::~TimeSeriesPlotData ()
 
bool TimeSeriesPlotData::append (UAVObject *obj)
 TimeSeriesPlotData::append Appends data to time series data. More...
 
virtual void TimeSeriesPlotData::removeStaleData ()
 TimeSeriesPlotData::removeStaleData Removes stale data from time series plot. More...
 
virtual void TimeSeriesPlotData::plotNewData (PlotData *, ScopeConfig *, ScopeGadgetWidget *)
 Scatterplot2dScopeConfig::plotNewData Update plot with new data. More...
 
 Scatterplot2dScopeConfig::Scatterplot2dScopeConfig ()
 Scatterplot2dScopeConfig::Scatterplot2dScopeConfig Default constructor. More...
 
 Scatterplot2dScopeConfig::Scatterplot2dScopeConfig (QSettings *qSettings)
 Scatterplot2dScopeConfig::Scatterplot2dScopeConfig Constructor using the XML settings. More...
 
 Scatterplot2dScopeConfig::Scatterplot2dScopeConfig (Ui::ScopeGadgetOptionsPage *options_page)
 Scatterplot2dScopeConfig::Scatterplot2dScopeConfig Constructor using the GUI settings. More...
 
 Scatterplot2dScopeConfig::~Scatterplot2dScopeConfig ()
 
virtual void Scatterplot2dScopeConfig::saveConfiguration (QSettings *qSettings)
 Scatterplot2dScopeConfig::saveConfiguration Saves configuration to XML file. More...
 
void Scatterplot2dScopeConfig::create (QSettings qSettings)
 
QList< Plot2dCurveConfiguration * > Scatterplot2dScopeConfig::getScatterplotDataSource ()
 
void Scatterplot2dScopeConfig::addScatterplotDataSource (Plot2dCurveConfiguration *value)
 
void Scatterplot2dScopeConfig::replaceScatterplotDataSource (QList< Plot2dCurveConfiguration * > scatterplotSourceConfigs)
 Scatterplot2dScopeConfig::replaceScatterplotDataSource Replaces the list of scatterplot data sources. More...
 
virtual int Scatterplot2dScopeConfig::getScopeType ()
 
double Scatterplot2dScopeConfig::getTimeHorizon ()
 
virtual QList
< Plot2dCurveConfiguration * > 
Scatterplot2dScopeConfig::getDataSourceConfigs ()
 
Scatterplot2dType Scatterplot2dScopeConfig::getScatterplot2dType ()
 
void Scatterplot2dScopeConfig::setTimeHorizon (double val)
 
void Scatterplot2dScopeConfig::setScatterplot2dType (Scatterplot2dType val)
 
virtual void Scatterplot2dScopeConfig::setGuiConfiguration (Ui::ScopeGadgetOptionsPage *options_page)
 Scatterplot2dScopeConfig::setGuiConfigurationSet the GUI elements based on values from the XML settings file. More...
 
virtual ScopeConfigScatterplot2dScopeConfig::cloneScope (ScopeConfig *Scatterplot2dScopeConfig)
 Scatterplot2dScopeConfig::cloneScope Clones scope from existing GUI configuration. More...
 
virtual void Scatterplot2dScopeConfig::loadConfiguration (ScopeGadgetWidget *scopeGadgetWidget)
 Scatterplot2dScopeConfig::loadConfiguration loads the plot configuration into the scope gadget widget. More...
 
virtual void Scatterplot2dScopeConfig::preparePlot (ScopeGadgetWidget *)
 Scatterplot2dScopeConfig::preparePlot Prepares the Qwt plot colors and axes. More...
 
void Scatterplot2dScopeConfig::configureAxes (ScopeGadgetWidget *)
 Scatterplot2dScopeConfig::configureAxes Configure the axes. More...
 
virtual int Scopes2dConfig::getScopeDimensions ()
 
 Plot3dData::Plot3dData (QString uavObject, QString uavField)
 Plot3dData::Plot3dData Default 3d constructor. More...
 
 Plot3dData::~Plot3dData ()
 
void Plot3dData::setZMinimum (double val)
 
void Plot3dData::setZMaximum (double val)
 
double Plot3dData::getZMinimum ()
 
double Plot3dData::getZMaximum ()
 
virtual void Plot3dData::setUpdatedFlagToTrue ()
 
virtual bool Plot3dData::readAndResetUpdatedFlag ()
 
virtual int Scopes3dConfig::getScopeDimensions ()
 
 SpectrogramData::SpectrogramData (QString uavObject, QString uavField, double samplingFrequency, unsigned int windowWidth, double timeHorizon)
 SpectrogramData. More...
 
 SpectrogramData::~SpectrogramData ()
 
bool SpectrogramData::append (UAVObject *obj)
 Append new data to the plot. More...
 
virtual void SpectrogramData::removeStaleData ()
 Removes the old data from the buffer. More...
 
double SpectrogramData::readAndResetAutoscaleValue ()
 readAndResetAutoscaleFlag reads the flag value and resets it More...
 
virtual void SpectrogramData::plotNewData (PlotData *, ScopeConfig *, ScopeGadgetWidget *)
 SpectrogramScopeConfig::plotNewData Update plot with new data. More...
 
virtual void SpectrogramData::deletePlots (PlotData *)
 SpectrogramScopeConfig::deletePlots Delete all plot data. More...
 
virtual void SpectrogramData::setXMaximum (double val)
 
virtual void SpectrogramData::setYMaximum (double val)
 
virtual void SpectrogramData::setZMaximum (double val)
 
void SpectrogramData::clearPlots ()
 SpectrogramScopeConfig::clearPlots Clear all plot data. More...
 
QwtMatrixRasterData * SpectrogramData::getRasterData ()
 
void SpectrogramData::setSpectrogram (QwtPlotSpectrogram *val)
 
 SpectrogramScopeConfig::SpectrogramScopeConfig ()
 SpectrogramScopeConfig::SpectrogramScopeConfig Default constructor. More...
 
 SpectrogramScopeConfig::SpectrogramScopeConfig (QSettings *qSettings)
 SpectrogramScopeConfig::SpectrogramScopeConfig Constructor using the XML settings. More...
 
 SpectrogramScopeConfig::SpectrogramScopeConfig (Ui::ScopeGadgetOptionsPage *options_page)
 SpectrogramScopeConfig::SpectrogramScopeConfig Constructor using the GUI settings. More...
 
 SpectrogramScopeConfig::~SpectrogramScopeConfig ()
 
virtual void SpectrogramScopeConfig::saveConfiguration (QSettings *qSettings)
 SpectrogramScopeConfig::saveConfiguration Saves configuration to XML file. More...
 
void SpectrogramScopeConfig::create (QSettings qSettings)
 
QList< Plot3dCurveConfiguration * > SpectrogramScopeConfig::getSpectrogramDataSource ()
 
void SpectrogramScopeConfig::addSpectrogramDataSource (Plot3dCurveConfiguration *value)
 
void SpectrogramScopeConfig::replaceSpectrogramDataSource (QList< Plot3dCurveConfiguration * > spectrogramSourceConfigs)
 SpectrogramScopeConfig::replaceSpectrogramDataSource Replaces the list of spectrogram data sources. More...
 
double SpectrogramScopeConfig::getSamplingFrequency ()
 
double SpectrogramScopeConfig::getZMaximum ()
 
unsigned int SpectrogramScopeConfig::getWindowWidth ()
 
double SpectrogramScopeConfig::getTimeHorizon ()
 
virtual QList
< Plot3dCurveConfiguration * > 
SpectrogramScopeConfig::getDataSourceConfigs ()
 
virtual int SpectrogramScopeConfig::getScopeType ()
 
void SpectrogramScopeConfig::setSamplingFrequency (double val)
 
void SpectrogramScopeConfig::setZMaximum (double val)
 
void SpectrogramScopeConfig::setWindowWidth (unsigned int val)
 
void SpectrogramScopeConfig::setTimeHorizon (double val)
 
virtual void SpectrogramScopeConfig::setGuiConfiguration (Ui::ScopeGadgetOptionsPage *options_page)
 SpectrogramScopeConfig::setGuiConfiguration Set the GUI elements based on values from the XML settings file. More...
 
virtual ScopeConfigSpectrogramScopeConfig::cloneScope (ScopeConfig *)
 SpectrogramScopeConfig::cloneScope Clones scope from existing GUI configuration. More...
 
virtual void SpectrogramScopeConfig::loadConfiguration (ScopeGadgetWidget *scopeGadgetWidget)
 SpectrogramScopeConfig::loadConfiguration loads the plot configuration into the scope gadget widget. More...
 
virtual void SpectrogramScopeConfig::preparePlot (ScopeGadgetWidget *)
 SpectrogramScopeConfig::preparePlot Prepares the Qwt plot colors and axes. More...
 
void SpectrogramScopeConfig::configureAxes (ScopeGadgetWidget *)
 SpectrogramScopeConfig::configureAxes Configure the axes. More...
 
ColorMap::ColorMapType SpectrogramScopeConfig::getColorMap ()
 
virtual int ScopeConfig::getScopeDimensions ()=0
 
virtual void ScopeConfig::saveConfiguration (QSettings *qSettings)=0
 
virtual int ScopeConfig::getScopeType ()=0
 
virtual void ScopeConfig::loadConfiguration (ScopeGadgetWidget *)=0
 
virtual void ScopeConfig::setGuiConfiguration (Ui::ScopeGadgetOptionsPage *)=0
 
int ScopeConfig::getRefreshInterval ()
 
void ScopeConfig::setRefreshInterval (int val)
 
virtual void ScopeConfig::preparePlot (ScopeGadgetWidget *)=0
 
virtual ScopeConfigScopeConfig::cloneScope (ScopeConfig *histogramSourceConfigs)=0
 
QString ScopeConfig::getUavObjectFieldUnits (QString uavObjectName, QString uavObjectFieldName)
 

Variables

QwtScaleWidget * PlotData::rightAxis
 
QVector< double > * PlotData::xData
 
QVector< double > * PlotData::yData
 
double PlotData::m_xWindowSize
 
double PlotData::xMinimum
 
double PlotData::xMaximum
 
double PlotData::yMinimum
 
double PlotData::yMaximum
 
QString PlotData::uavObjectName
 
QString PlotData::uavFieldName
 
QString PlotData::uavSubFieldName
 
bool PlotData::haveSubField
 
int PlotData::scalePower
 
unsigned int PlotData::meanSamples
 
QString PlotData::mathFunction
 
double PlotData::meanSum
 
double PlotData::correctionSum
 
int PlotData::correctionCount
 
QwtPlotGrid * ScopeGadgetWidget::m_grid
 
QwtLegend * ScopeGadgetWidget::m_legend
 
QVector< double > * Plot2dData::yDataHistory
 
QwtPlotCurve * ScatterplotData::curve
 
QString Plot2dCurveConfiguration::uavObjectName
 
QString Plot2dCurveConfiguration::uavFieldName
 
int Plot2dCurveConfiguration::yScalePower
 
QRgb Plot2dCurveConfiguration::color
 
unsigned int Plot2dCurveConfiguration::yMeanSamples
 
QString Plot2dCurveConfiguration::mathFunction
 
QVector< double > * Plot3dData::zData
 
QVector< double > * Plot3dData::zDataHistory
 
QVector< double > * Plot3dData::timeDataHistory
 
double Plot3dData::zMinimum
 
double Plot3dData::zMaximum
 
QString Plot3dCurveConfiguration::uavObjectName
 
QString Plot3dCurveConfiguration::uavFieldName
 
int Plot3dCurveConfiguration::yScalePower
 
QRgb Plot3dCurveConfiguration::color
 
int Plot3dCurveConfiguration::yMeanSamples
 
QString Plot3dCurveConfiguration::mathFunction
 
int ScopeConfig::m_refreshInterval
 
PlotDimensions ScopeConfig::m_plotDimensions
 

Detailed Description

The scope Gadget, graphically plots the states of UAVObjects.

The scope gadget configuration, sets up the configuration for one single scope.

Enumeration Type Documentation

The ColorMapType enum Defines the different type of color maps.

Enumerator
STANDARD 
JET 

Definition at line 124 of file plotdata.h.

The Plot2dType enum Defines the different type of plots.

Enumerator
NO2DPLOT 
SCATTERPLOT2D 
HISTOGRAM 
POLARPLOT 

Definition at line 57 of file scopes2dconfig.h.

The Plot3dType enum Defines the different type of plots.

Enumerator
NO3DPLOT 
SCATTERPLOT3D 
SPECTROGRAM 

Definition at line 57 of file scopes3dconfig.h.

The Plot3dType enum Defines the different type of plots.

Enumerator
PLOT2D 
PLOT3D 

Definition at line 50 of file scopesconfig.h.

The Scatterplot2dType enum Defines the different type of plots.

Enumerator
SERIES2D 
TIMESERIES2D 

Definition at line 42 of file scatterplotscopeconfig.h.

The SpectrogramType enum Defines the different type of spectrogram plots.

Enumerator
VIBRATIONANALYSIS 
CUSTOM_SPECTROGRAM 

Definition at line 42 of file spectrogramscopeconfig.h.

Enumerator
UR_UAVOBJECT 
UR_UAVFIELD 
UR_SCALE 
UR_COLOR 
UR_MEAN 
UR_MATHFUNCTION 

Definition at line 57 of file scopegadgetoptionspage.h.

Function Documentation

void HistogramScopeConfig::addHistogramDataSource ( Plot2dCurveConfiguration value)
inline

Definition at line 48 of file histogramscopeconfig.h.

void ScopeGadgetWidget::addLegend ( )

ScopeGadgetWidget::addLegend Add legend to plot.

Definition at line 295 of file scopegadgetwidget.cpp.

void Scatterplot2dScopeConfig::addScatterplotDataSource ( Plot2dCurveConfiguration value)
inline

Definition at line 56 of file scatterplotscopeconfig.h.

void SpectrogramScopeConfig::addSpectrogramDataSource ( Plot3dCurveConfiguration value)
inline

Definition at line 56 of file spectrogramscopeconfig.h.

bool HistogramData::append ( UAVObject obj)
virtual

HistogramData::append Appends data to histogram.

Parameters
objUAVO with new data
Returns

Implements PlotData.

Definition at line 89 of file histogramplotdata.cpp.

bool SpectrogramData::append ( UAVObject multiObj)
virtual

Append new data to the plot.

SpectrogramData::append Appends data to spectrogram.

Parameters
objUAVO with new data
Returns

Implements PlotData.

Definition at line 146 of file spectrogramplotdata.cpp.

bool SeriesPlotData::append ( UAVObject obj)
virtual

Append new data to the plot.

SeriesPlotData::append Appends data to series plot.

Parameters
objUAVO with new data
Returns

Implements PlotData.

Definition at line 83 of file scatterplotdata.cpp.

virtual bool PlotData::append ( UAVObject obj)
pure virtual
bool TimeSeriesPlotData::append ( UAVObject obj)
virtual

TimeSeriesPlotData::append Appends data to time series data.

Parameters
objUAVO with new data
Returns

Implements PlotData.

Definition at line 150 of file scatterplotdata.cpp.

void ScopeGadgetOptionsPage::apply ( )
virtual

ScopeGadgetOptionsPage::apply Called when the user presses OK. Applies the current values to the scope.

Implements Core::IOptionsPage.

Definition at line 478 of file scopegadgetoptionspage.cpp.

void ScopeGadgetConfiguration::applyGuiConfiguration ( Ui::ScopeGadgetOptionsPage *  options_page)

ScopeGadgetConfiguration::applyGuiConfiguration Uses GUI information to create new scopes.

Parameters
options_page

Definition at line 109 of file scopegadgetconfiguration.cpp.

void ScatterplotData::clearPlots ( )
virtual

ScatterplotData::clearPlots Clear all plot data.

Implements PlotData.

Definition at line 257 of file scatterplotdata.cpp.

void HistogramData::clearPlots ( )
virtual

HistogramScopeConfig::clearPlots Clear all plot data.

Implements PlotData.

Definition at line 199 of file histogramplotdata.cpp.

void SpectrogramData::clearPlots ( )
virtual

SpectrogramScopeConfig::clearPlots Clear all plot data.

Implements PlotData.

Definition at line 354 of file spectrogramplotdata.cpp.

virtual void PlotData::clearPlots ( )
pure virtual
void ScopeGadgetWidget::clearPlotWidget ( )
IUAVGadgetConfiguration * ScopeGadgetConfiguration::clone ( )
virtual

ScopeGadgetConfiguration::clone Clones a configuration.

Returns

Implements Core::IUAVGadgetConfiguration.

Definition at line 156 of file scopegadgetconfiguration.cpp.

ScopeConfig * HistogramScopeConfig::cloneScope ( ScopeConfig originalScope)
virtual

HistogramScopeConfig::cloneScope Clones scope from existing GUI configuration.

Parameters
originalScope
Returns

Implements ScopeConfig.

Definition at line 139 of file histogramscopeconfig.cpp.

virtual ScopeConfig* ScopeConfig::cloneScope ( ScopeConfig histogramSourceConfigs)
pure virtual
ScopeConfig * Scatterplot2dScopeConfig::cloneScope ( ScopeConfig originalScope)
virtual

Scatterplot2dScopeConfig::cloneScope Clones scope from existing GUI configuration.

Parameters
originalScope
Returns

Implements ScopeConfig.

Definition at line 139 of file scatterplotscopeconfig.cpp.

ScopeConfig * SpectrogramScopeConfig::cloneScope ( ScopeConfig originalScope)
virtual

SpectrogramScopeConfig::cloneScope Clones scope from existing GUI configuration.

Parameters
originalScope
Returns

Implements ScopeConfig.

Definition at line 128 of file spectrogramscopeconfig.cpp.

ColorMap::ColorMap ( ColorMapType  colorMapType = STANDARD)
inline

Definition at line 126 of file plotdata.h.

void HistogramScopeConfig::configureAxes ( ScopeGadgetWidget scopeGadgetWidget)

HistogramScopeConfig::configureAxes Configure the axes.

Parameters
scopeGadgetWidget

Definition at line 398 of file histogramscopeconfig.cpp.

void Scatterplot2dScopeConfig::configureAxes ( ScopeGadgetWidget scopeGadgetWidget)

Scatterplot2dScopeConfig::configureAxes Configure the axes.

Parameters
scopeGadgetWidget

Definition at line 415 of file scatterplotscopeconfig.cpp.

void SpectrogramScopeConfig::configureAxes ( ScopeGadgetWidget scopeGadgetWidget)

SpectrogramScopeConfig::configureAxes Configure the axes.

Parameters
scopeGadgetWidget

Definition at line 377 of file spectrogramscopeconfig.cpp.

void ScopeGadgetWidget::connectUAVO ( UAVDataObject obj)

ScopeGadgetWidget::connectUAVO Connects UAVO update signal, but only if it hasn't yet been connected.

Parameters
obj

Definition at line 438 of file scopegadgetwidget.cpp.

QList<int> ScopeGadget::context ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 51 of file scopegadget.h.

QString ScopeGadget::contextHelpId ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 53 of file scopegadget.h.

void HistogramScopeConfig::create ( QSettings  qSettings)
void Scatterplot2dScopeConfig::create ( QSettings  qSettings)
void SpectrogramScopeConfig::create ( QSettings  qSettings)
IUAVGadgetConfiguration * ScopeGadgetFactory::createConfiguration ( QSettings *  qSettings)
virtual

Reimplemented from Core::IUAVGadgetFactory.

Definition at line 50 of file scopegadgetfactory.cpp.

Core::IUAVGadget * ScopeGadgetFactory::createGadget ( QWidget *  parent)
virtual

Implements Core::IUAVGadgetFactory.

Definition at line 43 of file scopegadgetfactory.cpp.

void ColorMap::createJet ( )
inline

Definition at line 140 of file plotdata.h.

IOptionsPage * ScopeGadgetFactory::createOptionsPage ( IUAVGadgetConfiguration *  config)
virtual

Reimplemented from Core::IUAVGadgetFactory.

Definition at line 55 of file scopegadgetfactory.cpp.

QWidget * ScopeGadgetOptionsPage::createPage ( QWidget *  parent)
virtual

ScopeGadgetOptionsPage::createPage creates options page widget (uses the UI file)

Parameters
parentParent QWidghet
Returns
Returns options page widget

Implements Core::IOptionsPage.

Definition at line 59 of file scopegadgetoptionspage.cpp.

void ColorMap::createStandard ( )
inline

Definition at line 157 of file plotdata.h.

void ScopeGadgetWidget::deleteLegend ( )

ScopeGadgetWidget::deleteLegend Delete legend from plot.

Definition at line 282 of file scopegadgetwidget.cpp.

void ScatterplotData::deletePlots ( PlotData scatterplotData)
virtual

ScatterplotData::deletePlots Delete all plot data.

Implements PlotData.

Definition at line 246 of file scatterplotdata.cpp.

void HistogramData::deletePlots ( PlotData histogramData)
virtual

HistogramScopeConfig::deletePlots Delete all plot data.

Implements PlotData.

Definition at line 179 of file histogramplotdata.cpp.

void SpectrogramData::deletePlots ( PlotData spectrogramData)
virtual

SpectrogramScopeConfig::deletePlots Delete all plot data.

Implements PlotData.

Definition at line 339 of file spectrogramplotdata.cpp.

virtual void PlotData::deletePlots ( PlotData )
pure virtual
void ScopeGadgetOptionsPage::finish ( )
virtual

Implements Core::IOptionsPage.

Definition at line 637 of file scopegadgetoptionspage.cpp.

double HistogramScopeConfig::getBinWidth ( )
inline

Definition at line 56 of file histogramscopeconfig.h.

ColorMap::ColorMapType SpectrogramScopeConfig::getColorMap ( )
inline

Definition at line 85 of file spectrogramscopeconfig.h.

virtual QList<Plot2dCurveConfiguration *> HistogramScopeConfig::getDataSourceConfigs ( )
inlinevirtual

Definition at line 58 of file histogramscopeconfig.h.

virtual QList<Plot2dCurveConfiguration *> Scatterplot2dScopeConfig::getDataSourceConfigs ( )
inlinevirtual

Definition at line 65 of file scatterplotscopeconfig.h.

virtual QList<Plot3dCurveConfiguration *> SpectrogramScopeConfig::getDataSourceConfigs ( )
inlinevirtual

Definition at line 67 of file spectrogramscopeconfig.h.

QMap<QString, PlotData *> ScopeGadgetWidget::getDataSources ( )
inline

Definition at line 94 of file scopegadgetwidget.h.

bool PlotData::getHaveSubFieldFlag ( )
inline

Definition at line 70 of file plotdata.h.

QList<Plot2dCurveConfiguration *> HistogramScopeConfig::getHistogramDataSource ( )
inline

Definition at line 47 of file histogramscopeconfig.h.

QwtIntervalSeriesData* HistogramData::getIntervalSeriesData ( )
inline

Definition at line 57 of file histogramplotdata.h.

QString PlotData::getMathFunction ( )
inline

Definition at line 74 of file plotdata.h.

unsigned int HistogramScopeConfig::getMaxNumberOfBins ( )
inline

Definition at line 57 of file histogramscopeconfig.h.

int PlotData::getMeanSamples ( )
inline

Definition at line 73 of file plotdata.h.

QwtMatrixRasterData* SpectrogramData::getRasterData ( )
inline

Definition at line 81 of file spectrogramplotdata.h.

int ScopeConfig::getRefreshInterval ( )
inline

Definition at line 66 of file scopesconfig.h.

double SpectrogramScopeConfig::getSamplingFrequency ( )
inline

Definition at line 63 of file spectrogramscopeconfig.h.

int PlotData::getScalePower ( )
inline

Definition at line 72 of file plotdata.h.

Scatterplot2dType Scatterplot2dScopeConfig::getScatterplot2dType ( )
inline

Definition at line 69 of file scatterplotscopeconfig.h.

QList<Plot2dCurveConfiguration *> Scatterplot2dScopeConfig::getScatterplotDataSource ( )
inline

Definition at line 52 of file scatterplotscopeconfig.h.

ScopeConfig* ScopeGadgetConfiguration::getScope ( )
inline

Definition at line 50 of file scopegadgetconfiguration.h.

virtual int Scopes3dConfig::getScopeDimensions ( )
inlinevirtual

Implements ScopeConfig.

Definition at line 59 of file scopes3dconfig.h.

virtual int ScopeConfig::getScopeDimensions ( )
pure virtual

Implemented in Scopes2dConfig, and Scopes3dConfig.

virtual int Scopes2dConfig::getScopeDimensions ( )
inlinevirtual

Implements ScopeConfig.

Definition at line 64 of file scopes2dconfig.h.

virtual int HistogramScopeConfig::getScopeType ( )
inlinevirtual

Implements ScopeConfig.

Definition at line 55 of file histogramscopeconfig.h.

virtual int ScopeConfig::getScopeType ( )
pure virtual
virtual int Scatterplot2dScopeConfig::getScopeType ( )
inlinevirtual

Implements ScopeConfig.

Definition at line 63 of file scatterplotscopeconfig.h.

virtual int SpectrogramScopeConfig::getScopeType ( )
inlinevirtual

Implements ScopeConfig.

Definition at line 71 of file spectrogramscopeconfig.h.

QList<Plot3dCurveConfiguration *> SpectrogramScopeConfig::getSpectrogramDataSource ( )
inline

Definition at line 52 of file spectrogramscopeconfig.h.

double Scatterplot2dScopeConfig::getTimeHorizon ( )
inline

Definition at line 64 of file scatterplotscopeconfig.h.

double SpectrogramScopeConfig::getTimeHorizon ( )
inline

Definition at line 66 of file spectrogramscopeconfig.h.

QString ScopeConfig::getUavObjectFieldUnits ( QString  uavObjectName,
QString  uavObjectFieldName 
)
inlineprotected

Definition at line 77 of file scopesconfig.h.

QString ScopeGadgetWidget::getUavObjectFieldUnits ( QString  uavObjectName,
QString  uavObjectFieldName 
)

ScopeGadgetWidget::getUavObjectFieldUnits Gets the UAVOs units, as defined in the XML.

Parameters
uavObjectName
uavObjectFieldName
Returns

Definition at line 398 of file scopegadgetwidget.cpp.

QString PlotData::getUavoFieldName ( )
inline

Definition at line 68 of file plotdata.h.

QString PlotData::getUavoName ( )
inline

Definition at line 67 of file plotdata.h.

QString PlotData::getUavoSubFieldName ( )
inline

Definition at line 69 of file plotdata.h.

unsigned int SpectrogramScopeConfig::getWindowWidth ( )
inline

Definition at line 65 of file spectrogramscopeconfig.h.

QVector<double>* PlotData::getXData ( )
inline

Definition at line 76 of file plotdata.h.

double PlotData::getXMaximum ( )
inline

Definition at line 62 of file plotdata.h.

double PlotData::getXMinimum ( )
inline

Definition at line 61 of file plotdata.h.

double PlotData::getXWindowSize ( )
inline

Definition at line 65 of file plotdata.h.

QVector<double>* PlotData::getYData ( )
inline

Definition at line 77 of file plotdata.h.

double PlotData::getYMaximum ( )
inline

Definition at line 64 of file plotdata.h.

double PlotData::getYMinimum ( )
inline

Definition at line 63 of file plotdata.h.

double Plot3dData::getZMaximum ( )
inline

Definition at line 55 of file plotdata3d.h.

double SpectrogramScopeConfig::getZMaximum ( )
inline

Definition at line 64 of file spectrogramscopeconfig.h.

double Plot3dData::getZMinimum ( )
inline

Definition at line 54 of file plotdata3d.h.

HistogramData::HistogramData ( QString  uavObject,
QString  uavField,
double  binWidth,
uint  numberOfBins 
)

HistogramData::HistogramData.

Parameters
uavObject
uavField
binWidth
numberOfBins

Definition at line 48 of file histogramplotdata.cpp.

HistogramScopeConfig::HistogramScopeConfig ( )

HistogramScopeConfig::HistogramScopeConfig Default constructor.

Definition at line 44 of file histogramscopeconfig.cpp.

HistogramScopeConfig::HistogramScopeConfig ( QSettings *  qSettings)

HistogramScopeConfig::HistogramScopeConfig Constructor using the XML settings.

Parameters
qSettingssettings XML object

Definition at line 55 of file histogramscopeconfig.cpp.

HistogramScopeConfig::HistogramScopeConfig ( Ui::ScopeGadgetOptionsPage *  options_page)

HistogramScopeConfig::HistogramScopeConfig Constructor using the GUI settings.

Parameters
options_pageGUI settings preference pane

Definition at line 91 of file histogramscopeconfig.cpp.

void ScopeGadgetWidget::insertDataSources ( QString  stringVal,
PlotData dataVal 
)
inline

Definition at line 95 of file scopegadgetwidget.h.

virtual QwtText TimeScaleDraw::label ( double  v) const
inlinevirtual

Definition at line 69 of file scopegadgetwidget.h.

void ScopeGadget::loadConfiguration ( IUAVGadgetConfiguration *  config)
virtual

ScopeGadget::loadConfiguration Loads the plugin configuration.

Parameters
config

Reimplemented from Core::IUAVGadget.

Definition at line 46 of file scopegadget.cpp.

virtual void ScopeConfig::loadConfiguration ( ScopeGadgetWidget )
pure virtual
void HistogramScopeConfig::loadConfiguration ( ScopeGadgetWidget scopeGadgetWidget)
virtual

HistogramScopeConfig::loadConfiguration loads the plot configuration into the scope gadget widget.

Parameters
scopeGadgetWidget

Implements ScopeConfig.

Definition at line 221 of file histogramscopeconfig.cpp.

void Scatterplot2dScopeConfig::loadConfiguration ( ScopeGadgetWidget scopeGadgetWidget)
virtual

Scatterplot2dScopeConfig::loadConfiguration loads the plot configuration into the scope gadget widget.

Parameters
scopeGadgetWidget

Implements ScopeConfig.

Definition at line 222 of file scatterplotscopeconfig.cpp.

void SpectrogramScopeConfig::loadConfiguration ( ScopeGadgetWidget scopeGadgetWidget)
virtual

SpectrogramScopeConfig::loadConfiguration loads the plot configuration into the scope gadget widget.

Parameters
scopeGadgetWidget

Implements ScopeConfig.

Definition at line 212 of file spectrogramscopeconfig.cpp.

void ScopeGadgetWidget::mouseDoubleClickEvent ( QMouseEvent *  e)
protected

ScopeGadgetWidget::mouseDoubleClickEvent Turn legend on and off, then pass double-click even to QwtPlot.

Parameters
e

Definition at line 197 of file scopegadgetwidget.cpp.

void ScopeGadgetWidget::mouseMoveEvent ( QMouseEvent *  e)
protected

ScopeGadgetWidget::mouseMoveEvent Pass mouse move event to QwtPlot.

Parameters
e

Definition at line 217 of file scopegadgetwidget.cpp.

void ScopeGadgetWidget::mousePressEvent ( QMouseEvent *  e)
protected

ScopeGadgetWidget::mousePressEvent Pass mouse press event to QwtPlot.

Parameters
e

Definition at line 178 of file scopegadgetwidget.cpp.

void ScopeGadgetWidget::mouseReleaseEvent ( QMouseEvent *  e)
protected

ScopeGadgetWidget::mouseReleaseEvent Pass mouse release event to QwtPlot.

Parameters
e

Definition at line 187 of file scopegadgetwidget.cpp.

Plot2dData::Plot2dData ( QString  p_uavObject,
QString  p_uavFieldName 
)

Plot2dData::Plot2dData Default 2d constructor.

Parameters
p_uavObjectThe plotted UAVO name
p_uavFieldNameThe plotted UAVO field name

Definition at line 42 of file plotdata.cpp.

Plot3dData::Plot3dData ( QString  p_uavObject,
QString  p_uavFieldName 
)

Plot3dData::Plot3dData Default 3d constructor.

Parameters
p_uavObjectThe plotted UAVO name
p_uavFieldNameThe plotted UAVO field name

Definition at line 80 of file plotdata.cpp.

void HistogramData::plotNewData ( PlotData plot2dData,
ScopeConfig scopeConfig,
ScopeGadgetWidget scopeGadgetWidget 
)
virtual

HistogramScopeConfig::plotNewData Update plot with new data.

Parameters
scopeGadgetWidget

Implements PlotData.

Definition at line 72 of file histogramplotdata.cpp.

void SpectrogramData::plotNewData ( PlotData plot3dData,
ScopeConfig scopeConfig,
ScopeGadgetWidget scopeGadgetWidget 
)
virtual

SpectrogramScopeConfig::plotNewData Update plot with new data.

Parameters
scopeGadgetWidget

Implements PlotData.

Definition at line 115 of file spectrogramplotdata.cpp.

virtual void PlotData::plotNewData ( PlotData ,
ScopeConfig ,
ScopeGadgetWidget  
)
pure virtual
void SeriesPlotData::plotNewData ( PlotData plot2dData,
ScopeConfig scopeConfig,
ScopeGadgetWidget scopeGadgetWidget 
)
virtual

Scatterplot2dScopeConfig::plotNewData Update plot with new data.

Parameters
scopeGadgetWidget

Implements PlotData.

Definition at line 66 of file scatterplotdata.cpp.

void TimeSeriesPlotData::plotNewData ( PlotData plot2dData,
ScopeConfig scopeConfig,
ScopeGadgetWidget scopeGadgetWidget 
)
virtual

Scatterplot2dScopeConfig::plotNewData Update plot with new data.

Parameters
scopeGadgetWidget

Implements PlotData.

Definition at line 44 of file scatterplotdata.cpp.

virtual void ScopeConfig::preparePlot ( ScopeGadgetWidget )
pure virtual
void HistogramScopeConfig::preparePlot ( ScopeGadgetWidget scopeGadgetWidget)
virtual

HistogramScopeConfig::preparePlot Prepares the Qwt plot colors and axes.

Parameters
scopeGadgetWidget

Implements ScopeConfig.

Definition at line 369 of file histogramscopeconfig.cpp.

void Scatterplot2dScopeConfig::preparePlot ( ScopeGadgetWidget scopeGadgetWidget)
virtual

Scatterplot2dScopeConfig::preparePlot Prepares the Qwt plot colors and axes.

Parameters
scopeGadgetWidget

Implements ScopeConfig.

Definition at line 387 of file scatterplotscopeconfig.cpp.

void SpectrogramScopeConfig::preparePlot ( ScopeGadgetWidget scopeGadgetWidget)
virtual

SpectrogramScopeConfig::preparePlot Prepares the Qwt plot colors and axes.

Parameters
scopeGadgetWidget

Implements ScopeConfig.

Definition at line 353 of file spectrogramscopeconfig.cpp.

double SpectrogramData::readAndResetAutoscaleValue ( )
inline

readAndResetAutoscaleFlag reads the flag value and resets it

Returns

Definition at line 67 of file spectrogramplotdata.h.

virtual bool Plot2dData::readAndResetUpdatedFlag ( )
inlinevirtual

Implements PlotData.

Definition at line 50 of file plotdata2d.h.

virtual bool Plot3dData::readAndResetUpdatedFlag ( )
inlinevirtual

Implements PlotData.

Definition at line 58 of file plotdata3d.h.

virtual bool PlotData::readAndResetUpdatedFlag ( )
pure virtual

Implemented in Plot3dData, and Plot2dData.

virtual void HistogramData::removeStaleData ( )
inlinevirtual

Implements PlotData.

Definition at line 52 of file histogramplotdata.h.

virtual void SpectrogramData::removeStaleData ( )
inlinevirtual

Removes the old data from the buffer.

Implements PlotData.

Definition at line 61 of file spectrogramplotdata.h.

virtual void PlotData::removeStaleData ( )
pure virtual
virtual void SeriesPlotData::removeStaleData ( )
inlinevirtual

Removes the old data from the buffer.

Implements PlotData.

Definition at line 83 of file scatterplotdata.h.

void TimeSeriesPlotData::removeStaleData ( )
virtual

TimeSeriesPlotData::removeStaleData Removes stale data from time series plot.

Implements PlotData.

Definition at line 214 of file scatterplotdata.cpp.

void HistogramScopeConfig::replaceHistogramDataSource ( QList< Plot2dCurveConfiguration * >  histogramSourceConfigs)

HistogramScopeConfig::replaceHistogramSource Replaces the list of histogram data sources.

Parameters
histogramSourceConfigs

Definition at line 209 of file histogramscopeconfig.cpp.

void Scatterplot2dScopeConfig::replaceScatterplotDataSource ( QList< Plot2dCurveConfiguration * >  scatterplotSourceConfigs)

Scatterplot2dScopeConfig::replaceScatterplotDataSource Replaces the list of scatterplot data sources.

Parameters
scatterplotSourceConfigs

Definition at line 210 of file scatterplotscopeconfig.cpp.

void SpectrogramScopeConfig::replaceSpectrogramDataSource ( QList< Plot3dCurveConfiguration * >  spectrogramSourceConfigs)

SpectrogramScopeConfig::replaceSpectrogramDataSource Replaces the list of spectrogram data sources.

Parameters
spectrogramSourceConfigs

Definition at line 200 of file spectrogramscopeconfig.cpp.

void ScopeGadgetConfiguration::saveConfig ( QSettings *  qSettings) const
virtual

ScopeGadgetConfiguration::saveConfig Saves a configuration. //REDEFINES saveConfig CHILD BEHAVIOR?

Parameters
qSettings

Reimplemented from Core::IUAVGadgetConfiguration.

Definition at line 169 of file scopegadgetconfiguration.cpp.

void HistogramScopeConfig::saveConfiguration ( QSettings *  qSettings)
virtual

HistogramScopeConfig::saveConfiguration Saves configuration to XML file.

Parameters
qSettings

Implements ScopeConfig.

Definition at line 173 of file histogramscopeconfig.cpp.

void Scatterplot2dScopeConfig::saveConfiguration ( QSettings *  qSettings)
virtual

Scatterplot2dScopeConfig::saveConfiguration Saves configuration to XML file.

Parameters
qSettings

Implements ScopeConfig.

Definition at line 174 of file scatterplotscopeconfig.cpp.

void SpectrogramScopeConfig::saveConfiguration ( QSettings *  qSettings)
virtual

SpectrogramScopeConfig::saveConfiguration Saves configuration to XML file.

Parameters
qSettings

Implements ScopeConfig.

Definition at line 161 of file spectrogramscopeconfig.cpp.

virtual void ScopeConfig::saveConfiguration ( QSettings *  qSettings)
pure virtual
Scatterplot2dScopeConfig::Scatterplot2dScopeConfig ( )

Scatterplot2dScopeConfig::Scatterplot2dScopeConfig Default constructor.

Definition at line 48 of file scatterplotscopeconfig.cpp.

Scatterplot2dScopeConfig::Scatterplot2dScopeConfig ( QSettings *  qSettings)

Scatterplot2dScopeConfig::Scatterplot2dScopeConfig Constructor using the XML settings.

Parameters
qSettingssettings XML object

Definition at line 59 of file scatterplotscopeconfig.cpp.

Scatterplot2dScopeConfig::Scatterplot2dScopeConfig ( Ui::ScopeGadgetOptionsPage *  options_page)

Scatterplot2dScopeConfig::Scatterplot2dScopeConfig Constructor using the GUI settings.

Parameters
options_pageGUI settings preference pane

Definition at line 90 of file scatterplotscopeconfig.cpp.

ScatterplotData::ScatterplotData ( QString  uavObject,
QString  uavField 
)
inline

Definition at line 45 of file scatterplotdata.h.

ScopeGadget::ScopeGadget ( QString  classId,
ScopeGadgetWidget widget,
QWidget *  parent = nullptr 
)

Definition at line 35 of file scopegadget.cpp.

ScopeGadgetConfiguration::ScopeGadgetConfiguration ( QString  classId,
QSettings *  qSettings = nullptr,
QObject *  parent = nullptr 
)
explicit

ScopeGadgetConfiguration::ScopeGadgetConfiguration Constructor for scope gadget settings.

Parameters
classId
qSettingsSettings file
parent

Definition at line 39 of file scopegadgetconfiguration.cpp.

ScopeGadgetFactory::ScopeGadgetFactory ( QObject *  parent = nullptr)

Definition at line 34 of file scopegadgetfactory.cpp.

ScopeGadgetOptionsPage::ScopeGadgetOptionsPage ( ScopeGadgetConfiguration config,
QObject *  parent = nullptr 
)
explicit

Definition at line 46 of file scopegadgetoptionspage.cpp.

ScopeGadgetWidget::ScopeGadgetWidget ( QWidget *  parent = nullptr)

Definition at line 67 of file scopegadgetwidget.cpp.

SeriesPlotData::SeriesPlotData ( QString  uavObject,
QString  uavField 
)
inline

Definition at line 69 of file scatterplotdata.h.

void HistogramScopeConfig::setBinWidth ( double  val)
inline

Definition at line 64 of file histogramscopeconfig.h.

void ScatterplotData::setCurve ( QwtPlotCurve *  val)
inline

Definition at line 55 of file scatterplotdata.h.

virtual void ScopeConfig::setGuiConfiguration ( Ui::ScopeGadgetOptionsPage *  )
pure virtual
void HistogramScopeConfig::setGuiConfiguration ( Ui::ScopeGadgetOptionsPage *  options_page)
virtual

HistogramScopeConfig::setGuiConfiguration Set the GUI elements based on values from the XML settings file.

Parameters
options_page

Implements ScopeConfig.

Definition at line 298 of file histogramscopeconfig.cpp.

void Scatterplot2dScopeConfig::setGuiConfiguration ( Ui::ScopeGadgetOptionsPage *  options_page)
virtual

Scatterplot2dScopeConfig::setGuiConfigurationSet the GUI elements based on values from the XML settings file.

Parameters
options_page

Implements ScopeConfig.

Definition at line 316 of file scatterplotscopeconfig.cpp.

void SpectrogramScopeConfig::setGuiConfiguration ( Ui::ScopeGadgetOptionsPage *  options_page)
virtual

SpectrogramScopeConfig::setGuiConfiguration Set the GUI elements based on values from the XML settings file.

Parameters
options_page

Implements ScopeConfig.

Definition at line 323 of file spectrogramscopeconfig.cpp.

void HistogramData::setHistogram ( QwtPlotHistogram *  val)
inline

Definition at line 58 of file histogramplotdata.h.

void PlotData::setMathFunction ( QString  val)
inline

Definition at line 58 of file plotdata.h.

void HistogramScopeConfig::setMaxNumberOfBins ( unsigned int  val)
inline

Definition at line 65 of file histogramscopeconfig.h.

void PlotData::setMeanSamples ( int  val)
inline

Definition at line 57 of file plotdata.h.

void ScopeConfig::setRefreshInterval ( int  val)
inline

Definition at line 67 of file scopesconfig.h.

void SpectrogramScopeConfig::setSamplingFrequency ( double  val)
inline

Definition at line 74 of file spectrogramscopeconfig.h.

void PlotData::setScalePower ( int  val)
inline

Definition at line 56 of file plotdata.h.

void Scatterplot2dScopeConfig::setScatterplot2dType ( Scatterplot2dType  val)
inline

Definition at line 73 of file scatterplotscopeconfig.h.

void ScopeGadgetWidget::setScope ( ScopeConfig val)
inline

Definition at line 93 of file scopegadgetwidget.h.

void ScopeGadgetWidget::setScopeName ( QString  val)
inline

Definition at line 106 of file scopegadgetwidget.h.

void SpectrogramData::setSpectrogram ( QwtPlotSpectrogram *  val)
inline

Definition at line 82 of file spectrogramplotdata.h.

void Scatterplot2dScopeConfig::setTimeHorizon ( double  val)
inline

Definition at line 72 of file scatterplotscopeconfig.h.

void SpectrogramScopeConfig::setTimeHorizon ( double  val)
inline

Definition at line 77 of file spectrogramscopeconfig.h.

virtual void Plot2dData::setUpdatedFlagToTrue ( )
inlinevirtual

Implements PlotData.

Definition at line 49 of file plotdata2d.h.

virtual void Plot3dData::setUpdatedFlagToTrue ( )
inlinevirtual

Implements PlotData.

Definition at line 57 of file plotdata3d.h.

virtual void PlotData::setUpdatedFlagToTrue ( )
pure virtual

Implemented in Plot3dData, and Plot2dData.

void SpectrogramScopeConfig::setWindowWidth ( unsigned int  val)
inline

Definition at line 76 of file spectrogramscopeconfig.h.

virtual void PlotData::setXMaximum ( double  val)
inlinevirtual

Reimplemented in SpectrogramData.

Definition at line 52 of file plotdata.h.

void SpectrogramData::setXMaximum ( double  val)
virtual

Reimplemented from PlotData.

Definition at line 83 of file spectrogramplotdata.cpp.

void PlotData::setXMinimum ( double  val)
inline

Definition at line 51 of file plotdata.h.

void PlotData::setXWindowSize ( double  val)
inline

Definition at line 55 of file plotdata.h.

void PlotData::setYMaximum ( double  val)
inline

Definition at line 54 of file plotdata.h.

void SpectrogramData::setYMaximum ( double  val)
virtual

Definition at line 90 of file spectrogramplotdata.cpp.

void PlotData::setYMinimum ( double  val)
inline

Definition at line 53 of file plotdata.h.

void Plot3dData::setZMaximum ( double  val)
inline

Definition at line 52 of file plotdata3d.h.

void SpectrogramScopeConfig::setZMaximum ( double  val)
inline

Definition at line 75 of file spectrogramscopeconfig.h.

void SpectrogramData::setZMaximum ( double  val)
virtual

Definition at line 97 of file spectrogramplotdata.cpp.

void Plot3dData::setZMinimum ( double  val)
inline

Definition at line 51 of file plotdata3d.h.

void ScopeGadgetWidget::showEvent ( QShowEvent *  event)
protected

ScopeGadgetWidget::showEvent Reimplemented from QwtPlot.

Parameters
event

Definition at line 427 of file scopegadgetwidget.cpp.

SpectrogramData::SpectrogramData ( QString  uavObject,
QString  uavField,
double  samplingFrequency,
unsigned int  windowWidth,
double  timeHorizon 
)

SpectrogramData.

Parameters
uavObject
uavField
samplingFrequency
windowWidth
timeHorizon

Definition at line 53 of file spectrogramplotdata.cpp.

SpectrogramScopeConfig::SpectrogramScopeConfig ( )

SpectrogramScopeConfig::SpectrogramScopeConfig Default constructor.

Definition at line 42 of file spectrogramscopeconfig.cpp.

SpectrogramScopeConfig::SpectrogramScopeConfig ( QSettings *  qSettings)

SpectrogramScopeConfig::SpectrogramScopeConfig Constructor using the XML settings.

Parameters
qSettingssettings XML object

Definition at line 58 of file spectrogramscopeconfig.cpp.

SpectrogramScopeConfig::SpectrogramScopeConfig ( Ui::ScopeGadgetOptionsPage *  options_page)

SpectrogramScopeConfig::SpectrogramScopeConfig Constructor using the GUI settings.

Parameters
options_pageGUI settings preference pane

Definition at line 92 of file spectrogramscopeconfig.cpp.

void ScopeGadgetWidget::startTimer ( int  refreshInterval)

ScopeGadgetWidget::startTimer Starts timer.

Parameters
refreshInterval

Definition at line 451 of file scopegadgetwidget.cpp.

TimeScaleDraw::TimeScaleDraw ( )
inline

Definition at line 65 of file scopegadgetwidget.h.

TimeSeriesPlotData::TimeSeriesPlotData ( QString  uavObject,
QString  uavField 
)
inline

Definition at line 95 of file scatterplotdata.h.

double PlotData::valueAsDouble ( UAVObject obj,
UAVObjectField field,
bool  haveSubField,
QString  uavSubFieldName 
)

valueAsDouble Fetch the value from the UAVO and return it as a double

Parameters
objUAVO
fieldUAVO field
haveSubFieldTRUE if UAVO has subfield. FALSE if not.
uavSubFieldNameUAVO subfield, if it exists
Returns

Definition at line 148 of file plotdata.cpp.

void ScopeGadgetWidget::wheelEvent ( QWheelEvent *  e)
protected

ScopeGadgetWidget::wheelEvent Zoom in or out, then pass mouse wheel event to QwtPlot.

Parameters
e

Definition at line 226 of file scopegadgetwidget.cpp.

QWidget* ScopeGadget::widget ( )
inlinevirtual

Implements Core::IUAVGadget.

Definition at line 52 of file scopegadget.h.

HistogramData::~HistogramData ( )
inline

Definition at line 48 of file histogramplotdata.h.

HistogramScopeConfig::~HistogramScopeConfig ( )

Definition at line 132 of file histogramscopeconfig.cpp.

Plot2dData::~Plot2dData ( )

Definition at line 116 of file plotdata.cpp.

Plot3dData::~Plot3dData ( )

Definition at line 126 of file plotdata.cpp.

Scatterplot2dScopeConfig::~Scatterplot2dScopeConfig ( )

Definition at line 132 of file scatterplotscopeconfig.cpp.

ScatterplotData::~ScatterplotData ( )
inline

Definition at line 50 of file scatterplotdata.h.

ScopeGadget::~ScopeGadget ( )

ScopeGadget::~ScopeGadget Scope gadget destructor: deletes the associated scope gadget widget too.

Definition at line 62 of file scopegadget.cpp.

ScopeGadgetConfiguration::~ScopeGadgetConfiguration ( )

ScopeGadgetConfiguration::~ScopeGadgetConfiguration Destructor clears 2D and 3D plot data.

Definition at line 148 of file scopegadgetconfiguration.cpp.

ScopeGadgetFactory::~ScopeGadgetFactory ( )

Definition at line 39 of file scopegadgetfactory.cpp.

ScopeGadgetWidget::~ScopeGadgetWidget ( )

ScopeGadgetWidget::~ScopeGadgetWidget Destructor.

Definition at line 99 of file scopegadgetwidget.cpp.

SeriesPlotData::~SeriesPlotData ( )
inline

Definition at line 73 of file scatterplotdata.h.

SpectrogramData::~SpectrogramData ( )
inline

Definition at line 51 of file spectrogramplotdata.h.

SpectrogramScopeConfig::~SpectrogramScopeConfig ( )

Definition at line 121 of file spectrogramscopeconfig.cpp.

TimeSeriesPlotData::~TimeSeriesPlotData ( )
inline

Definition at line 100 of file scatterplotdata.h.

Variable Documentation

QRgb Plot3dCurveConfiguration::color

Definition at line 42 of file scopes3dconfig.h.

QRgb Plot2dCurveConfiguration::color

Definition at line 42 of file scopes2dconfig.h.

int PlotData::correctionCount
protected

Definition at line 110 of file plotdata.h.

double PlotData::correctionSum
protected

Definition at line 109 of file plotdata.h.

QwtPlotCurve* ScatterplotData::curve
protected

Definition at line 58 of file scatterplotdata.h.

bool PlotData::haveSubField
protected

Definition at line 102 of file plotdata.h.

QwtPlotGrid* ScopeGadgetWidget::m_grid

Definition at line 104 of file scopegadgetwidget.h.

QwtLegend* ScopeGadgetWidget::m_legend

Definition at line 105 of file scopegadgetwidget.h.

PlotDimensions ScopeConfig::m_plotDimensions
protected

Definition at line 75 of file scopesconfig.h.

int ScopeConfig::m_refreshInterval
protected

Definition at line 73 of file scopesconfig.h.

double PlotData::m_xWindowSize
protected

Definition at line 93 of file plotdata.h.

QString Plot3dCurveConfiguration::mathFunction

Definition at line 44 of file scopes3dconfig.h.

QString Plot2dCurveConfiguration::mathFunction

Definition at line 44 of file scopes2dconfig.h.

QString PlotData::mathFunction
protected

Definition at line 106 of file plotdata.h.

unsigned int PlotData::meanSamples
protected

Definition at line 105 of file plotdata.h.

double PlotData::meanSum
protected

Definition at line 107 of file plotdata.h.

QwtScaleWidget* PlotData::rightAxis

Definition at line 87 of file plotdata.h.

int PlotData::scalePower
protected

Definition at line 104 of file plotdata.h.

QVector<double>* Plot3dData::timeDataHistory

Definition at line 49 of file plotdata3d.h.

QString Plot3dCurveConfiguration::uavFieldName

Definition at line 40 of file scopes3dconfig.h.

QString Plot2dCurveConfiguration::uavFieldName

Definition at line 40 of file scopes2dconfig.h.

QString PlotData::uavFieldName
protected

Definition at line 100 of file plotdata.h.

QString Plot3dCurveConfiguration::uavObjectName

Definition at line 39 of file scopes3dconfig.h.

QString Plot2dCurveConfiguration::uavObjectName

Definition at line 39 of file scopes2dconfig.h.

QString PlotData::uavObjectName
protected

Definition at line 99 of file plotdata.h.

QString PlotData::uavSubFieldName
protected

Definition at line 101 of file plotdata.h.

QVector<double>* PlotData::xData
protected

Definition at line 90 of file plotdata.h.

double PlotData::xMaximum
protected

Definition at line 95 of file plotdata.h.

double PlotData::xMinimum
protected

Definition at line 94 of file plotdata.h.

QVector<double>* PlotData::yData
protected

Definition at line 91 of file plotdata.h.

QVector<double>* Plot2dData::yDataHistory

Definition at line 47 of file plotdata2d.h.

double PlotData::yMaximum
protected

Definition at line 97 of file plotdata.h.

int Plot3dCurveConfiguration::yMeanSamples

Definition at line 43 of file scopes3dconfig.h.

unsigned int Plot2dCurveConfiguration::yMeanSamples

Definition at line 43 of file scopes2dconfig.h.

double PlotData::yMinimum
protected

Definition at line 96 of file plotdata.h.

int Plot2dCurveConfiguration::yScalePower

Definition at line 41 of file scopes2dconfig.h.

int Plot3dCurveConfiguration::yScalePower

Definition at line 41 of file scopes3dconfig.h.

QVector<double>* Plot3dData::zData

Definition at line 47 of file plotdata3d.h.

QVector<double>* Plot3dData::zDataHistory

Definition at line 48 of file plotdata3d.h.

double Plot3dData::zMaximum
protected

Definition at line 67 of file plotdata3d.h.

double Plot3dData::zMinimum
protected

Definition at line 66 of file plotdata3d.h.