MNE-CPP
0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
src
libraries
disp
plots
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
64
namespace
DISPLIB
65
{
66
67
//=============================================================================================================
68
// DISPLIB FORWARD DECLARATIONS
69
//=============================================================================================================
70
71
//=============================================================================================================
77
class
DISPSHARED_EXPORT
Plot
:
public
Graph
78
{
79
Q_OBJECT
80
81
public
:
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
123
protected
:
124
//=========================================================================================================
130
void
paintEvent(QPaintEvent* event);
131
132
QList<QVector<QPointF> >
m_qListVecPointFPaths
;
134
bool
m_bHoldOn
;
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.h
Graph class declaration.
DISPSHARED_EXPORT
#define DISPSHARED_EXPORT
Definition
disp_global.h:55
DISPLIB::Graph
Base class for graphs.
Definition
graph.h:81
DISPLIB::Plot
Vector plot.
Definition
plot.h:78
DISPLIB::Plot::m_dMaxY
double m_dMaxY
Definition
plot.h:138
DISPLIB::Plot::ConstSPtr
QSharedPointer< const Plot > ConstSPtr
Definition
plot.h:83
DISPLIB::Plot::Plot
Plot(Eigen::VectorXd &p_dVec, QWidget *parent=0)
DISPLIB::Plot::m_dMaxX
double m_dMaxX
Definition
plot.h:136
DISPLIB::Plot::m_dMinX
double m_dMinX
Definition
plot.h:135
DISPLIB::Plot::m_qListVecPointFPaths
QList< QVector< QPointF > > m_qListVecPointFPaths
Definition
plot.h:132
DISPLIB::Plot::SPtr
QSharedPointer< Plot > SPtr
Definition
plot.h:82
DISPLIB::Plot::m_dMinY
double m_dMinY
Definition
plot.h:137
DISPLIB::Plot::m_bHoldOn
bool m_bHoldOn
Definition
plot.h:134
Generated on Sat Feb 14 2026 16:30:23 for MNE-CPP by
1.9.8