Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/LookupTableStyleConfigurator.h @ 1471:28c64c246312
working on a shared library
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Jun 2020 12:57:54 +0200 |
parents | 7ec8fea061b9 |
children |
comparison
equal
deleted
inserted
replaced
1470:390b0c30ba19 | 1471:28c64c246312 |
---|---|
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "ILayerStyleConfigurator.h" | 24 #include "ILayerStyleConfigurator.h" |
25 | 25 |
26 #include <EmbeddedResources.h> | |
27 | |
28 namespace OrthancStone | 26 namespace OrthancStone |
29 { | 27 { |
30 /** | 28 /** |
31 This configurator supplies an API to set a display range and a LUT. | 29 This configurator supplies an API to set a display range and a LUT. |
32 */ | 30 */ |
41 float maxValue_; | 39 float maxValue_; |
42 bool applyLog_; | 40 bool applyLog_; |
43 | 41 |
44 public: | 42 public: |
45 LookupTableStyleConfigurator(); | 43 LookupTableStyleConfigurator(); |
46 | |
47 void SetLookupTable(Orthanc::EmbeddedResources::FileResourceId resource); | |
48 | 44 |
49 void SetLookupTable(const std::string& lut); | 45 void SetLookupTable(const std::string& lut); |
50 | 46 |
51 /** | 47 /** |
52 See the SetLookupTable(const std::vector<uint8_t>& lut) method in the | 48 See the SetLookupTable(const std::vector<uint8_t>& lut) method in the |