Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographySceneReader.cpp @ 629:8d66efecd91c am-dev
rename
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 08 May 2019 16:38:25 +0200 |
parents | fd9b9d993fc7 |
children | 63982c8c294a |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographySceneReader.cpp Wed May 08 16:32:57 2019 +0200 +++ b/Framework/Radiography/RadiographySceneReader.cpp Wed May 08 16:38:25 2019 +0200 @@ -236,13 +236,13 @@ geometry.SetPixelSpacing(jsonLayer["pixelSpacing"]["x"].asDouble(), jsonLayer["pixelSpacing"]["y"].asDouble()); // these fields were introduced later -> they might not exist - if (jsonLayer.isMember("verticalFlip")) + if (jsonLayer.isMember("flipVertical")) { - geometry.SetVerticalFlip(jsonLayer["verticalFlip"].asBool()); + geometry.SetFlipVertical(jsonLayer["flipVertical"].asBool()); } - if (jsonLayer.isMember("horizontalFlip")) + if (jsonLayer.isMember("flipHorizontal")) { - geometry.SetHorizontalFlip(jsonLayer["horizontalFlip"].asBool()); + geometry.SetFlipHorizontal(jsonLayer["flipHorizontal"].asBool()); } }