Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/LookupTableTextureSceneLayer.h @ 1083:f72d1ab42932 broker
integration mainline->broker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Oct 2019 13:14:05 +0200 |
parents | 287ec78f63b4 |
children | 177e7d431cd1 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
1079:e6d2ff8f1ab4 | 1083:f72d1ab42932 |
---|---|
43 | 43 |
44 // The vector must contain either 3 * 256 values (RGB), or 4 * 256 | 44 // The vector must contain either 3 * 256 values (RGB), or 4 * 256 |
45 // (RGBA). In the RGB case, an alpha channel will be automatically added. | 45 // (RGBA). In the RGB case, an alpha channel will be automatically added. |
46 void SetLookupTable(const std::vector<uint8_t>& lut); | 46 void SetLookupTable(const std::vector<uint8_t>& lut); |
47 | 47 |
48 void SetLookupTable(const std::string& lut); | |
49 | |
50 void SetRange(float minValue, | 48 void SetRange(float minValue, |
51 float maxValue); | 49 float maxValue); |
52 | 50 |
53 void FitRange(); | 51 void FitRange(); |
54 | 52 |