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/algebra/concepts.hpp"
13
14// Actsvg include(s)
15#include "actsvg/core.hpp"
16
17// System include(s)
18#include <string>
19
20namespace detray::svgtools::meta::proto {
21
24template <concepts::point3D point3_t>
25struct landmark {
27 point3_t _position{0.f, 0.f, 0.f};
29 std::string _name{"unknown landmark"};
31 actsvg::style::marker _marker{"x", 1.f};
32};
33
34} // namespace detray::svgtools::meta::proto
A proto landmark class as a simple translation layer from a description of a point.
Definition landmark.hpp:25
actsvg::style::marker _marker
SVG marker style used to draw the point.
Definition landmark.hpp:31
point3_t _position
Global position represented by the landmark.
Definition landmark.hpp:27
std::string _name
Label displayed with the landmark.
Definition landmark.hpp:29