Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Toolbox/DicomStructureSetUtils.h @ 1896:b3c08e607d9f
simplified signature of DicomStructureSet::ProjectStructure()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 Jan 2022 17:19:37 +0100 |
parents | 14c8f339d480 |
children |
comparison
equal
deleted
inserted
replaced
1895:14c8f339d480 | 1896:b3c08e607d9f |
---|---|
47 /** Internal */ | 47 /** Internal */ |
48 void PartitionRectangleList(std::vector< std::vector<size_t> > & sets, const std::vector<RtStructRectanglesInSlab>); | 48 void PartitionRectangleList(std::vector< std::vector<size_t> > & sets, const std::vector<RtStructRectanglesInSlab>); |
49 #endif | 49 #endif |
50 | 50 |
51 /** Internal */ | 51 /** Internal */ |
52 void ConvertListOfSlabsToSegments(std::vector< std::pair<ScenePoint2D, ScenePoint2D> >& segments, const std::vector<RtStructRectanglesInSlab>& slabCuts, const size_t totalRectCount); | 52 void ConvertListOfSlabsToSegments(std::vector< std::pair<ScenePoint2D, ScenePoint2D> >& segments, |
53 const std::vector<RtStructRectanglesInSlab>& slabCuts, | |
54 const size_t totalRectCount); | |
53 | 55 |
54 /** Internal */ | 56 /** Internal */ |
55 void AddSlabBoundaries(std::vector<std::pair<double, RectangleBoundaryKind> >& boundaries, const std::vector<RtStructRectanglesInSlab>& slabCuts, size_t iSlab); | 57 void AddSlabBoundaries(std::vector<std::pair<double, RectangleBoundaryKind> >& boundaries, |
58 const std::vector<RtStructRectanglesInSlab>& slabCuts, | |
59 size_t iSlab); | |
56 | 60 |
57 /** Internal */ | 61 /** Internal */ |
58 void ProcessBoundaryList(std::vector< std::pair<ScenePoint2D, ScenePoint2D> >& segments, const std::vector<std::pair<double, RectangleBoundaryKind> >& boundaries, double y); | 62 void ProcessBoundaryList(std::vector< std::pair<ScenePoint2D, ScenePoint2D> >& segments, |
63 const std::vector<std::pair<double, RectangleBoundaryKind> >& boundaries, | |
64 double y); | |
59 | 65 |
60 } | 66 } |