diff options
Diffstat (limited to 'openlr/openlr_match_quality/openlr_assessment_tool/traffic_drawer_delegate_base.hpp')
-rw-r--r-- | openlr/openlr_match_quality/openlr_assessment_tool/traffic_drawer_delegate_base.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/openlr/openlr_match_quality/openlr_assessment_tool/traffic_drawer_delegate_base.hpp b/openlr/openlr_match_quality/openlr_assessment_tool/traffic_drawer_delegate_base.hpp new file mode 100644 index 0000000000..f35c465b86 --- /dev/null +++ b/openlr/openlr_match_quality/openlr_assessment_tool/traffic_drawer_delegate_base.hpp @@ -0,0 +1,22 @@ +#pragma once + +#include <geometry/point2d.hpp> + +/// 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; +}; |