comparison Framework/Layers/GrayscaleFrameRenderer.cpp @ 516:11fa6f00e33c bgo-commands-codegen

Dummy changes (warnings, dummy dtor to check proper deletion, line wrapping) + fixes for AM changes (Corner renamed to ControlPoint...)
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 12 Mar 2019 08:51:15 +0100
parents b70e9be013e4
children 1201b12eb9f8
comparison
equal deleted inserted replaced
515:1dbf2d9ed1e4 516:11fa6f00e33c
119 double pixelSpacingX, 119 double pixelSpacingX,
120 double pixelSpacingY, 120 double pixelSpacingY,
121 bool isFullQuality) : 121 bool isFullQuality) :
122 FrameRenderer(framePlane, pixelSpacingX, pixelSpacingY, isFullQuality), 122 FrameRenderer(framePlane, pixelSpacingX, pixelSpacingY, isFullQuality),
123 frame_(Orthanc::Image::Clone(frame)), 123 frame_(Orthanc::Image::Clone(frame)),
124 defaultWindowCenter_(converter.GetDefaultWindowCenter()), 124 defaultWindowCenter_(static_cast<float>(converter.GetDefaultWindowCenter())),
125 defaultWindowWidth_(converter.GetDefaultWindowWidth()), 125 defaultWindowWidth_(static_cast<float>(converter.GetDefaultWindowWidth())),
126 photometric_(converter.GetPhotometricInterpretation()) 126 photometric_(converter.GetPhotometricInterpretation())
127 { 127 {
128 if (frame_.get() == NULL) 128 if (frame_.get() == NULL)
129 { 129 {
130 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); 130 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange);