Drive Engine  1.0.0
Plateforme de reconstruction 3D
IPosition2DList.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/IPosition2D.h"
8 
9 namespace DriveEngine
10 {
18  class IPosition2DList : 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 IPosition2D* GetIPosition2D(Index index) const = 0;
56 
66  virtual void Add(IPosition2D &position) = 0;
67 
80  virtual void Remove(IPosition2D &position) = 0;
81  };
82 }
The image datatype interface.
Definition: IImage.h:22
Interface of list of 2D position for a specific image.
Definition: IPosition2DList.h:18
The 2D position datatype interface.
Definition: IPosition2D.h:20
virtual void SetSourceImage(const IImage &image)=0
Sets the source image
Definition: DefaultCalibrationInfoList.h:12
The list interface.
Definition: IList.h:17
virtual IPosition2D * GetIPosition2D(Index index) const =0
Gets the 2D position.
virtual void Remove(IPosition2D &position)=0
Removes a 2D position, if it exist in the list. Otherwise, do nothing.
virtual const IImage * GetSourceImage() const =0
Gets the source image, if any.
virtual void Add(IPosition2D &position)=0
Adds a 2D position.