Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyLayer.h @ 876:580dd82e13f5 am-dev
added GetApproximateMemoryUsage
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 03 Jul 2019 10:15:29 +0200 |
parents | c237e0625065 |
children | b537002f83a9 35e798b16b65 |
comparison
equal
deleted
inserted
replaced
875:200b4e0dddfc | 876:580dd82e13f5 |
---|---|
353 | 353 |
354 virtual bool GetRange(float& minValue, | 354 virtual bool GetRange(float& minValue, |
355 float& maxValue) const = 0; | 355 float& maxValue) const = 0; |
356 | 356 |
357 friend class RadiographyMaskLayer; // because it needs to GetTransform on the dicomLayer it relates to | 357 friend class RadiographyMaskLayer; // because it needs to GetTransform on the dicomLayer it relates to |
358 | |
359 virtual size_t GetApproximateMemoryUsage() const // this is used to limit the number of scenes loaded in RAM when resources are limited (we actually only count the size used by the images, not the C structs) | |
360 { | |
361 return 0; | |
362 } | |
358 }; | 363 }; |
359 } | 364 } |