comparison Framework/Radiography/RadiographyMaskLayer.cpp @ 481:159a465e27bd am-touch-events

reworked RadiographyScene export to export to an Orthanc::Image too
author am@osimis.io
date Thu, 14 Feb 2019 16:23:59 +0100
parents 2f6ecb5037ea
children aede9b042cb7
comparison
equal deleted inserted replaced
480:2f6ecb5037ea 481:159a465e27bd
66 bottom = std::max(p.y, bottom); 66 bottom = std::max(p.y, bottom);
67 top = std::min(p.y, top); 67 top = std::min(p.y, top);
68 } 68 }
69 } 69 }
70 70
71 std::string RadiographyMaskLayer::GetInstanceId() const
72 {
73 return dicomLayer_.GetInstanceId();
74 }
75
71 void RadiographyMaskLayer::SetCorner(const MaskPoint& corner, size_t index) 76 void RadiographyMaskLayer::SetCorner(const MaskPoint& corner, size_t index)
72 { 77 {
73 if (index < corners_.size()) 78 if (index < corners_.size())
74 corners_[index] = corner; 79 corners_[index] = corner;
75 else 80 else