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

The calibration info list interface. More...

#include <ICalibrationInfoList.h>

Inheritance diagram for DriveEngine::ICalibrationInfoList:
DriveEngine::IDictionnary DriveEngine::ICollection IExportable DriveEngine::DefaultCalibrationInfoList

Public Member Functions

virtual ICalibrationInfoGetICalibrationInfo (const IImage &image) const =0
 Gets the calibaration info for an image. More...
 
virtual double * GetFundamentalMatrix (const IImage &firstImage, const IImage &secondImage) const =0
 Gets a 4 by 4 fundamental matrix. More...
 
virtual void AddFundamentalMatrix (const IImage &firstImage, const IImage &secondImage, double(&fundamentalMatrix)[16])=0
 Adds an element of a fundamental matrix. More...
 
virtual void Add (const IImage &image, ICalibrationInfo &calibrationInfo)=0
 Add an element to list. More...
 
virtual void Remove (const IImage &image)=0
 Remove an element from list. 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

The calibration info list interface.

Member Function Documentation

virtual void DriveEngine::ICalibrationInfoList::Add ( const IImage image,
ICalibrationInfo calibrationInfo 
)
pure virtual

Add an element to list.

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

Parameters
imageThe image. It must be not null.
calibrationInfoThe calibration info. It must be not null.
virtual void DriveEngine::ICalibrationInfoList::AddFundamentalMatrix ( const IImage firstImage,
const IImage secondImage,
double(&)  fundamentalMatrix[16] 
)
pure virtual

Adds an element of a fundamental matrix.

A calibration info object cantains a callection of fundamental matrixes, one for each pair of images.

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

Parameters
firstImageFirst image of the pair.
secondImageSecond image of the pair.
fundamentalMatrixThe fundamental matrix.

Implemented in DriveEngine::DefaultCalibrationInfoList.

virtual double* DriveEngine::ICalibrationInfoList::GetFundamentalMatrix ( const IImage firstImage,
const IImage secondImage 
) const
pure virtual

Gets a 4 by 4 fundamental matrix.

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

Parameters
firstImageThe first image of the pair.
secondImageThe second image of the pair.
Returns
The fundamental matrix.

Implemented in DriveEngine::DefaultCalibrationInfoList.

virtual ICalibrationInfo* DriveEngine::ICalibrationInfoList::GetICalibrationInfo ( const IImage image) const
pure virtual

Gets the calibaration info for an image.

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

Parameters
imageThe image associated with the calibration info. It must be non null.
Returns
The calibration info. On error, returns nullptr.
virtual void DriveEngine::ICalibrationInfoList::Remove ( const IImage image)
pure virtual

Remove an element from list.

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

Parameters
imageThe image associated with the camera matrix. It must be not null.

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