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

A Cloud of 3D features. More...

#include <IFeature3DCloud.h>

Inheritance diagram for DriveEngine::IFeature3DCloud:
DriveEngine::IDictionnary DriveEngine::ICollection IExportable DriveEngine::DefaultFeature3DCloud

Public Member Functions

virtual IFeature3DGetIFeature3D (const IMatch &match) const =0
 Gets a 3D feature. More...
 
virtual void Add (const IMatch &match, IFeature3D &feature)=0
 Adds a 3D feature. More...
 
virtual void Remove (const IMatch &match)=0
 Removes a 3D feature. More...
 
virtual const IMatchFindMatch (const IFeature3D &feature) const =0
 Searches for the origin match associated to a 3D feature. If no match is found, return a null reference. More...
 
- Public Member Functions inherited from DriveEngine::IDictionnary
virtual IExportableGetElement (const IExportable &key) const =0
 Gets an element. More...
 
virtual const IExportableGetConstElement (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 IEnumeratorGetEnumerator () const =0
 Gets an enumerator. More...
 
virtual IConstEnumeratorGetConstEnumerator () 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...
 

Detailed Description

A Cloud of 3D features.

Every 3D features is associated with its origin match.

Member Function Documentation

virtual void DriveEngine::IFeature3DCloud::Add ( const IMatch match,
IFeature3D feature 
)
pure virtual

Adds a 3D feature.

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

Parameters
matchThe origin match. The match must not be null.
featureThe 3D feature. The feature must not be null.
virtual const IMatch* DriveEngine::IFeature3DCloud::FindMatch ( const IFeature3D feature) const
pure virtual

Searches for the origin match associated to a 3D feature. If no match is found, return a null reference.

Parameters
featureThe 3D feature. The feature must not be null.
Returns
The found match, if found. Otherwise, returns nullptr.
virtual IFeature3D* DriveEngine::IFeature3DCloud::GetIFeature3D ( const IMatch match) const
pure virtual

Gets a 3D feature.

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

Parameters
matchThe origin match. The match must not be null.
Returns
The 3D feature, if found. Otherwise, returns nullptr.
virtual void DriveEngine::IFeature3DCloud::Remove ( const IMatch match)
pure virtual

Removes a 3D feature.

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

Parameters
matchThe origin match. The match must not be null.

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