comparison Framework/Layers/GrayscaleFrameRenderer.cpp @ 394:17d54c028805

rename ILayerRenderer::GetLayerSlice() to GetLayerPlane()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 10 Nov 2018 08:44:18 +0100
parents 814fa32e2fcc
children b70e9be013e4
comparison
equal deleted inserted replaced
393:e7a494bdd956 394:17d54c028805
113 } 113 }
114 114
115 115
116 GrayscaleFrameRenderer::GrayscaleFrameRenderer(const Orthanc::ImageAccessor& frame, 116 GrayscaleFrameRenderer::GrayscaleFrameRenderer(const Orthanc::ImageAccessor& frame,
117 const DicomFrameConverter& converter, 117 const DicomFrameConverter& converter,
118 const CoordinateSystem3D& frameSlice, 118 const CoordinateSystem3D& framePlane,
119 double pixelSpacingX, 119 double pixelSpacingX,
120 double pixelSpacingY, 120 double pixelSpacingY,
121 bool isFullQuality) : 121 bool isFullQuality) :
122 FrameRenderer(frameSlice, 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_(converter.GetDefaultWindowCenter()),
125 defaultWindowWidth_(converter.GetDefaultWindowWidth()), 125 defaultWindowWidth_(converter.GetDefaultWindowWidth()),
126 photometric_(converter.GetPhotometricInterpretation()) 126 photometric_(converter.GetPhotometricInterpretation())
127 { 127 {