Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyLayer.h @ 436:04711a2e12cd am-vsol-upgrade
fix crop + export photometric interpretation correctly
author | am@osimis.io |
---|---|
date | Thu, 06 Dec 2018 11:53:37 +0100 |
parents | 4eb96c6b4e96 |
children | a750f11892ec |
comparison
equal
deleted
inserted
replaced
435:e641d3978856 | 436:04711a2e12cd |
---|---|
57 void SetCrop(unsigned int x, | 57 void SetCrop(unsigned int x, |
58 unsigned int y, | 58 unsigned int y, |
59 unsigned int width, | 59 unsigned int width, |
60 unsigned int height) | 60 unsigned int height) |
61 { | 61 { |
62 hasCrop_ = true; | |
62 cropX_ = x; | 63 cropX_ = x; |
63 cropY_ = y; | 64 cropY_ = y; |
64 cropWidth_ = width; | 65 cropWidth_ = width; |
65 cropHeight_ = height; | 66 cropHeight_ = height; |
66 } | 67 } |