![]() |
Drive Engine
1.0.0
Plateforme de reconstruction 3D
|
The match interface. More...
#include <IMatch.h>
Public Member Functions | |
| virtual const IFeature2D * | GetIFeature2D (const IImage &image) const =0 |
| Get the feature from an image, if any. More... | |
| virtual void | Add (const IImage &image, IFeature2D &feature)=0 |
| Add a feature to the match. More... | |
| virtual void | Remove (const IImage &image)=0 |
| Remove a feature to the match. More... | |
Public Member Functions inherited from DriveEngine::IDictionnary | |
| virtual IExportable * | GetElement (const IExportable &key) const =0 |
| Gets an element. More... | |
| virtual const IExportable * | GetConstElement (const IExportable &key) const =0 |
| Gets a constant element. More... | |
| virtual void | Add (const IExportable &key, IExportable &element)=0 |
| Adds an element. More... | |
| virtual void | Remove (const IExportable &key)=0 |
| Removes an element, if found. Oterwise, nothing is done. More... | |
| virtual void | AddDictionnary (const IDictionnary &dictionnary)=0 |
| Adds every element from an other dictionnary. More... | |
| virtual void | RemoveDictionnary (const IDictionnary &dictionnary)=0 |
| Removes every element common to an other dictionnary. More... | |
Public Member Functions inherited from DriveEngine::ICollection | |
| virtual Size | GetSize () const =0 |
| Gets the size, that is the number of elements contained in the collection. More... | |
| virtual bool | IsEmpty () const =0 |
| Verify if the collection is empty. More... | |
| virtual IEnumerator * | GetEnumerator () const =0 |
| Gets an enumerator. More... | |
| virtual IConstEnumerator * | GetConstEnumerator () const =0 |
| Gets a constant enumerator. More... | |
| virtual void | Clear ()=0 |
| Remove every element contained in the collection. More... | |
Public Member Functions inherited from IExportable | |
| virtual void | Delete () const =0 |
| Deletes the current object. Needed for memory management. More... | |
The match interface.
A match links features from different images that represents the same element. Logically, they could be at most one feature in an image that represent the same element.
|
pure virtual |
Add a feature to the match.
Exception safety : Strong exception safety. This member function throws exceptions.
| image | The source image of the feature. It must not be null. |
| feature | The feature. It must not be null. |
|
pure virtual |
Get the feature from an image, if any.
Exception safety : Strong exception safety. This member function throws exceptions.
| image | The image. It must not be null. |
|
pure virtual |
Remove a feature to the match.
If the feature is not found, do nothing.
Exception safety : Strong exception safety. This member function throws exceptions.
| image | The source image of the feature. It must not be null. |