comparison Framework/Scene2D/LookupTableTextureSceneLayer.h @ 1080:287ec78f63b4

GenericToolbox (fast c-string --> double or integer) + refactoring to be able to set structures lut into configurator + fixed missing revision bump in configurator + UT
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 21 Oct 2019 16:01:29 +0200
parents 4ba8892870a2
children 177e7d431cd1 2d8ab34c8c91
comparison
equal deleted inserted replaced
1072:391fb6d6905d 1080:287ec78f63b4
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