comparison Framework/Scene2D/PolylineSceneLayer.h @ 632:500c3f70b6c2

- Added a ClearAllChains method to PolylineSceneLayer --> revision must change when calling it ==> BumpRevision has been added to base class - Added some docs = Added GetMinDepth + GetMaxDepth to Scene2D (to alleviate the need for app- specific "Z depth registry" : clients may simply add a new layer on top or at the bottom of the existing layer set. - Added the line tracker measurement tools, commands and trackers. Generic base classes + Line measure - started work on the line measure handles
author Benjamin Golinvaux <bgo@osimis.io>
date Thu, 09 May 2019 10:41:31 +0200
parents 434ceeb0bcab
children 61ba4b504e9a
comparison
equal deleted inserted replaced
618:0925b27e8750 632:500c3f70b6c2
58 void Reserve(size_t countChains); 58 void Reserve(size_t countChains);
59 59
60 void AddChain(const Chain& chain, 60 void AddChain(const Chain& chain,
61 bool isClosed); 61 bool isClosed);
62 62
63 void ClearAllChains();
64
63 size_t GetChainsCount() const 65 size_t GetChainsCount() const
64 { 66 {
65 return chains_.size(); 67 return chains_.size();
66 } 68 }
67 69
73 { 75 {
74 return Type_Polyline; 76 return Type_Polyline;
75 } 77 }
76 78
77 virtual bool GetBoundingBox(Extent2D& target) const; 79 virtual bool GetBoundingBox(Extent2D& target) const;
78 80
79 virtual uint64_t GetRevision() const
80 {
81 return 0;
82 }
83 }; 81 };
84 } 82 }