Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographySceneWriter.cpp @ 629:8d66efecd91c am-dev
rename
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 08 May 2019 16:38:25 +0200 |
parents | fd9b9d993fc7 |
children | 0c5398c3b994 |
comparison
equal
deleted
inserted
replaced
628:84af39146e76 | 629:8d66efecd91c |
---|---|
130 pan["x"] = geometry.GetPixelSpacingX(); | 130 pan["x"] = geometry.GetPixelSpacingX(); |
131 pan["y"] = geometry.GetPixelSpacingY(); | 131 pan["y"] = geometry.GetPixelSpacingY(); |
132 output["pixelSpacing"] = pan; | 132 output["pixelSpacing"] = pan; |
133 } | 133 } |
134 | 134 |
135 output["verticalFlip"] = geometry.GetVerticalFlip(); | 135 output["flipVertical"] = geometry.GetFlipVertical(); |
136 output["horizontalFlip"] = geometry.GetHorizontalFlip(); | 136 output["flipHorizontal"] = geometry.GetHorizontalVertical(); |
137 | 137 |
138 if (dynamic_cast<const RadiographyTextLayer*>(&layer) != NULL) | 138 if (dynamic_cast<const RadiographyTextLayer*>(&layer) != NULL) |
139 { | 139 { |
140 WriteLayer(output, dynamic_cast<const RadiographyTextLayer&>(layer)); | 140 WriteLayer(output, dynamic_cast<const RadiographyTextLayer&>(layer)); |
141 } | 141 } |