mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:00:06 +00:00
Use common data level functions when generating color table lut
This commit is contained in:
parent
8921c08f4f
commit
36f8f73b0f
3 changed files with 20 additions and 29 deletions
|
|
@ -72,6 +72,7 @@ public:
|
|||
units::angle::degrees<double> elevation() const;
|
||||
|
||||
bool IsCompressionEnabled() const;
|
||||
bool IsDataLevelCoded() const;
|
||||
|
||||
size_t data_size() const override;
|
||||
|
||||
|
|
|
|||
|
|
@ -633,6 +633,11 @@ bool ProductDescriptionBlock::IsCompressionEnabled() const
|
|||
return isCompressed;
|
||||
}
|
||||
|
||||
bool ProductDescriptionBlock::IsDataLevelCoded() const
|
||||
{
|
||||
return !uncodedDataLevelProducts_.contains(p->productCode_);
|
||||
}
|
||||
|
||||
size_t ProductDescriptionBlock::data_size() const
|
||||
{
|
||||
return SIZE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue