mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 06:03:45 +00:00
Skeleton without any traff functionality so far Contains some obsolete code, commented out with #ifdef openlr_obsolete Signed-off-by: mvglasow <michael -at- vonglasow.com>
26 lines
760 B
C++
26 lines
760 B
C++
#pragma once
|
|
|
|
#include <geometry/point2d.hpp>
|
|
|
|
namespace traffxml
|
|
{
|
|
/// This class is used to delegate segments drawing to the DrapeEngine.
|
|
class TrafficDrawerDelegateBase
|
|
{
|
|
public:
|
|
virtual ~TrafficDrawerDelegateBase() = default;
|
|
|
|
virtual void SetViewportCenter(m2::PointD const & center) = 0;
|
|
|
|
virtual void DrawDecodedSegments(std::vector<m2::PointD> const & points) = 0;
|
|
virtual void DrawEncodedSegment(std::vector<m2::PointD> const & points) = 0;
|
|
virtual void DrawGoldenPath(std::vector<m2::PointD> const & points) = 0;
|
|
|
|
virtual void ClearGoldenPath() = 0;
|
|
virtual void ClearAllPaths() = 0;
|
|
|
|
virtual void VisualizePoints(std::vector<m2::PointD> const & points) = 0;
|
|
virtual void ClearAllVisualizedPoints() = 0;
|
|
};
|
|
} // namespace traffxml
|