Ilwis-Objects  1.0
GIS and Remote Sensing framework for data access and processing
 All Classes Functions Enumerations Pages
ctpgeoreference.h
1 #ifndef CTPGEOREFERENCE_H
2 #define CTPGEOREFERENCE_H
3 
4 namespace Ilwis {
5 
6 
7 
8 class KERNELSHARED_EXPORT CTPGeoReference : public GeoRefImplementation
9 {
10 public:
11  CTPGeoReference(const QString &type);
12  bool isValid() const;
13  ControlPoint& controlPoint(quint32 index);
14  quint32 nrControlPoints() const;
15  qint32 index(const Pixel& pix) const;
16  qint32 index(const Coordinate& crd) const;
17  qint32 setControlPoint(const ControlPoint &pnt);
18  bool compute();
19 
20 private:
21  std::vector<ControlPoint> _controlPoints;
22  ControlPoint _invalidCP;
23 };
24 }
25 
26 #endif // CTPGEOREFERENCE_H