MNE-CPP  beta 1.0
Public Types | Public Member Functions | List of all members
DISP3DLIB::ClustStcModel Class Reference

Table model which prepares source estimate information. More...

#include <cluststcmodel.h>

Inheritance diagram for DISP3DLIB::ClustStcModel:

Public Types

typedef QSharedPointer< ClustStcModelSPtr
 
typedef QSharedPointer< const ClustStcModelConstSPtr
 

Public Member Functions

 ClustStcModel (QObject *parent=0)
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
 
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (int row, int column, int role=Qt::DisplayRole) const
 
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
void addData (const MNESourceEstimate &stc)
 
void init (const AnnotationSet &annotationSet, const SurfaceSet &surfSet)
 
QVector3D getMin () const
 
QVector3D getMax () const
 
void setAverage (qint32 samples)
 
void setLoop (bool looping)
 
void setNormalization (qint32 fraction)
 
void setStcSample (const VectorXd &sample)
 
void setVertLabelIDs (const VectorXi &vertLabelIDs)
 

Detailed Description

Table model which prepares source estimate information.

Source estimation informations are provided in a table. They can be accessed via data(row, col).

Definition at line 105 of file cluststcmodel.h.

Member Typedef Documentation

typedef QSharedPointer<const ClustStcModel> DISP3DLIB::ClustStcModel::ConstSPtr

Const shared pointer type for ClustStcModel class.

Definition at line 110 of file cluststcmodel.h.

Shared pointer type for ClustStcModel class.

Definition at line 109 of file cluststcmodel.h.

Member Function Documentation

QVariant DISP3DLIB::ClustStcModel::data ( int  row,
int  column,
int  role = Qt::DisplayRole 
) const
inline

Data for the row and column and given display role

Parameters
[in]rowindex row
[in]columnindex column
[in]roledisplay role to access
Returns
the accessed data

Definition at line 196 of file cluststcmodel.h.


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