Mercurial > hg > orthanc-stone
comparison Framework/StoneEnumerations.h @ 589:3080ec4ec6b9
removed enum value: ImageWindowing_Default
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 25 Apr 2019 14:00:55 +0200 |
parents | 1201b12eb9f8 |
children | 2eeb5857eb43 |
comparison
equal
deleted
inserted
replaced
588:2a8ac2d426db | 589:3080ec4ec6b9 |
---|---|
32 SliceOffsetMode_Loop | 32 SliceOffsetMode_Loop |
33 }; | 33 }; |
34 | 34 |
35 enum ImageWindowing | 35 enum ImageWindowing |
36 { | 36 { |
37 ImageWindowing_Default, | |
38 ImageWindowing_Bone, | 37 ImageWindowing_Bone, |
39 ImageWindowing_Lung, | 38 ImageWindowing_Lung, |
40 ImageWindowing_Custom | 39 ImageWindowing_Custom |
41 }; | 40 }; |
42 | 41 |
197 const std::string& source); | 196 const std::string& source); |
198 | 197 |
199 void ComputeWindowing(float& targetCenter, | 198 void ComputeWindowing(float& targetCenter, |
200 float& targetWidth, | 199 float& targetWidth, |
201 ImageWindowing windowing, | 200 ImageWindowing windowing, |
202 float defaultCenter, | 201 float customCenter, |
203 float defaultWidth); | 202 float customWidth); |
204 | 203 |
205 void ComputeAnchorTranslation(double& deltaX /* out */, | 204 void ComputeAnchorTranslation(double& deltaX /* out */, |
206 double& deltaY /* out */, | 205 double& deltaY /* out */, |
207 BitmapAnchor anchor, | 206 BitmapAnchor anchor, |
208 unsigned int bitmapWidth, | 207 unsigned int bitmapWidth, |