Drive Engine  1.0.0
Plateforme de reconstruction 3D
DriveEngine::IFeature2D Class Referenceabstract

The 2D feature datatype interface. More...

#include <IFeature2D.h>

Inheritance diagram for DriveEngine::IFeature2D:
DriveEngine::IDatatype IExportable DriveEngine::DefaultFeature2D

Public Member Functions

virtual const IPosition2DGetPosition2D () const =0
 Gets the position. More...
 
virtual const IDescriptorGetDescriptor () 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...
 

Detailed Description

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.

Member Function Documentation

virtual const IDescriptor* DriveEngine::IFeature2D::GetDescriptor ( ) const
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.

Returns
Returns the descriptor. If the descriptor has not been initialized, it returns nullptr.

Implemented in DriveEngine::DefaultFeature2D.

virtual const IPosition2D* DriveEngine::IFeature2D::GetPosition2D ( ) const
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.

Returns
Returns the position. If the position has not been initialized, it returns nullptr.

Implemented in DriveEngine::DefaultFeature2D.

virtual void DriveEngine::IFeature2D::SetDescriptor ( const IDescriptor descriptor)
pure virtual

Sets the descriptor.

Exception safety : Strong exception safety. This member function throws exceptions.

Parameters
descriptorThe descriptor of the feature. It must not be null.

Implemented in DriveEngine::DefaultFeature2D.

virtual void DriveEngine::IFeature2D::SetPostion2D ( const IPosition2D position)
pure virtual

Sets the position.

Exception safety : Strong exception safety. This member function throws exceptions.

Parameters
positionThe position of the feature. It must not be null.

Implemented in DriveEngine::DefaultFeature2D.


The documentation for this class was generated from the following file: