comparison Framework/Scene2D/FloatTextureSceneLayer.cpp @ 1297:6ab03e429f06 broker

integration mainline->broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 23 Feb 2020 15:32:24 +0100
parents 7ec8fea061b9 7def6ab2929f
children c38c89684d83
comparison
equal deleted inserted replaced
1281:68579a31eeb4 1297:6ab03e429f06
19 **/ 19 **/
20 20
21 21
22 #include "FloatTextureSceneLayer.h" 22 #include "FloatTextureSceneLayer.h"
23 23
24 #include "../Toolbox/ImageToolbox.h"
25
24 #include <Core/Images/Image.h> 26 #include <Core/Images/Image.h>
25 #include <Core/Images/ImageProcessing.h> 27 #include <Core/Images/ImageProcessing.h>
26 #include <Core/OrthancException.h> 28 #include <Core/OrthancException.h>
27 29
28 namespace OrthancStone 30 namespace OrthancStone
37 texture.GetWidth(), 39 texture.GetWidth(),
38 texture.GetHeight(), 40 texture.GetHeight(),
39 false)); 41 false));
40 42
41 Orthanc::ImageProcessing::Convert(*t, texture); 43 Orthanc::ImageProcessing::Convert(*t, texture);
44
42 SetTexture(t.release()); 45 SetTexture(t.release());
43 } 46 }
44 47
45 SetCustomWindowing(128, 256); 48 SetCustomWindowing(128, 256);
46 } 49 }