46 #include <QStringList>
47 #include <QSharedPointer>
71 using namespace Eigen;
82 typedef QSharedPointer<Colortable>
SPtr;
103 inline VectorXi getLabelIds()
const;
111 inline QStringList getNames()
const;
119 inline MatrixX4i getRGBAs()
const;
136 if (table.cols() == 5)
137 p_vecIds = table.block(0,4,table.rows(),1);
155 MatrixX4i p_matRGBAs;
156 if (table.cols() == 5)
157 p_matRGBAs = table.block(0,0,table.rows(),4);
165 #endif // COLORTABLE_H
QSharedPointer< Colortable > SPtr
VectorXi getLabelIds() const
MatrixX4i getRGBAs() const
Vertices label based lookup table.
QSharedPointer< const Colortable > ConstSPtr
QStringList getNames() const