Draw a radial. This needs some cleanup, and some MVP matrix tweaking.

This commit is contained in:
Dan Paulat 2021-07-15 22:32:53 -05:00
parent ace3aeb460
commit 516983ab09
10 changed files with 506 additions and 4 deletions

View file

@ -0,0 +1,31 @@
#include <qmapboxgl.hpp>
namespace scwx
{
namespace qt
{
class RadarLayerImpl;
class RadarLayer : public QMapbox::CustomLayerHostInterface
{
public:
explicit RadarLayer();
~RadarLayer();
RadarLayer(const RadarLayer&) = delete;
RadarLayer& operator=(const RadarLayer&) = delete;
RadarLayer(RadarLayer&&) noexcept;
RadarLayer& operator=(RadarLayer&&) noexcept;
void initialize() override final;
void render(const QMapbox::CustomLayerRenderParameters&) override final;
void deinitialize() override final;
private:
std::unique_ptr<RadarLayerImpl> p;
};
} // namespace qt
} // namespace scwx