Drive Engine  1.0.0
Plateforme de reconstruction 3D
IFeature2DList.h
1 // Copyright (c) 2015. All rights reserved to DriveEngine Team.
2 
3 #pragma once
4 
5 #include "IList.h"
6 #include "Datatypes/IImage.h"
7 #include "Datatypes/IFeature2D.h"
8 
9 namespace DriveEngine
10 {
18  class IFeature2DList : public IList
19  {
20  public:
21 
32  virtual const IImage* GetSourceImage() const = 0;
33 
42  virtual void SetSourceImage(const IImage& image) = 0;
43 
55  virtual IFeature2D* GetIFeature2D(Index index) const = 0;
56 
66  virtual void Add(IFeature2D &feature) = 0;
67 
80  virtual void Remove(IFeature2D &feature) = 0;
81  };
82 }
Interface of list of 2D feature for a specific image.
Definition: IFeature2DList.h:18
The 2D feature datatype interface.
Definition: IFeature2D.h:22
The image datatype interface.
Definition: IImage.h:22
virtual void SetSourceImage(const IImage &image)=0
Sets the source image
virtual void Add(IFeature2D &feature)=0
Adds a 2D feature.
virtual const IImage * GetSourceImage() const =0
Gets the source image, if any.
Definition: DefaultCalibrationInfoList.h:12
The list interface.
Definition: IList.h:17
virtual void Remove(IFeature2D &feature)=0
Removes a 2D feature, if it exist in the list. Otherwise, do nothing.
virtual IFeature2D * GetIFeature2D(Index index) const =0
Gets the 2D feature.