mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 13:20:04 +00:00
Provide access to color table from radar product view
This commit is contained in:
parent
03f08d54f1
commit
9bb3e175f2
5 changed files with 13 additions and 0 deletions
|
|
@ -163,6 +163,11 @@ boost::asio::thread_pool& Level2ProductView::thread_pool()
|
|||
return p->threadPool_;
|
||||
}
|
||||
|
||||
std::shared_ptr<common::ColorTable> Level2ProductView::color_table() const
|
||||
{
|
||||
return p->colorTable_;
|
||||
}
|
||||
|
||||
const std::vector<boost::gil::rgba8_pixel_t>&
|
||||
Level2ProductView::color_table_lut() const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ public:
|
|||
std::shared_ptr<manager::RadarProductManager> radarProductManager);
|
||||
~Level2ProductView();
|
||||
|
||||
std::shared_ptr<common::ColorTable> color_table() const override;
|
||||
const std::vector<boost::gil::rgba8_pixel_t>&
|
||||
color_table_lut() const override;
|
||||
std::uint16_t color_table_min() const override;
|
||||
|
|
|
|||
|
|
@ -96,6 +96,11 @@ void Level3ProductView::DisconnectRadarProductManager()
|
|||
nullptr);
|
||||
}
|
||||
|
||||
std::shared_ptr<common::ColorTable> Level3ProductView::color_table() const
|
||||
{
|
||||
return p->colorTable_;
|
||||
}
|
||||
|
||||
const std::vector<boost::gil::rgba8_pixel_t>&
|
||||
Level3ProductView::color_table_lut() const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ public:
|
|||
std::shared_ptr<manager::RadarProductManager> radarProductManager);
|
||||
virtual ~Level3ProductView();
|
||||
|
||||
std::shared_ptr<common::ColorTable> color_table() const override;
|
||||
const std::vector<boost::gil::rgba8_pixel_t>&
|
||||
color_table_lut() const override;
|
||||
std::uint16_t color_table_min() const override;
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ public:
|
|||
std::shared_ptr<manager::RadarProductManager> radarProductManager);
|
||||
virtual ~RadarProductView();
|
||||
|
||||
virtual std::shared_ptr<common::ColorTable> color_table() const = 0;
|
||||
virtual const std::vector<boost::gil::rgba8_pixel_t>&
|
||||
color_table_lut() const;
|
||||
virtual std::uint16_t color_table_min() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue