diff 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
line wrap: on
line diff
--- a/Framework/Scene2D/PolylineSceneLayer.h	Thu May 02 18:58:46 2019 +0200
+++ b/Framework/Scene2D/PolylineSceneLayer.h	Thu May 09 10:41:31 2019 +0200
@@ -60,6 +60,8 @@
     void AddChain(const Chain& chain,
                   bool isClosed);
 
+    void ClearAllChains();
+
     size_t GetChainsCount() const
     {
       return chains_.size();
@@ -75,10 +77,6 @@
     }
 
     virtual bool GetBoundingBox(Extent2D& target) const;
-    
-    virtual uint64_t GetRevision() const
-    {
-      return 0;
-    }
+   
   };
 }