This class manages all labels loaded. It can be used to compare LabelInfo objects, and load them.
More...
#include <PixelLabel.h>
This class manages all labels loaded. It can be used to compare LabelInfo objects, and load them.
rdf::LabelManager::LabelManager |
( |
| ) |
|
void rdf::LabelManager::add |
( |
const LabelInfo & |
label | ) |
|
LabelInfo rdf::LabelManager::backgroundLabel |
( |
| ) |
const |
Returns the first label that is marked as background label.
- Returns
bool rdf::LabelManager::contains |
( |
const LabelInfo & |
label | ) |
const |
bool rdf::LabelManager::containsId |
( |
const LabelInfo & |
label | ) |
const |
void rdf::LabelManager::draw |
( |
QPainter & |
p | ) |
const |
LabelInfo rdf::LabelManager::find |
( |
const QString & |
str | ) |
const |
LabelInfo rdf::LabelManager::find |
( |
int |
id | ) |
const |
LabelManager rdf::LabelManager::fromJson |
( |
const QJsonObject & |
jo | ) |
|
|
static |
int rdf::LabelManager::indexOf |
( |
int |
id | ) |
const |
bool rdf::LabelManager::isEmpty |
( |
| ) |
const |
QString rdf::LabelManager::jsonKey |
( |
| ) |
|
|
static |
QVector< LabelInfo > rdf::LabelManager::labelInfos |
( |
| ) |
const |
LabelManager rdf::LabelManager::read |
( |
const QString & |
filePath | ) |
|
|
static |
int rdf::LabelManager::size |
( |
| ) |
const |
void rdf::LabelManager::toJson |
( |
QJsonObject & |
jo | ) |
const |
QString rdf::LabelManager::toString |
( |
| ) |
const |
QVector<LabelInfo> rdf::LabelManager::mLookups |
|
protected |
The documentation for this class was generated from the following files: