#include <BaseImageElement.h>
|
| BaseElement (const QString &id=QString()) |
| This class keeps an ID to keep track of transformed elements during a processing chain. You can e.g. generate Pixel elements from MserBlobs. After filtering, processing etc. you can map back to the (pixel accurate) MserBlob using this ID. More...
|
|
void | setId (const QString &id) |
| Sets the (preferably unique) ID. If no ID is set, a unqiue ID is generated and assigned. More...
|
|
QString | id () const |
| Returns the elment's id. More...
|
|
virtual QString | toString () const |
|
virtual void | scale (double factor) |
|
rdf::BaseElement::BaseElement |
( |
const QString & |
id = QString() | ) |
|
This class keeps an ID to keep track of transformed elements during a processing chain. You can e.g. generate Pixel elements from MserBlobs. After filtering, processing etc. you can map back to the (pixel accurate) MserBlob using this ID.
- Parameters
-
id | The identifier, if empty a new ID is generated. |
QString rdf::BaseElement::id |
( |
| ) |
const |
Returns the elment's id.
- Returns
void rdf::BaseElement::scale |
( |
double |
factor | ) |
|
|
virtual |
void rdf::BaseElement::setId |
( |
const QString & |
id | ) |
|
Sets the (preferably unique) ID. If no ID is set, a unqiue ID is generated and assigned.
- Parameters
-
QString rdf::BaseElement::toString |
( |
| ) |
const |
|
virtual |
Returns true if l and r do not have the same id.
- Parameters
-
l | An element to compare. |
r | An element to compare. |
- Returns
Returns true if l and r have the same id.
- Parameters
-
l | An element to compare. |
r | An element to compare. |
- Returns
QString rdf::BaseElement::mId |
|
protected |
The documentation for this class was generated from the following files: