Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyScene.cpp @ 1309:1f877e0846fe broker
Fixed some warnings + fixed build for C++03
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 04 Mar 2020 13:20:12 +0100 |
parents | 257f2c9a02ac |
children | 379c00958553 |
comparison
equal
deleted
inserted
replaced
1308:adf234ecaa00 | 1309:1f877e0846fe |
---|---|
713 AffineTransform2D::CreateOffset(-extent.GetX1(), -extent.GetY1())); | 713 AffineTransform2D::CreateOffset(-extent.GetX1(), -extent.GetY1())); |
714 | 714 |
715 // wipe background before rendering | 715 // wipe background before rendering |
716 if (GetPreferredPhotomotricDisplayMode() == RadiographyPhotometricDisplayMode_Monochrome1) | 716 if (GetPreferredPhotomotricDisplayMode() == RadiographyPhotometricDisplayMode_Monochrome1) |
717 { | 717 { |
718 Orthanc::ImageProcessing::Set(layers, 65535.0f); | 718 Orthanc::ImageProcessing::Set(layers, 65535); |
719 } | 719 } |
720 else | 720 else |
721 { | 721 { |
722 Orthanc::ImageProcessing::Set(layers, 0); | 722 Orthanc::ImageProcessing::Set(layers, 0); |
723 } | 723 } |