Drive Engine  1.0.0
Plateforme de reconstruction 3D
DriveEngine::DefaultFeature2D Class Reference
Inheritance diagram for DriveEngine::DefaultFeature2D:
DriveEngine::IFeature2D DriveEngine::IDatatype IExportable

Public Member Functions

 CONSTRUCTOR_H (IFeature2D, DefaultFeature2D)
 Default constructor. More...
 
 DESTRUCTOR_H (DefaultFeature2D)
 
virtual const IPosition2DGetPosition2D () const
 Gets the position. More...
 
virtual const IDescriptorGetDescriptor () const
 Gets the descriptor. More...
 
virtual void SetPostion2D (const IPosition2D &position)
 Sets the position. More...
 
virtual void SetDescriptor (const IDescriptor &descriptor)
 Sets the descriptor. More...
 
- Public Member Functions inherited from IExportable
virtual void Delete () const =0
 Deletes the current object. Needed for memory management. More...
 

Member Function Documentation

DriveEngine::DefaultFeature2D::CONSTRUCTOR_H ( IFeature2D  ,
DefaultFeature2D   
)

Default constructor.

Exception safety : No-throw guarantee. This member function never throws exceptions.

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

Implements DriveEngine::IFeature2D.

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

Implements DriveEngine::IFeature2D.

void DefaultFeature2D::SetDescriptor ( const IDescriptor descriptor)
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.

Implements DriveEngine::IFeature2D.

void DefaultFeature2D::SetPostion2D ( const IPosition2D position)
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.

Implements DriveEngine::IFeature2D.


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