Files
comaps/drape_frontend/selection_shape_generator.hpp
Konstantin Pastbin e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00

35 lines
1.2 KiB
C++

#pragma once
#include "drape_frontend/render_node.hpp"
#include "drape_frontend/map_data_provider.hpp"
#include "drape_frontend/metaline_manager.hpp"
#include "drape/graphics_context.hpp"
#include "drape/pointers.hpp"
#include "indexer/feature_decl.hpp"
namespace dp
{
class TextureManager;
} // namespace dp
namespace df
{
class SelectionShapeGenerator
{
public:
static drape_ptr<RenderNode> GenerateSelectionMarker(ref_ptr<dp::GraphicsContext> context,
ref_ptr<dp::TextureManager> mng);
static drape_ptr<RenderNode> GenerateTrackSelectionMarker(ref_ptr<dp::GraphicsContext> context,
ref_ptr<dp::TextureManager> mng);
static drape_ptr<RenderNode> GenerateSelectionGeometry(ref_ptr<dp::GraphicsContext> context,
FeatureID const & feature,
ref_ptr<dp::TextureManager> mng,
ref_ptr<MetalineManager> metalineMng,
MapDataProvider & mapDataProvider);
};
} // namespace df