Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyLayer.cpp @ 1330:a72c2c9af49a
minimal option for GetSceneExtent, especially for masks
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 30 Mar 2020 09:51:01 +0200 |
parents | d4e6cd35107b |
children | 379c00958553 |
comparison
equal
deleted
inserted
replaced
1321:d4e6cd35107b | 1330:a72c2c9af49a |
---|---|
236 { | 236 { |
237 BroadcastMessage(RadiographyLayer::LayerEditedMessage(*this)); | 237 BroadcastMessage(RadiographyLayer::LayerEditedMessage(*this)); |
238 } | 238 } |
239 } | 239 } |
240 | 240 |
241 Extent2D RadiographyLayer::GetSceneExtent() const | 241 Extent2D RadiographyLayer::GetSceneExtent(bool /*minimal*/) const |
242 { | 242 { |
243 Extent2D extent; | 243 Extent2D extent; |
244 | 244 |
245 unsigned int x, y, width, height; | 245 unsigned int x, y, width, height; |
246 GetCrop(x, y, width, height); | 246 GetCrop(x, y, width, height); |