MNE-CPP  beta 1.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DISPLIB::RtPlot Class Reference

Real-time plot. More...

#include <rtplot.h>

Inheritance diagram for DISPLIB::RtPlot:
DISPLIB::Graph

Public Types

typedef QSharedPointer< RtPlotSPtr
 
typedef QSharedPointer< const RtPlotConstSPtr
 

Public Member Functions

 RtPlot (QWidget *parent=0)
 
 RtPlot (VectorXd &p_dVec, QWidget *parent=0)
 
 ~RtPlot ()
 
void init ()
 
void updateData (VectorXd &p_dVec)
 
- Public Member Functions inherited from DISPLIB::Graph
 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 *)
 
- Protected Member Functions inherited from DISPLIB::Graph
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
 
- Protected Attributes inherited from DISPLIB::Graph
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
 

Detailed Description

Real-time plot.

Real-time plot

Definition at line 97 of file rtplot.h.

Member Typedef Documentation

typedef QSharedPointer<const RtPlot> DISPLIB::RtPlot::ConstSPtr

Const shared pointer type for MatrixView class.

Definition at line 102 of file rtplot.h.

typedef QSharedPointer<RtPlot> DISPLIB::RtPlot::SPtr

Shared pointer type for MatrixView class.

Definition at line 101 of file rtplot.h.

Constructor & Destructor Documentation

RtPlot::RtPlot ( QWidget *  parent = 0)
explicit

Creates the RtPlot.

Parameters
[in]parentParent QObject (optional)

Definition at line 67 of file rtplot.cpp.

RtPlot::RtPlot ( VectorXd &  p_dVec,
QWidget *  parent = 0 
)
explicit

Creates the real-time plot using a given double vector.

Parameters
[in]p_dVecThe double data vector
[in]parentParent QObject (optional)

Definition at line 77 of file rtplot.cpp.

RtPlot::~RtPlot ( )

Destructs the RtPlot object

Definition at line 88 of file rtplot.cpp.

Member Function Documentation

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.

Parameters
[in]p_dVecThe double data vector

Definition at line 112 of file rtplot.cpp.

Member Data Documentation

bool DISPLIB::RtPlot::m_bHoldOn
protected

If multiple plots

Definition at line 144 of file rtplot.h.

double DISPLIB::RtPlot::m_dMaxX
protected

Maximal X value

Definition at line 149 of file rtplot.h.

double DISPLIB::RtPlot::m_dMaxY
protected

Maximal Y value

Definition at line 151 of file rtplot.h.

double DISPLIB::RtPlot::m_dMinX
protected

Minimal X value

Definition at line 148 of file rtplot.h.

double DISPLIB::RtPlot::m_dMinY
protected

Minimal Y value

Definition at line 150 of file rtplot.h.


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