MNE-CPP  beta 1.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BCIPlugin::BCIFeatureWindow Class Reference

The BCIFeatureWindow class provides a visualization tool for calculated features. More...

#include <bcifeaturewindow.h>

Inheritance diagram for BCIPlugin::BCIFeatureWindow:

Public Member Functions

 BCIFeatureWindow (BCI *pBCI, QWidget *parent=0)
 
 ~BCIFeatureWindow ()
 
void initGui ()
 

Protected Member Functions

double boundaryValue (double x)
 
void addBoundaryLineToScene ()
 
void paintFeaturesToScene (MyQList features, bool bTriggerActivated)
 

Protected Attributes

BCIm_pBCI
 
QGraphicsScene m_scene
 
double m_dFeatureMax
 
int m_iScale
 
Ui::BCIFeatureWindowClass ui
 

Detailed Description

The BCIFeatureWindow class provides a visualization tool for calculated features.

DECLARE CLASS BCIFeatureWindow

Definition at line 83 of file bcifeaturewindow.h.

Constructor & Destructor Documentation

BCIFeatureWindow::BCIFeatureWindow ( BCI pBCI,
QWidget *  parent = 0 
)

Constructs a BCIFeatureWindow which is a child of parent.

Parameters
[in]parentpointer to parent widget; If parent is 0, the new BCIFeatureWindow becomes a window. If parent is another widget, BCIFeatureWindow becomes a child window inside parent. BCIFeatureWindow is deleted when its parent is deleted.
[in]pBCIa pointer to the corresponding BCI.

Definition at line 56 of file bcifeaturewindow.cpp.

BCIFeatureWindow::~BCIFeatureWindow ( )

Destroys the BCIFeatureWindow. All BCIFeatureWindow's children are deleted first. The application exits if BCIFeatureWindow is the main widget.

Definition at line 73 of file bcifeaturewindow.cpp.

Member Function Documentation

void BCIFeatureWindow::initGui ( )

Initializes the BCI's GUI properties.

Definition at line 80 of file bcifeaturewindow.cpp.

Member Data Documentation

double BCIPlugin::BCIFeatureWindow::m_dFeatureMax
protected

Max value for featrues - Used to scale the QGraphicsView.

Definition at line 121 of file bcifeaturewindow.h.

int BCIPlugin::BCIFeatureWindow::m_iScale
protected

Scaling value.

Definition at line 122 of file bcifeaturewindow.h.

BCI* BCIPlugin::BCIFeatureWindow::m_pBCI
protected

a pointer to corresponding BCI.

Definition at line 118 of file bcifeaturewindow.h.

QGraphicsScene BCIPlugin::BCIFeatureWindow::m_scene
protected

QGraphicsScene used to add the features.

Definition at line 119 of file bcifeaturewindow.h.

Ui::BCIFeatureWindowClass BCIPlugin::BCIFeatureWindow::ui
protected

the user interface for the BCIFeatureWindow.

Definition at line 123 of file bcifeaturewindow.h.


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