MNE-CPP  beta 0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
GLWidget Class Reference
Inheritance diagram for GLWidget:

Public Member Functions

 GLWidget (QWidget *parent=0)
 
QSize minimumSizeHint () const
 
QSize sizeHint () const
 
void drawLines (float *samples, int row, int col, int wise_type, QVector< float > x, QVector< float > y, float w, float h)
 
void drawOneLine (float *samples, int row, int col, int wise_type, int chanIndx, float x, float y, float w, float h)
 
void SetGLView (float xleft, float xright, float ydown, float ytop)
 
void drawBoxes (QVector< float > x, QVector< float > y, float w, float h)
 
void SetXYScales (float xCoordScale, float yCoordScale)
 
void SetOnset (float ons)
 
void SetVScale (float v)
 
void SetBoxMode (bool boxmode)
 
void SetLabelMode (bool labelmode)
 
void SetLabels (QList< QString > labels, QVector< float > x, QVector< float > y)
 
void DrawLabels ()
 

Public Attributes

int NumLines
 
int NumBoxes
 
float VScale
 
float Onset
 
bool NeedBox
 
bool NeedLabel
 
float xCoordScale
 
float yCoordScale
 
float xl
 
float xr
 
float yt
 
float yd
 
QList< QString > mlabels
 
QVector< float > mx
 
QVector< float > my
 
bool DragMode
 

Protected Member Functions

void initializeGL ()
 
void paintGL ()
 
void resizeGL (int width, int height)
 
void mousePressEvent (QMouseEvent *event)
 
void mouseMoveEvent (QMouseEvent *event)
 
void mouseReleaseEvent (QMouseEvent *event)
 

Detailed Description

Definition at line 7 of file glwidget.h.


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