MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
plot.h
Go to the documentation of this file.
1//=============================================================================================================
36#ifndef PLOT_H
37#define PLOT_H
38
39//=============================================================================================================
40// INCLUDES
41//=============================================================================================================
42
43#include "../disp_global.h"
44#include "graph.h"
45
46//=============================================================================================================
47// QT INCLUDES
48//=============================================================================================================
49
50//=============================================================================================================
51// EIGEN INCLUDES
52//=============================================================================================================
53
54#include <Eigen/Core>
55
56//=============================================================================================================
57// FORWARD DECLARATIONS
58//=============================================================================================================
59
60//=============================================================================================================
61// DEFINE NAMESPACE DISPLIB
62//=============================================================================================================
63
64namespace DISPLIB
65{
66
67//=============================================================================================================
68// DISPLIB FORWARD DECLARATIONS
69//=============================================================================================================
70
71//=============================================================================================================
78{
79 Q_OBJECT
80
81public:
82 typedef QSharedPointer<Plot> SPtr;
83 typedef QSharedPointer<const Plot> ConstSPtr;
85 //=========================================================================================================
91 explicit Plot(QWidget *parent = Q_NULLPTR);
92
93 //=========================================================================================================
100 explicit Plot(Eigen::VectorXd &p_dVec,
101 QWidget *parent = 0);
102
103 //=========================================================================================================
107 ~Plot();
108
109 //=========================================================================================================
113 void init();
114
115 //=========================================================================================================
121 void updateData(Eigen::VectorXd &p_dVec);
122
123protected:
124 //=========================================================================================================
130 void paintEvent(QPaintEvent* event);
131
132 QList<QVector<QPointF> > m_qListVecPointFPaths;
135 double m_dMinX;
136 double m_dMaxX;
137 double m_dMinY;
138 double m_dMaxY;
139};
140
141//=============================================================================================================
142// INLINE DEFINITIONS
143//=============================================================================================================
144} // NAMESPACE
145
146#endif // PLOT_H
Graph class declaration.
#define DISPSHARED_EXPORT
Definition disp_global.h:55
Base class for graphs.
Definition graph.h:81
Vector plot.
Definition plot.h:78
double m_dMaxY
Definition plot.h:138
QSharedPointer< const Plot > ConstSPtr
Definition plot.h:83
Plot(Eigen::VectorXd &p_dVec, QWidget *parent=0)
double m_dMaxX
Definition plot.h:136
double m_dMinX
Definition plot.h:135
QList< QVector< QPointF > > m_qListVecPointFPaths
Definition plot.h:132
QSharedPointer< Plot > SPtr
Definition plot.h:82
double m_dMinY
Definition plot.h:137
bool m_bHoldOn
Definition plot.h:134