diff Framework/Toolbox/DicomStructureSet.h @ 1006:4f28d9459e31 toa2019092001

Fixed unit tests and deprecated classes according to last API changes. UT all run ok.
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 20 Sep 2019 12:13:10 +0200
parents 50e5acf5553b
children 709aa65aca17 2d8ab34c8c91
line wrap: on
line diff
--- a/Framework/Toolbox/DicomStructureSet.h	Fri Sep 20 12:01:20 2019 +0200
+++ b/Framework/Toolbox/DicomStructureSet.h	Fri Sep 20 12:13:10 2019 +0200
@@ -26,7 +26,7 @@
 #include "Extent2D.h"
 #include "../Scene2D/Color.h"
 
-//#define USE_OLD_SJO_CUT_CODE 1
+//#define USE_BOOST_UNION_FOR_POLYGONS 1
 
 #include <Plugins/Samples/Common/FullOrthancDataset.h>
 
@@ -141,7 +141,7 @@
 
     Structure& GetStructure(size_t index);
   
-#ifdef USE_OLD_SJO_CUT_CODE 
+#ifdef USE_BOOST_UNION_FOR_POLYGONS 
     bool ProjectStructure(std::vector< std::vector<Point2D> >& polygons,
                           const Structure& structure,
                           const CoordinateSystem3D& slice) const;
@@ -185,7 +185,7 @@
 
     Vector GetNormal() const;
 
-#ifdef USE_OLD_SJO_CUT_CODE 
+#ifdef USE_BOOST_UNION_FOR_POLYGONS 
     bool ProjectStructure(std::vector< std::vector<Point2D> >& polygons,
       size_t index,
       const CoordinateSystem3D& slice) const