|
Read@CVL
|
This class is used for mapping classes (e.g. handwriting, decoration) More...
#include <PixelLabel.h>
Public Types | |
| enum | DefaultLabels { label_unknown = 0, label_end } |
Public Member Functions | |
| LabelInfo (int id=label_unknown, const QString &mName=QString()) | |
| bool | operator== (const LabelInfo &l1) const |
| bool | operator!= (const LabelInfo &l1) const |
| bool | isNull () const |
| bool | contains (const QString &key) const |
| int | id () const |
| QString | name () const |
| QColor | color () const |
| QColor | visColor () const |
| bool | isBackground () const |
| QString | toString () const |
| void | toJson (QJsonObject &jo) const |
Static Public Member Functions | |
| static LabelInfo | fromString (const QString &str) |
| static LabelInfo | fromJson (const QJsonObject &jo) |
| static QString | jsonKey () |
| static int | color2Id (const QColor &col) |
| static LabelInfo | unknownLabel () |
Protected Attributes | |
| int | mId = label_unknown |
| bool | mIsBackground = false |
| QString | mName = "unknown" |
| QStringList | mAlias |
| QColor | mVisColor = ColorManager::darkGray() |
Friends | |
| DllCoreExport friend QDataStream & | operator<< (QDataStream &s, const LabelInfo &v) |
| DllCoreExport friend QDebug | operator<< (QDebug d, const LabelInfo &v) |
This class is used for mapping classes (e.g. handwriting, decoration)
| rdf::LabelInfo::LabelInfo | ( | int | id = label_unknown, |
| const QString & | mName = QString() |
||
| ) |
| QColor rdf::LabelInfo::color | ( | ) | const |
|
static |
| bool rdf::LabelInfo::contains | ( | const QString & | key | ) | const |
|
static |
|
static |
| int rdf::LabelInfo::id | ( | ) | const |
| bool rdf::LabelInfo::isBackground | ( | ) | const |
| bool rdf::LabelInfo::isNull | ( | ) | const |
|
static |
| QString rdf::LabelInfo::name | ( | ) | const |
| bool rdf::LabelInfo::operator!= | ( | const LabelInfo & | l1 | ) | const |
| bool rdf::LabelInfo::operator== | ( | const LabelInfo & | l1 | ) | const |
| void rdf::LabelInfo::toJson | ( | QJsonObject & | jo | ) | const |
| QString rdf::LabelInfo::toString | ( | ) | const |
|
static |
| QColor rdf::LabelInfo::visColor | ( | ) | const |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |