Mercurial > hg > orthanc-stone
comparison Framework/Volumes/VolumeReslicer.cpp @ 589:3080ec4ec6b9
removed enum value: ImageWindowing_Default
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 25 Apr 2019 14:00:55 +0200 |
parents | b70e9be013e4 |
children | 7719eb852dd5 |
comparison
equal
deleted
inserted
replaced
588:2a8ac2d426db | 589:3080ec4ec6b9 |
---|---|
653 void VolumeReslicer::SetWindowing(ImageWindowing windowing, | 653 void VolumeReslicer::SetWindowing(ImageWindowing windowing, |
654 const ImageBuffer3D& image, | 654 const ImageBuffer3D& image, |
655 float rescaleSlope, | 655 float rescaleSlope, |
656 float rescaleIntercept) | 656 float rescaleIntercept) |
657 { | 657 { |
658 if (windowing == ImageWindowing_Custom || | 658 if (windowing == ImageWindowing_Custom) |
659 windowing == ImageWindowing_Default) | |
660 { | 659 { |
661 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); | 660 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); |
662 } | 661 } |
663 | 662 |
664 float center, width; | 663 float center, width; |