Drive Engine
1.0.0
Plateforme de reconstruction 3D
|
The 2D feature datatype interface. More...
#include <IFeature2D.h>
Public Member Functions | |
virtual const IPosition2D * | GetPosition2D () const =0 |
Gets the position. More... | |
virtual const IDescriptor * | GetDescriptor () const =0 |
Gets the descriptor. More... | |
virtual void | SetPostion2D (const IPosition2D &position)=0 |
Sets the position. More... | |
virtual void | SetDescriptor (const IDescriptor &descriptor)=0 |
Sets the descriptor. More... | |
Public Member Functions inherited from IExportable | |
virtual void | Delete () const =0 |
Deletes the current object. Needed for memory management. More... | |
The 2D feature datatype interface.
It minimally contain a position and a descriptor.
The position and descriptor must be associated to the same point/feature on image.
|
pure virtual |
Gets the descriptor.
Each feature has a descriptor to describe itself. This descriptor is extracted by an extraction algorithme and is linked to the position of this feature. It contains various informations about the feature that could help to match them.
Exception safety : No-throw guarantee. This member function never throws exceptions.
Implemented in DriveEngine::DefaultFeature2D.
|
pure virtual |
Gets the position.
Each feature has a IPosition2D indicating the position on image of the curent feature.
Exception safety : No-throw guarantee. This member function never throws exceptions.
Implemented in DriveEngine::DefaultFeature2D.
|
pure virtual |
Sets the descriptor.
Exception safety : Strong exception safety. This member function throws exceptions.
descriptor | The descriptor of the feature. It must not be null. |
Implemented in DriveEngine::DefaultFeature2D.
|
pure virtual |
Sets the position.
Exception safety : Strong exception safety. This member function throws exceptions.
position | The position of the feature. It must not be null. |
Implemented in DriveEngine::DefaultFeature2D.