comparison Framework/Scene2D/LookupTableStyleConfigurator.cpp @ 1471:28c64c246312

working on a shared library
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Jun 2020 12:57:54 +0200
parents 30deba7bc8e2
children
comparison
equal deleted inserted replaced
1470:390b0c30ba19 1471:28c64c246312
40 revision_(0), 40 revision_(0),
41 hasLut_(false), 41 hasLut_(false),
42 hasRange_(false), 42 hasRange_(false),
43 applyLog_(false) 43 applyLog_(false)
44 { 44 {
45 }
46
47 void LookupTableStyleConfigurator::SetLookupTable(Orthanc::EmbeddedResources::FileResourceId resource)
48 {
49 hasLut_ = true;
50 std::string tmp;
51 Orthanc::EmbeddedResources::GetFileResource(tmp, resource);
52 SetLookupTable(tmp);
53 } 45 }
54 46
55 void LookupTableStyleConfigurator::SetLookupTable(const std::vector<uint8_t>& lut) 47 void LookupTableStyleConfigurator::SetLookupTable(const std::vector<uint8_t>& lut)
56 { 48 {
57 hasLut_ = true; 49 hasLut_ = true;