Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/Internals/OpenGLFloatTextureRenderer.h @ 914:4d1f57773b5b
Added image inversion support in GrayscaleStyleConfigurator + OpenGLFloatTextureProgram
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 19 Jul 2019 10:54:03 +0200 |
parents | 6e888cf6a48b |
children | 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
913:2b4b6b86520a | 914:4d1f57773b5b |
---|---|
36 OpenGLFloatTextureProgram& program_; | 36 OpenGLFloatTextureProgram& program_; |
37 std::auto_ptr<OpenGLFloatTextureProgram::Data> texture_; | 37 std::auto_ptr<OpenGLFloatTextureProgram::Data> texture_; |
38 AffineTransform2D layerTransform_; | 38 AffineTransform2D layerTransform_; |
39 float windowCenter_; | 39 float windowCenter_; |
40 float windowWidth_; | 40 float windowWidth_; |
41 bool invert_; | |
41 | 42 |
42 void UpdateInternal(const FloatTextureSceneLayer& layer, | 43 void UpdateInternal(const FloatTextureSceneLayer& layer, |
43 bool loadTexture); | 44 bool loadTexture); |
44 | 45 |
45 public: | 46 public: |