comparison Framework/Layers/ColorFrameRenderer.cpp @ 77:f5f54ed8d307 wasm

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 May 2017 21:13:29 +0200
parents 28956ed68280
children 53025eecbc95
comparison
equal deleted inserted replaced
76:0aef120d7e1c 77:f5f54ed8d307
36 return display.release(); 36 return display.release();
37 } 37 }
38 38
39 39
40 ColorFrameRenderer::ColorFrameRenderer(Orthanc::ImageAccessor* frame, 40 ColorFrameRenderer::ColorFrameRenderer(Orthanc::ImageAccessor* frame,
41 const SliceGeometry& viewportSlice,
42 const SliceGeometry& frameSlice, 41 const SliceGeometry& frameSlice,
43 double pixelSpacingX, 42 double pixelSpacingX,
44 double pixelSpacingY, 43 double pixelSpacingY,
45 bool isFullQuality) : 44 bool isFullQuality) :
46 FrameRenderer(viewportSlice, frameSlice, pixelSpacingX, pixelSpacingY, isFullQuality), 45 FrameRenderer(frameSlice, pixelSpacingX, pixelSpacingY, isFullQuality),
47 frame_(frame) 46 frame_(frame)
48 { 47 {
49 if (frame == NULL) 48 if (frame == NULL)
50 { 49 {
51 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); 50 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange);