Mercurial > hg > svcore
comparison base/Clipboard.h @ 1612:23a29e5dc0e9 single-point
Start implementing & testing PointSeries
author | Chris Cannam |
---|---|
date | Wed, 06 Mar 2019 16:24:23 +0000 |
parents | b2f32c554199 |
children | 24dc8cb42755 |
comparison
equal
deleted
inserted
replaced
1611:b2f32c554199 | 1612:23a29e5dc0e9 |
---|---|
24 { | 24 { |
25 public: | 25 public: |
26 Clipboard(); | 26 Clipboard(); |
27 ~Clipboard(); | 27 ~Clipboard(); |
28 | 28 |
29 typedef std::vector<Point> PointList; | |
30 | |
31 void clear(); | 29 void clear(); |
32 bool empty() const; | 30 bool empty() const; |
33 const PointList &getPoints() const; | 31 const PointVector &getPoints() const; |
34 void setPoints(const PointList &points); | 32 void setPoints(const PointVector &points); |
35 void addPoint(const Point &point); | 33 void addPoint(const Point &point); |
36 | 34 |
37 bool haveReferenceFrames() const; | 35 bool haveReferenceFrames() const; |
38 bool referenceFramesDiffer() const; | 36 bool referenceFramesDiffer() const; |
39 | 37 |
40 protected: | 38 protected: |
41 PointList m_points; | 39 PointVector m_points; |
42 }; | 40 }; |
43 | 41 |
44 #endif | 42 #endif |