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

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

#include <stcdatamodel.h>

Inheritance diagram for DISP3DNEWLIB::StcDataModel:

Public Types

typedef QSharedPointer< StcDataModelSPtr
 
typedef QSharedPointer< const StcDataModelConstSPtr
 

Public Member Functions

 StcDataModel (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 QString &subject_id, qint32 hemi, const QString &surf, const QString &subjects_dir, const QString &atlas, const MNEForwardSolution &forwardSolution)
 
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)
 
VectorXd smoothEstimates (int niter, int hemi) const
 

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 127 of file stcdatamodel.h.

Member Typedef Documentation

typedef QSharedPointer<const StcDataModel> DISP3DNEWLIB::StcDataModel::ConstSPtr

Const shared pointer type for StcDataModel class.

Definition at line 132 of file stcdatamodel.h.

Shared pointer type for StcDataModel class.

Definition at line 131 of file stcdatamodel.h.

Member Function Documentation

QVariant DISP3DNEWLIB::StcDataModel::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 218 of file stcdatamodel.h.


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