dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
SpectrogramData Class Reference

The SpectrogramData class The spectrogram plot has a fixed size data buffer. All the curves in one plot have the same size buffer. More...

#include <spectrogramplotdata.h>

Inheritance diagram for SpectrogramData:
Plot3dData PlotData

Public Member Functions

 SpectrogramData (QString uavObject, QString uavField, double samplingFrequency, unsigned int windowWidth, double timeHorizon)
 SpectrogramData. More...
 
 ~SpectrogramData ()
 
bool append (UAVObject *obj)
 Append new data to the plot. More...
 
virtual void removeStaleData ()
 Removes the old data from the buffer. More...
 
double readAndResetAutoscaleValue ()
 readAndResetAutoscaleFlag reads the flag value and resets it More...
 
virtual void plotNewData (PlotData *, ScopeConfig *, ScopeGadgetWidget *)
 SpectrogramScopeConfig::plotNewData Update plot with new data. More...
 
virtual void deletePlots (PlotData *)
 SpectrogramScopeConfig::deletePlots Delete all plot data. More...
 
virtual void setXMaximum (double val)
 
virtual void setYMaximum (double val)
 
virtual void setZMaximum (double val)
 
void clearPlots ()
 SpectrogramScopeConfig::clearPlots Clear all plot data. More...
 
QwtMatrixRasterData * getRasterData ()
 
void setSpectrogram (QwtPlotSpectrogram *val)
 
- Public Member Functions inherited from Plot3dData
 Plot3dData (QString uavObject, QString uavField)
 Plot3dData::Plot3dData Default 3d constructor. More...
 
 ~Plot3dData ()
 
void setZMinimum (double val)
 
void setZMaximum (double val)
 
double getZMinimum ()
 
double getZMaximum ()
 
virtual void setUpdatedFlagToTrue ()
 
virtual bool readAndResetUpdatedFlag ()
 
- Public Member Functions inherited from PlotData
double valueAsDouble (UAVObject *obj, UAVObjectField *field, bool haveSubField, QString uavSubFieldName)
 valueAsDouble Fetch the value from the UAVO and return it as a double More...
 
void setXMinimum (double val)
 
void setYMinimum (double val)
 
void setYMaximum (double val)
 
void setXWindowSize (double val)
 
void setScalePower (int val)
 
void setMeanSamples (int val)
 
void setMathFunction (QString val)
 
double getXMinimum ()
 
double getXMaximum ()
 
double getYMinimum ()
 
double getYMaximum ()
 
double getXWindowSize ()
 
QString getUavoName ()
 
QString getUavoFieldName ()
 
QString getUavoSubFieldName ()
 
bool getHaveSubFieldFlag ()
 
int getScalePower ()
 
int getMeanSamples ()
 
QString getMathFunction ()
 
QVector< double > * getXData ()
 
QVector< double > * getYData ()
 

Additional Inherited Members

- Public Attributes inherited from Plot3dData
QVector< double > * zData
 
QVector< double > * zDataHistory
 
QVector< double > * timeDataHistory
 
- Public Attributes inherited from PlotData
QwtScaleWidget * rightAxis
 
- Protected Attributes inherited from Plot3dData
double zMinimum
 
double zMaximum
 
- Protected Attributes inherited from PlotData
QVector< double > * xData
 
QVector< double > * yData
 
double m_xWindowSize
 
double xMinimum
 
double xMaximum
 
double yMinimum
 
double yMaximum
 
QString uavObjectName
 
QString uavFieldName
 
QString uavSubFieldName
 
bool haveSubField
 
int scalePower
 
unsigned int meanSamples
 
QString mathFunction
 
double meanSum
 
double correctionSum
 
int correctionCount
 

Detailed Description

The SpectrogramData class The spectrogram plot has a fixed size data buffer. All the curves in one plot have the same size buffer.

Definition at line 45 of file spectrogramplotdata.h.


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