MNE-CPP
beta 1.0
|
Real-time plot. More...
#include <rtplot.h>
Public Types | |
typedef QSharedPointer< RtPlot > | SPtr |
typedef QSharedPointer< const RtPlot > | ConstSPtr |
Public Member Functions | |
RtPlot (QWidget *parent=0) | |
RtPlot (VectorXd &p_dVec, QWidget *parent=0) | |
~RtPlot () | |
void | init () |
void | updateData (VectorXd &p_dVec) |
![]() | |
Graph (QWidget *parent=0) | |
void | init () |
void | setTitle (const QString &p_sTitle) |
void | setXLabel (const QString &p_sXLabel) |
void | setYLabel (const QString &p_sYLabel) |
Protected Member Functions | |
void | paintEvent (QPaintEvent *) |
![]() | |
void | resizeEvent (QResizeEvent *) |
void | drawLabels (qint32 p_iContentWidth, qint32 p_iContentHeight) |
Protected Attributes | |
bool | m_bHoldOn |
QList< QVector< QPointF > > | m_qListVecPointFPaths |
double | m_dMinX |
double | m_dMaxX |
double | m_dMinY |
double | m_dMaxY |
![]() | |
QSize | m_qSizeWidget |
QString | m_sTitle |
QFont | m_qFontTitle |
QPen | m_qPenTitle |
qint32 | m_iBorderTopBottom |
qint32 | m_iBorderLeftRight |
QString | m_sXLabel |
QString | m_sYLabel |
QFont | m_qFontAxes |
QPen | m_qPenAxes |
typedef QSharedPointer<const RtPlot> DISPLIB::RtPlot::ConstSPtr |
typedef QSharedPointer<RtPlot> DISPLIB::RtPlot::SPtr |
|
explicit |
Creates the RtPlot.
[in] | parent | Parent QObject (optional) |
Definition at line 67 of file rtplot.cpp.
|
explicit |
Creates the real-time plot using a given double vector.
[in] | p_dVec | The double data vector |
[in] | parent | Parent QObject (optional) |
Definition at line 77 of file rtplot.cpp.
RtPlot::~RtPlot | ( | ) |
Destructs the RtPlot object
Definition at line 88 of file rtplot.cpp.
void RtPlot::init | ( | ) |
Initializes the Plot object
Definition at line 96 of file rtplot.cpp.
void RtPlot::updateData | ( | VectorXd & | p_dVec | ) |
Updates the plot using a given double vector without given X data.
[in] | p_dVec | The double data vector |
Definition at line 112 of file rtplot.cpp.
|
protected |