v2.0.0
Loading...
Searching...
No Matches
FSLIB::FsColortable Class Reference

Vertices label based lookup table. More...

#include <fs_colortable.h>

Public Types

typedef QSharedPointer< FsColortableSPtr
typedef QSharedPointer< const FsColortableConstSPtr

Public Member Functions

 FsColortable ()
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 73 of file fs_colortable.h.

Member Typedef Documentation

◆ ConstSPtr

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

Const shared pointer type for FsColortable.

Definition at line 77 of file fs_colortable.h.

◆ SPtr

typedef QSharedPointer<FsColortable> FSLIB::FsColortable::SPtr

Shared pointer type for FsColortable.

Definition at line 76 of file fs_colortable.h.

Constructor & Destructor Documentation

◆ FsColortable()

FsColortable::FsColortable ( )
explicit

Default constructor.

Definition at line 54 of file fs_colortable.cpp.

Member Function Documentation

◆ clear()

void FsColortable::clear ( )

Initializes colortable.

Definition at line 62 of file fs_colortable.cpp.

◆ getLabelIds()

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

Ids encoded in the colortable

Returns
ids.

Definition at line 126 of file fs_colortable.h.

◆ getNames()

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

Names encoded in the colortable

Returns
ids.

Definition at line 137 of file fs_colortable.h.

◆ getRGBAs()

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

RGBAs encoded in the colortable

Returns
RGBAs.

Definition at line 144 of file fs_colortable.h.

Member Data Documentation

◆ numEntries

qint32 FSLIB::FsColortable::numEntries

Number of entries.

Definition at line 117 of file fs_colortable.h.

◆ orig_tab

QString FSLIB::FsColortable::orig_tab

FsColortable raw data.

Definition at line 116 of file fs_colortable.h.

◆ struct_names

QStringList FSLIB::FsColortable::struct_names

Anatomical ROI description.

Definition at line 118 of file fs_colortable.h.

◆ table

Eigen::MatrixXi FSLIB::FsColortable::table

labels and corresponing colorcode.

Definition at line 119 of file fs_colortable.h.


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