comparison Applications/Samples/SingleVolumeApplication.h @ 147:f48c5d422d45 wasm

removed meaningless ImageInterpolation_Linear value
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 23 Jan 2018 17:50:19 +0100
parents e2fe9352f240
children 6b0411ac843a
comparison
equal deleted inserted replaced
146:fb7d602e7025 147:f48c5d422d45
193 { 193 {
194 RenderStyle s; 194 RenderStyle s;
195 s.alpha_ = 1; 195 s.alpha_ = 1;
196 s.applyLut_ = true; 196 s.applyLut_ = true;
197 s.lut_ = Orthanc::EmbeddedResources::COLORMAP_JET; 197 s.lut_ = Orthanc::EmbeddedResources::COLORMAP_JET;
198 s.interpolation_ = ImageInterpolation_Linear; 198 s.interpolation_ = ImageInterpolation_Bilinear;
199 widget->SetLayerStyle(0, s); 199 widget->SetLayerStyle(0, s);
200 } 200 }
201 #else 201 #else
202 std::auto_ptr<OrthancVolumeImage> ct(new OrthancVolumeImage(context.GetWebService(), false)); 202 std::auto_ptr<OrthancVolumeImage> ct(new OrthancVolumeImage(context.GetWebService(), false));
203 //ct->ScheduleLoadSeries("dd069910-4f090474-7d2bba07-e5c10783-f9e4fb1d"); 203 //ct->ScheduleLoadSeries("dd069910-4f090474-7d2bba07-e5c10783-f9e4fb1d");
239 //s.drawGrid_ = true; 239 //s.drawGrid_ = true;
240 s.SetColor(255, 0, 0); // Draw missing PET layer in red 240 s.SetColor(255, 0, 0); // Draw missing PET layer in red
241 s.alpha_ = 0.5; 241 s.alpha_ = 0.5;
242 s.applyLut_ = true; 242 s.applyLut_ = true;
243 s.lut_ = Orthanc::EmbeddedResources::COLORMAP_JET; 243 s.lut_ = Orthanc::EmbeddedResources::COLORMAP_JET;
244 s.interpolation_ = ImageInterpolation_Linear; 244 s.interpolation_ = ImageInterpolation_Bilinear;
245 s.windowing_ = ImageWindowing_Custom; 245 s.windowing_ = ImageWindowing_Custom;
246 s.customWindowCenter_ = 0; 246 s.customWindowCenter_ = 0;
247 s.customWindowWidth_ = 128; 247 s.customWindowWidth_ = 128;
248 widget->SetLayerStyle(1, s); 248 widget->SetLayerStyle(1, s);
249 } 249 }