ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
landmark.hpp
1// This file is part of the ACTS project.
2//
3// Copyright (C) 2016 CERN for the benefit of the ACTS project
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9#pragma once
10
11// Project include(s)
12#include "detray/plugins/svgtools/meta/proto/landmark.hpp"
13#include "detray/plugins/svgtools/styling/styling.hpp"
14
15namespace detray::svgtools::conversion {
16
18template <concepts::point3D point3_t>
19inline auto landmark(const point3_t& position,
20 const styling::landmark_style& style =
22 using p_landmark_t = svgtools::meta::proto::landmark<point3_t>;
23
24 p_landmark_t p_lm;
25 p_lm._position = position;
26
27 svgtools::styling::apply_style(p_lm, style);
28
29 return p_lm;
30}
31
32} // namespace detray::svgtools::conversion
const styling::landmark_style landmark_style
Default style for trajectory landmarks.
Definition styling.hpp:253