MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Public Attributes | List of all members
FSLIB::Colortable Class Reference

Vertices label based lookup table. More...

#include <colortable.h>

Public Types

typedef QSharedPointer< ColortableSPtr
 
typedef QSharedPointer< const ColortableConstSPtr
 

Public Member Functions

 Colortable ()
 
void clear ()
 
Eigen::VectorXi getLabelIds () const
 
QStringList getNames () const
 
Eigen::MatrixX4i getRGBAs () const
 

Public Attributes

QString orig_tab
 
qint32 numEntries
 
QStringList struct_names
 
Eigen::MatrixXi table
 

Detailed Description

Vertices label based lookup table.

Vertices label based lookup table containing colorcodes and anatomical names

Definition at line 67 of file colortable.h.

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const Colortable> FSLIB::Colortable::ConstSPtr

Const shared pointer type for Colortable.

Definition at line 71 of file colortable.h.

◆ SPtr

typedef QSharedPointer<Colortable> FSLIB::Colortable::SPtr

Shared pointer type for Colortable.

Definition at line 70 of file colortable.h.

Constructor & Destructor Documentation

◆ Colortable()

Colortable::Colortable ( )
explicit

Default constructor.

Definition at line 54 of file colortable.cpp.

Member Function Documentation

◆ clear()

void Colortable::clear ( )

Initializes colortable.

Definition at line 62 of file colortable.cpp.

◆ getLabelIds()

Eigen::VectorXi FSLIB::Colortable::getLabelIds ( ) const
inline

Ids encoded in the colortable

Returns
ids.

Definition at line 120 of file colortable.h.

◆ getNames()

QStringList FSLIB::Colortable::getNames ( ) const
inline

Names encoded in the colortable

Returns
ids.

Definition at line 131 of file colortable.h.

◆ getRGBAs()

Eigen::MatrixX4i FSLIB::Colortable::getRGBAs ( ) const
inline

RGBAs encoded in the colortable

Returns
RGBAs.

Definition at line 138 of file colortable.h.

Member Data Documentation

◆ numEntries

qint32 FSLIB::Colortable::numEntries

Number of entries.

Definition at line 111 of file colortable.h.

◆ orig_tab

QString FSLIB::Colortable::orig_tab

Colortable raw data.

Definition at line 110 of file colortable.h.

◆ struct_names

QStringList FSLIB::Colortable::struct_names

Anatomical ROI description.

Definition at line 112 of file colortable.h.

◆ table

Eigen::MatrixXi FSLIB::Colortable::table

labels and corresponing colorcode.

Definition at line 113 of file colortable.h.


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