Mercurial > hg > orthanc-stone
comparison Framework/Loaders/DicomStructureSetLoader.cpp @ 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 | 29f5f2031310 |
comparison
equal
deleted
inserted
replaced
1005:7e861cfd142d | 1006:4f28d9459e31 |
---|---|
241 | 241 |
242 for (size_t i = 0; i < content_.GetStructuresCount(); i++) | 242 for (size_t i = 0; i < content_.GetStructuresCount(); i++) |
243 { | 243 { |
244 const Color& color = content_.GetStructureColor(i); | 244 const Color& color = content_.GetStructureColor(i); |
245 | 245 |
246 #ifdef USE_OLD_SJO_CUT_CODE | 246 #ifdef USE_BOOST_UNION_FOR_POLYGONS |
247 std::vector< std::vector<Point2D> > polygons; | 247 std::vector< std::vector<Point2D> > polygons; |
248 | 248 |
249 if (content_.ProjectStructure(polygons, i, cuttingPlane)) | 249 if (content_.ProjectStructure(polygons, i, cuttingPlane)) |
250 { | 250 { |
251 for (size_t j = 0; j < polygons.size(); j++) | 251 for (size_t j = 0; j < polygons.size(); j++) |